public class OdfMetaDocumentStatistic extends Object
OdfMetaDocumentStatistic feature specifies the statistics about the document.| Constructor and Description |
|---|
OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor of
OdfMetaDocumentStatistic feature. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCellCount()
Receives the value of the ODFDOM attribute representation
MetaCellCountAttribute ,
See meta:cell-count. |
Integer |
getCharacterCount()
Receives the value of the ODFDOM attribute representation
MetaCharacterCountAttribute
, See meta:character-count. |
Integer |
getDrawCount()
Receives the value of the ODFDOM attribute representation
MetaDrawCountAttribute ,
See meta:draw-count. |
Integer |
getFrameCount()
Receives the value of the ODFDOM attribute representation
MetaFrameCountAttribute
, See meta:frame-count. |
Integer |
getImageCount()
Receives the value of the ODFDOM attribute representation
MetaImageCountAttribute
, See meta:image-count. |
Integer |
getNonWhitespaceCharacterCount()
Receives the value of the ODFDOM attribute representation
MetaNonWhitespaceCharacterCountAttribute , See meta:non-whitespace-character-count. |
Integer |
getObjectCount()
Receives the value of the ODFDOM attribute representation
MetaObjectCountAttribute
, See meta:object-count |
Integer |
getOleObjectCount()
Receives the value of the ODFDOM attribute representation
MetaOleObjectCountAttribute
, See meta:ole-object-count. |
Integer |
getPageCount()
Receives the value of the ODFDOM attribute representation
MetaPageCountAttribute ,
See meta:page-count. |
Integer |
getParagraphCount()
Receives the value of the ODFDOM attribute representation
MetaParagraphCountAttribute
, See meta:paragraph-count. |
Integer |
getRowCount()
Receives the value of the ODFDOM attribute representation
MetaRowCountAttribute ,
See meta:row-count. |
Integer |
getSentenceCount()
Receives the value of the ODFDOM attribute representation
MetaSentenceCountAttribute
, See meta:sentence-count. |
Integer |
getSyllableCount()
Receives the value of the ODFDOM attribute representation
MetaSyllableCountAttribute
, See meta:syllable-count. |
Integer |
getTableCount()
Receives the value of the ODFDOM attribute representation
MetaTableCountAttribute , See meta:table-count. |
Integer |
getWordCount()
Receives the value of the ODFDOM attribute representation
MetaWordCountAttribute ,
See meta:word-count. |
void |
setCellCount(int cellCount)
Sets the value of ODFDOM attribute representation
MetaCellCountAttribute , See
meta:cell-count. |
void |
setCharacterCount(Integer characterCount)
Sets the value of ODFDOM attribute representation
MetaCharacterCountAttribute ,
See meta:character-count. |
void |
setDrawCount(Integer drawCount)
Sets the value of ODFDOM attribute representation
MetaDrawCountAttribute , See
meta:draw-count. |
void |
setFrameCount(Integer frameCount)
Sets the value of ODFDOM attribute representation
MetaFrameCountAttribute , See
meta:frame-count. |
void |
setImageCount(Integer imageCount)
Sets the value of ODFDOM attribute representation
MetaImageCountAttribute , See
meta:image-count. |
void |
setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
Sets the value of ODFDOM attribute representation
MetaNonWhitespaceCharacterCountAttribute , See meta:non-whitespace-character-count. |
void |
setObjectCount(Integer objectCount)
Sets the value of ODFDOM attribute representation
MetaObjectCountAttribute , See
meta:object-count. |
void |
setOleObjectCount(Integer oleObjectCount)
Sets the value of ODFDOM attribute representation
MetaOleObjectCountAttribute ,
See meta:ole-object-count. |
void |
setPageCount(Integer pageCount)
Sets the value of ODFDOM attribute representation
MetaPageCountAttribute , See
meta:page-count. |
void |
setParagraphCount(Integer paragraphCount)
Sets the value of ODFDOM attribute representation
MetaParagraphCountAttribute ,
See meta:paragraph-count. |
void |
setRowCount(Integer rowCount)
Sets the value of ODFDOM attribute representation
MetaRowCountAttribute , See
meta:row-count. |
void |
setSentenceCount(Integer sentenceCount)
Sets the value of ODFDOM attribute representation
MetaSentenceCountAttribute , See
meta:sentence-count. |
void |
setSyllableCount(Integer syllableCount)
Sets the value of ODFDOM attribute representation
MetaSyllableCountAttribute , See
meta:syllable-count. |
void |
setTableCount(Integer tableCount)
Sets the value of ODFDOM attribute representation
MetaTableCountAttribute , See meta:table-count. |
void |
setWordCount(Integer wordCount)
Sets the value of ODFDOM attribute representation
MetaWordCountAttribute , See
meta:word-count. |
public OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
OdfMetaDocumentStatistic feature.docStatistic - the MetaDocumentStatisticElement represent this featurepublic Integer getCellCount()
MetaCellCountAttribute ,
See meta:cell-count.null, if the attribute is not set and no default value defined.
public void setCellCount(int cellCount)
MetaCellCountAttribute , See
meta:cell-count.cellCount - the number of table cells need to be setpublic Integer getCharacterCount()
MetaCharacterCountAttribute
, See meta:character-count.null, if the attribute is not set and no default value defined.
public void setCharacterCount(Integer characterCount)
MetaCharacterCountAttribute ,
See meta:character-count.characterCount - the number of characters need to setpublic Integer getDrawCount()
MetaDrawCountAttribute ,
See meta:draw-count.null, if the attribute is not set and no default value defined.
public void setDrawCount(Integer drawCount)
MetaDrawCountAttribute , See
meta:draw-count.drawCount - the number of all the graphic related element need to setpublic Integer getFrameCount()
MetaFrameCountAttribute
, See meta:frame-count. element contained in the current document;
null, if the attribute is not set and no default value defined.
public void setFrameCount(Integer frameCount)
MetaFrameCountAttribute , See
meta:frame-count.frameCount - the number of element need to setpublic Integer getImageCount()
MetaImageCountAttribute
, See meta:image-count. element contained in the current document;
null, if the attribute is not set and no default value defined.
public void setImageCount(Integer imageCount)
MetaImageCountAttribute , See
meta:image-count.imageCount - the number of element need to setpublic Integer getNonWhitespaceCharacterCount()
MetaNonWhitespaceCharacterCountAttribute , See meta:non-whitespace-character-count.null, if the attribute is not set and no default value defined.
public void setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
MetaNonWhitespaceCharacterCountAttribute , See meta:non-whitespace-character-count.nonWhitespaceCharacterCount - the number of non-whitespace characters need to setpublic Integer getObjectCount()
MetaObjectCountAttribute
, See meta:object-count element contained in the current document;
null, if the attribute is not set and no default value defined.
public void setObjectCount(Integer objectCount)
MetaObjectCountAttribute , See
meta:object-count.objectCount - the number of element need to setpublic Integer getOleObjectCount()
MetaOleObjectCountAttribute
, See meta:ole-object-count. element contained in the current document;
null, if the attribute is not set and no default value defined.
public void setOleObjectCount(Integer oleObjectCount)
MetaOleObjectCountAttribute ,
See meta:ole-object-count.oleObjectCount - the number of element need to setpublic Integer getPageCount()
MetaPageCountAttribute ,
See meta:page-count.null, if the attribute is not set and no default value defined.
public void setPageCount(Integer pageCount)
MetaPageCountAttribute , See
meta:page-count.pageCount - the number of page count need to setpublic Integer getParagraphCount()
MetaParagraphCountAttribute
, See meta:paragraph-count. element contained in the current document;
null, if the attribute is not set and no default value defined.
public void setParagraphCount(Integer paragraphCount)
MetaParagraphCountAttribute ,
See meta:paragraph-count.paragraphCount - the number of element need to setpublic Integer getRowCount()
MetaRowCountAttribute ,
See meta:row-count.null, if the attribute is not set and no default value defined.
public void setRowCount(Integer rowCount)
MetaRowCountAttribute , See
meta:row-count.rowCount - the number of lines need to setpublic Integer getSentenceCount()
MetaSentenceCountAttribute
, See meta:sentence-count.null, if the attribute is not set and no default value defined.
public void setSentenceCount(Integer sentenceCount)
MetaSentenceCountAttribute , See
meta:sentence-count.sentenceCount - the number of sentences need to setpublic Integer getSyllableCount()
MetaSyllableCountAttribute
, See meta:syllable-count.null, if the attribute is not set and no default value defined.
public void setSyllableCount(Integer syllableCount)
MetaSyllableCountAttribute , See
meta:syllable-count.syllableCount - the number of syllables need to setpublic Integer getTableCount()
MetaTableCountAttribute , See meta:table-count. element contained in the current document;
null, if the attribute is not set and no default value defined.
public void setTableCount(Integer tableCount)
MetaTableCountAttribute , See meta:table-count.tableCount - the number of need to setpublic Integer getWordCount()
MetaWordCountAttribute ,
See meta:word-count.null, if the attribute is not set and no default value defined.
public void setWordCount(Integer wordCount)
MetaWordCountAttribute , See
meta:word-count.wordCount - the number of words need to setCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.