Class OdfMetaDocumentStatistic
- java.lang.Object
-
- org.odftoolkit.odfdom.incubator.meta.OdfMetaDocumentStatistic
-
public class OdfMetaDocumentStatistic extends Object
OdfMetaDocumentStatisticfeature specifies the statistics about the document.
-
-
Constructor Summary
Constructors Constructor Description OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)Constructor ofOdfMetaDocumentStatisticfeature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetCellCount()Receives the value of the ODFDOM attribute representationMetaCellCountAttribute, See @meta:cell-count.IntegergetCharacterCount()Receives the value of the ODFDOM attribute representationMetaCharacterCountAttribute, See @meta:character-count.IntegergetDrawCount()Receives the value of the ODFDOM attribute representationMetaDrawCountAttribute, See @meta:draw-count.IntegergetFrameCount()Receives the value of the ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.IntegergetImageCount()Receives the value of the ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.IntegergetNonWhitespaceCharacterCount()Receives the value of the ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute, See @meta:non-whitespace-character-count.IntegergetObjectCount()Receives the value of the ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-countIntegergetOleObjectCount()Receives the value of the ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.IntegergetPageCount()Receives the value of the ODFDOM attribute representationMetaPageCountAttribute, See @meta:page-count.IntegergetParagraphCount()Receives the value of the ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.IntegergetRowCount()Receives the value of the ODFDOM attribute representationMetaRowCountAttribute, See @meta:row-count.IntegergetSentenceCount()Receives the value of the ODFDOM attribute representationMetaSentenceCountAttribute, See @meta:sentence-count.IntegergetSyllableCount()Receives the value of the ODFDOM attribute representationMetaSyllableCountAttribute, See @meta:syllable-count.IntegergetTableCount()Receives the value of the ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.IntegergetWordCount()Receives the value of the ODFDOM attribute representationMetaWordCountAttribute, See @meta:word-count.voidsetCellCount(int cellCount)Sets the value of ODFDOM attribute representationMetaCellCountAttribute, See @meta:cell-count.voidsetCharacterCount(Integer characterCount)Sets the value of ODFDOM attribute representationMetaCharacterCountAttribute, See @meta:character-count.voidsetDrawCount(Integer drawCount)Sets the value of ODFDOM attribute representationMetaDrawCountAttribute, See @meta:draw-count.voidsetFrameCount(Integer frameCount)Sets the value of ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.voidsetImageCount(Integer imageCount)Sets the value of ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.voidsetNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)Sets the value of ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute, See @meta:non-whitespace-character-count.voidsetObjectCount(Integer objectCount)Sets the value of ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-count.voidsetOleObjectCount(Integer oleObjectCount)Sets the value of ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.voidsetPageCount(Integer pageCount)Sets the value of ODFDOM attribute representationMetaPageCountAttribute, See @meta:page-count.voidsetParagraphCount(Integer paragraphCount)Sets the value of ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.voidsetRowCount(Integer rowCount)Sets the value of ODFDOM attribute representationMetaRowCountAttribute, See @meta:row-count.voidsetSentenceCount(Integer sentenceCount)Sets the value of ODFDOM attribute representationMetaSentenceCountAttribute, See @meta:sentence-count.voidsetSyllableCount(Integer syllableCount)Sets the value of ODFDOM attribute representationMetaSyllableCountAttribute, See @meta:syllable-count.voidsetTableCount(Integer tableCount)Sets the value of ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.voidsetWordCount(Integer wordCount)Sets the value of ODFDOM attribute representationMetaWordCountAttribute, See @meta:word-count.
-
-
-
Constructor Detail
-
OdfMetaDocumentStatistic
public OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor ofOdfMetaDocumentStatisticfeature.- Parameters:
docStatistic- theMetaDocumentStatisticElementrepresent this feature
-
-
Method Detail
-
getCellCount
public Integer getCellCount()
Receives the value of the ODFDOM attribute representationMetaCellCountAttribute, See @meta:cell-count.- Returns:
- the number of table cells contained in the current document;
null, if the attribute is not set and no default value defined.
-
setCellCount
public void setCellCount(int cellCount)
Sets the value of ODFDOM attribute representationMetaCellCountAttribute, See @meta:cell-count.- Parameters:
cellCount- the number of table cells need to be set
-
getCharacterCount
public Integer getCharacterCount()
Receives the value of the ODFDOM attribute representationMetaCharacterCountAttribute, See @meta:character-count.- Returns:
- the number of characters contained in the current document;
null, if the attribute is not set and no default value defined.
-
setCharacterCount
public void setCharacterCount(Integer characterCount)
Sets the value of ODFDOM attribute representationMetaCharacterCountAttribute, See @meta:character-count.- Parameters:
characterCount- the number of characters need to set
-
getDrawCount
public Integer getDrawCount()
Receives the value of the ODFDOM attribute representationMetaDrawCountAttribute, See @meta:draw-count.- Returns:
- the number of all the graphic related element in the current document;
null, if the attribute is not set and no default value defined.
-
setDrawCount
public void setDrawCount(Integer drawCount)
Sets the value of ODFDOM attribute representationMetaDrawCountAttribute, See @meta:draw-count.- Parameters:
drawCount- the number of all the graphic related element need to set
-
getFrameCount
public Integer getFrameCount()
Receives the value of the ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.- Returns:
- the number of
element contained in the current document;null, if the attribute is not set and no default value defined.
-
setFrameCount
public void setFrameCount(Integer frameCount)
Sets the value of ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.- Parameters:
frameCount- the number ofelement need to set
-
getImageCount
public Integer getImageCount()
Receives the value of the ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.- Returns:
- the number of
element contained in the current document;null, if the attribute is not set and no default value defined.
-
setImageCount
public void setImageCount(Integer imageCount)
Sets the value of ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.- Parameters:
imageCount- the number ofelement need to set
-
getNonWhitespaceCharacterCount
public Integer getNonWhitespaceCharacterCount()
Receives the value of the ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute, See @meta:non-whitespace-character-count.- Returns:
- the number of non-whitespace characters contained in the current document;
null, if the attribute is not set and no default value defined.
-
setNonWhitespaceCharacterCount
public void setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
Sets the value of ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute, See @meta:non-whitespace-character-count.- Parameters:
nonWhitespaceCharacterCount- the number of non-whitespace characters need to set
-
getObjectCount
public Integer getObjectCount()
Receives the value of the ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-count- Returns:
- the number of
element contained in the current document;null, if the attribute is not set and no default value defined.
-
setObjectCount
public void setObjectCount(Integer objectCount)
Sets the value of ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-count.- Parameters:
objectCount- the number ofelement need to set
-
getOleObjectCount
public Integer getOleObjectCount()
Receives the value of the ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.- Returns:
- the number of
element contained in the current document;null, if the attribute is not set and no default value defined.
-
setOleObjectCount
public void setOleObjectCount(Integer oleObjectCount)
Sets the value of ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.- Parameters:
oleObjectCount- the number ofelement need to set
-
getPageCount
public Integer getPageCount()
Receives the value of the ODFDOM attribute representationMetaPageCountAttribute, See @meta:page-count.- Returns:
- the number of page count contained in the current document;
null, if the attribute is not set and no default value defined.
-
setPageCount
public void setPageCount(Integer pageCount)
Sets the value of ODFDOM attribute representationMetaPageCountAttribute, See @meta:page-count.- Parameters:
pageCount- the number of page count need to set
-
getParagraphCount
public Integer getParagraphCount()
Receives the value of the ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.- Returns:
- the number of
element contained in the current document;null, if the attribute is not set and no default value defined.
-
setParagraphCount
public void setParagraphCount(Integer paragraphCount)
Sets the value of ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.- Parameters:
paragraphCount- the number ofelement need to set
-
getRowCount
public Integer getRowCount()
Receives the value of the ODFDOM attribute representationMetaRowCountAttribute, See @meta:row-count.- Returns:
- the number of lines contained in the current document;
null, if the attribute is not set and no default value defined.
-
setRowCount
public void setRowCount(Integer rowCount)
Sets the value of ODFDOM attribute representationMetaRowCountAttribute, See @meta:row-count.- Parameters:
rowCount- the number of lines need to set
-
getSentenceCount
public Integer getSentenceCount()
Receives the value of the ODFDOM attribute representationMetaSentenceCountAttribute, See @meta:sentence-count.- Returns:
- the number of sentences contained in the current document;
null, if the attribute is not set and no default value defined.
-
setSentenceCount
public void setSentenceCount(Integer sentenceCount)
Sets the value of ODFDOM attribute representationMetaSentenceCountAttribute, See @meta:sentence-count.- Parameters:
sentenceCount- the number of sentences need to set
-
getSyllableCount
public Integer getSyllableCount()
Receives the value of the ODFDOM attribute representationMetaSyllableCountAttribute, See @meta:syllable-count.- Returns:
- the number of syllables contained in the current document;
null, if the attribute is not set and no default value defined.
-
setSyllableCount
public void setSyllableCount(Integer syllableCount)
Sets the value of ODFDOM attribute representationMetaSyllableCountAttribute, See @meta:syllable-count.- Parameters:
syllableCount- the number of syllables need to set
-
getTableCount
public Integer getTableCount()
Receives the value of the ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.- Returns:
- the number of
element contained in the current document;null, if the attribute is not set and no default value defined.
-
setTableCount
public void setTableCount(Integer tableCount)
Sets the value of ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.- Parameters:
tableCount- the number ofneed to set
-
getWordCount
public Integer getWordCount()
Receives the value of the ODFDOM attribute representationMetaWordCountAttribute, See @meta:word-count.- Returns:
- the number of words contained in the current document;
null, if the attribute is not set and no default value defined.
-
setWordCount
public void setWordCount(Integer wordCount)
Sets the value of ODFDOM attribute representationMetaWordCountAttribute, See @meta:word-count.- Parameters:
wordCount- the number of words need to set
-
-