Class OdfMetaDocumentStatistic
OdfMetaDocumentStatistic feature specifies the statistics about the document.-
Constructor Summary
ConstructorsConstructorDescriptionOdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic) Constructor ofOdfMetaDocumentStatisticfeature. -
Method Summary
Modifier and TypeMethodDescriptionReceives the value of the ODFDOM attribute representationMetaCellCountAttribute, See @meta:cell-count.Receives the value of the ODFDOM attribute representationMetaCharacterCountAttribute, See @meta:character-count.Receives the value of the ODFDOM attribute representationMetaDrawCountAttribute, See @meta:draw-count.Receives the value of the ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.Receives the value of the ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.Receives the value of the ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute, See @meta:non-whitespace-character-count.Receives the value of the ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-countReceives the value of the ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.Receives the value of the ODFDOM attribute representationMetaPageCountAttribute, See @meta:page-count.Receives the value of the ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.Receives the value of the ODFDOM attribute representationMetaRowCountAttribute, See @meta:row-count.Receives the value of the ODFDOM attribute representationMetaSentenceCountAttribute, See @meta:sentence-count.Receives the value of the ODFDOM attribute representationMetaSyllableCountAttribute, See @meta:syllable-count.Receives the value of the ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.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 Details
-
OdfMetaDocumentStatistic
Constructor ofOdfMetaDocumentStatisticfeature.- Parameters:
docStatistic- theMetaDocumentStatisticElementrepresent this feature
-
-
Method Details
-
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
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
Sets the value of ODFDOM attribute representationMetaCharacterCountAttribute, See @meta:character-count.- Parameters:
characterCount- the number of characters need to set
-
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
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
Receives the value of the ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.- Returns:
- the number of
invalid input: '<'draw:frame>element contained in the current document;null, if the attribute is not set and no default value defined.
-
setFrameCount
Sets the value of ODFDOM attribute representationMetaFrameCountAttribute, See @meta:frame-count.- Parameters:
frameCount- the number ofinvalid input: '<'draw:frame>element need to set
-
getImageCount
Receives the value of the ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.- Returns:
- the number of
invalid input: '<'draw:image>element contained in the current document;null, if the attribute is not set and no default value defined.
-
setImageCount
Sets the value of ODFDOM attribute representationMetaImageCountAttribute, See @meta:image-count.- Parameters:
imageCount- the number ofinvalid input: '<'draw:image>element need to set
-
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
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
Receives the value of the ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-count- Returns:
- the number of
invalid input: '<'draw:object>element contained in the current document;null, if the attribute is not set and no default value defined.
-
setObjectCount
Sets the value of ODFDOM attribute representationMetaObjectCountAttribute, See @meta:object-count.- Parameters:
objectCount- the number ofinvalid input: '<'draw:object>element need to set
-
getOleObjectCount
Receives the value of the ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.- Returns:
- the number of
invalid input: '<'draw:object-ole>element contained in the current document;null, if the attribute is not set and no default value defined.
-
setOleObjectCount
Sets the value of ODFDOM attribute representationMetaOleObjectCountAttribute, See @meta:ole-object-count.- Parameters:
oleObjectCount- the number ofinvalid input: '<'draw:object-ole>element need to set
-
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
Sets the value of ODFDOM attribute representationMetaPageCountAttribute, See @meta:page-count.- Parameters:
pageCount- the number of page count need to set
-
getParagraphCount
Receives the value of the ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.- Returns:
- the number of
invalid input: '<'text:p>element contained in the current document;null, if the attribute is not set and no default value defined.
-
setParagraphCount
Sets the value of ODFDOM attribute representationMetaParagraphCountAttribute, See @meta:paragraph-count.- Parameters:
paragraphCount- the number ofinvalid input: '<'text:p>element need to set
-
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
Sets the value of ODFDOM attribute representationMetaRowCountAttribute, See @meta:row-count.- Parameters:
rowCount- the number of lines need to set
-
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
Sets the value of ODFDOM attribute representationMetaSentenceCountAttribute, See @meta:sentence-count.- Parameters:
sentenceCount- the number of sentences need to set
-
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
Sets the value of ODFDOM attribute representationMetaSyllableCountAttribute, See @meta:syllable-count.- Parameters:
syllableCount- the number of syllables need to set
-
getTableCount
Receives the value of the ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.- Returns:
- the number of
invalid input: '<'table:table>element contained in the current document;null, if the attribute is not set and no default value defined.
-
setTableCount
Sets the value of ODFDOM attribute representationMetaTableCountAttribute, See @meta:table-count.- Parameters:
tableCount- the number ofinvalid input: '<'table:table>need to set
-
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
Sets the value of ODFDOM attribute representationMetaWordCountAttribute, See @meta:word-count.- Parameters:
wordCount- the number of words need to set
-