public class DocumentStatistic extends Object
DocumentStatistic
feature specifies the statistics about
the document.Constructor and Description |
---|
DocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor of
DocumentStatistic feature. |
Modifier and Type | Method and Description |
---|---|
Integer |
getCellCount()
Receives the value of the odf dom attribute representation
MetaCellCountAttribute . |
Integer |
getCharacterCount()
Receives the value of the odf dom attribute representation
MetaCharacterCountAttribute . |
Integer |
getDrawCount()
Receives the value of the odf dom attribute representation
MetaDrawCountAttribute . |
Integer |
getFrameCount()
Receives the value of the odf dom attribute representation
MetaFrameCountAttribute . |
Integer |
getImageCount()
Receives the value of the odf dom attribute representation
MetaImageCountAttribute . |
Integer |
getNonWhitespaceCharacterCount()
Receives the value of the odf dom attribute representation
MetaNonWhitespaceCharacterCountAttribute . |
Integer |
getObjectCount()
Receives the value of the odf dom attribute representation
MetaObjectCountAttribute |
Integer |
getOleObjectCount()
Receives the value of the odf dom attribute representation
MetaOleObjectCountAttribute . |
Integer |
getPageCount()
Receives the value of the odf dom attribute representation
MetaPageCountAttribute . |
Integer |
getParagraphCount()
Receives the value of the odf dom attribute representation
MetaParagraphCountAttribute . |
Integer |
getRowCount()
Receives the value of the odf dom attribute representation
MetaRowCountAttribute . |
Integer |
getSentenceCount()
Receives the value of the odf dom attribute representation
MetaSentenceCountAttribute . |
Integer |
getSyllableCount()
Receives the value of the odf dom attribute representation
MetaSyllableCountAttribute . |
Integer |
getTableCount()
Receives the value of the odf dom attribute representation
MetaTableCountAttribute . |
Integer |
getWordCount()
Receives the value of the odf dom attribute representation
MetaWordCountAttribute . |
void |
setCellCount(int cellCount)
Sets the value of odf dom attribute representation
MetaCellCountAttribute . |
void |
setCharacterCount(Integer characterCount)
Sets the value of odf dom attribute representation
MetaCharacterCountAttribute . |
void |
setDrawCount(Integer drawCount)
Sets the value of odf dom attribute representation
MetaDrawCountAttribute . |
void |
setFrameCount(Integer frameCount)
Sets the value of odf dom attribute representation
MetaFrameCountAttribute . |
void |
setImageCount(Integer imageCount)
Sets the value of odf dom attribute representation
MetaImageCountAttribute . |
void |
setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
Sets the value of odf dom attribute representation
MetaNonWhitespaceCharacterCountAttribute . |
void |
setObjectCount(Integer objectCount)
Sets the value of odf dom attribute representation
MetaObjectCountAttribute . |
void |
setOleObjectCount(Integer oleObjectCount)
Sets the value of odf dom attribute representation
MetaOleObjectCountAttribute . |
void |
setPageCount(Integer pageCount)
Sets the value of odf dom attribute representation
MetaPageCountAttribute . |
void |
setParagraphCount(Integer paragraphCount)
Sets the value of odf dom attribute representation
MetaParagraphCountAttribute . |
void |
setRowCount(Integer rowCount)
Sets the value of odf dom attribute representation
MetaRowCountAttribute . |
void |
setSentenceCount(Integer sentenceCount)
Sets the value of odf dom attribute representation
MetaSentenceCountAttribute . |
void |
setSyllableCount(Integer syllableCount)
Sets the value of odf dom attribute representation
MetaSyllableCountAttribute . |
void |
setTableCount(Integer tableCount)
Sets the value of odf dom attribute representation
MetaTableCountAttribute . |
void |
setWordCount(Integer wordCount)
Sets the value of odf dom attribute representation
MetaWordCountAttribute . |
public DocumentStatistic(MetaDocumentStatisticElement docStatistic)
DocumentStatistic
feature.docStatistic
- the MetaDocumentStatisticElement
represent this
featurepublic Integer getCellCount()
MetaCellCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaCellCountAttribute
public void setCellCount(int cellCount)
MetaCellCountAttribute
.cellCount
- the number of table cells need to be setMetaCellCountAttribute
public Integer getCharacterCount()
MetaCharacterCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaCharacterCountAttribute
public void setCharacterCount(Integer characterCount)
MetaCharacterCountAttribute
.characterCount
- the number of characters need to setMetaCharacterCountAttribute
public Integer getDrawCount()
MetaDrawCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaDrawCountAttribute
public void setDrawCount(Integer drawCount)
MetaDrawCountAttribute
.drawCount
- the number of all the graphic related element need to setMetaDrawCountAttribute
public Integer getFrameCount()
MetaFrameCountAttribute
.
element contained in the current document;
null
, if the attribute is not set and no default value defined.
MetaFrameCountAttribute
public void setFrameCount(Integer frameCount)
MetaFrameCountAttribute
.frameCount
- the number of
element need to setMetaFrameCountAttribute
public Integer getImageCount()
MetaImageCountAttribute
.
element contained in the current document;
null
, if the attribute is not set and no default value defined.
MetaImageCountAttribute
public void setImageCount(Integer imageCount)
MetaImageCountAttribute
.imageCount
- the number of
element need to setMetaImageCountAttribute
public Integer getNonWhitespaceCharacterCount()
MetaNonWhitespaceCharacterCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaNonWhitespaceCharacterCountAttribute
public void setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
MetaNonWhitespaceCharacterCountAttribute
.nonWhitespaceCharacterCount
- the number of non-whitespace characters need to setMetaNonWhitespaceCharacterCountAttribute
public Integer getObjectCount()
MetaObjectCountAttribute
element contained in the current document;
null
, if the attribute is not set and no default value defined.
MetaObjectCountAttribute
public void setObjectCount(Integer objectCount)
MetaObjectCountAttribute
.objectCount
- the number of
element need to setMetaObjectCountAttribute
public Integer getOleObjectCount()
MetaOleObjectCountAttribute
.
element contained in the current document;
null
, if the attribute is not set and no default value defined.
MetaOleObjectCountAttribute
public void setOleObjectCount(Integer oleObjectCount)
MetaOleObjectCountAttribute
.oleObjectCount
- the number of
element need to setMetaOleObjectCountAttribute
public Integer getPageCount()
MetaPageCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaPageCountAttribute
public void setPageCount(Integer pageCount)
MetaPageCountAttribute
.pageCount
- the number of page count need to setMetaPageCountAttribute
public Integer getParagraphCount()
MetaParagraphCountAttribute
.
element contained in the current document;
null
, if the attribute is not set and no default value defined.
MetaParagraphCountAttribute
public void setParagraphCount(Integer paragraphCount)
MetaParagraphCountAttribute
.paragraphCount
- the number of
element need to setMetaParagraphCountAttribute
public Integer getRowCount()
MetaRowCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaRowCountAttribute
public void setRowCount(Integer rowCount)
MetaRowCountAttribute
.rowCount
- the number of lines need to setMetaRowCountAttribute
public Integer getSentenceCount()
MetaSentenceCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaSentenceCountAttribute
public void setSentenceCount(Integer sentenceCount)
MetaSentenceCountAttribute
.sentenceCount
- the number of sentences need to setMetaSentenceCountAttribute
public Integer getSyllableCount()
MetaSyllableCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaSyllableCountAttribute
public void setSyllableCount(Integer syllableCount)
MetaSyllableCountAttribute
.syllableCount
- the number of syllables need to setMetaSyllableCountAttribute
public Integer getTableCount()
MetaTableCountAttribute
.
element contained in the current document;
null
, if the attribute is not set and no default value defined.
MetaTableCountAttribute
public void setTableCount(Integer tableCount)
MetaTableCountAttribute
.tableCount
- the number of
need to setMetaTableCountAttribute
public Integer getWordCount()
MetaWordCountAttribute
.
null
, if the attribute is not set and no default value defined.
MetaWordCountAttribute
public void setWordCount(Integer wordCount)
MetaWordCountAttribute
.wordCount
- the number of words need to setMetaWordCountAttribute
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.