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.
MetaCellCountAttributepublic void setCellCount(int cellCount)
MetaCellCountAttribute .cellCount - the number of table cells need to be setMetaCellCountAttributepublic Integer getCharacterCount()
MetaCharacterCountAttribute
.null, if the attribute is not set and no default value defined.
MetaCharacterCountAttributepublic void setCharacterCount(Integer characterCount)
MetaCharacterCountAttribute.characterCount - the number of characters need to setMetaCharacterCountAttributepublic Integer getDrawCount()
MetaDrawCountAttribute
.null, if the attribute is not set and no default value defined.
MetaDrawCountAttributepublic void setDrawCount(Integer drawCount)
MetaDrawCountAttribute.drawCount - the number of all the graphic related element need to setMetaDrawCountAttributepublic Integer getFrameCount()
MetaFrameCountAttribute
. element contained in the current document;
null, if the attribute is not set and no default value defined.
MetaFrameCountAttributepublic void setFrameCount(Integer frameCount)
MetaFrameCountAttribute .frameCount - the number of element need to setMetaFrameCountAttributepublic Integer getImageCount()
MetaImageCountAttribute
. element contained in the current document;
null, if the attribute is not set and no default value defined.
MetaImageCountAttributepublic void setImageCount(Integer imageCount)
MetaImageCountAttribute .imageCount - the number of element need to setMetaImageCountAttributepublic Integer getNonWhitespaceCharacterCount()
MetaNonWhitespaceCharacterCountAttribute.null, if the attribute is not set and no default value defined.
MetaNonWhitespaceCharacterCountAttributepublic void setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
MetaNonWhitespaceCharacterCountAttribute.nonWhitespaceCharacterCount - the number of non-whitespace characters need to setMetaNonWhitespaceCharacterCountAttributepublic Integer getObjectCount()
MetaObjectCountAttribute
element contained in the current document;
null, if the attribute is not set and no default value defined.
MetaObjectCountAttributepublic void setObjectCount(Integer objectCount)
MetaObjectCountAttribute.objectCount - the number of element need to setMetaObjectCountAttributepublic Integer getOleObjectCount()
MetaOleObjectCountAttribute
. element contained in the current document;
null, if the attribute is not set and no default value defined.
MetaOleObjectCountAttributepublic void setOleObjectCount(Integer oleObjectCount)
MetaOleObjectCountAttribute.oleObjectCount - the number of element need to setMetaOleObjectCountAttributepublic Integer getPageCount()
MetaPageCountAttribute.null, if the attribute is not set and no default value defined.
MetaPageCountAttributepublic void setPageCount(Integer pageCount)
MetaPageCountAttribute.pageCount - the number of page count need to setMetaPageCountAttributepublic Integer getParagraphCount()
MetaParagraphCountAttribute
. element contained in the current document;
null, if the attribute is not set and no default value defined.
MetaParagraphCountAttributepublic void setParagraphCount(Integer paragraphCount)
MetaParagraphCountAttribute.paragraphCount - the number of element need to setMetaParagraphCountAttributepublic Integer getRowCount()
MetaRowCountAttribute.null, if the attribute is not set and no default value defined.
MetaRowCountAttributepublic void setRowCount(Integer rowCount)
MetaRowCountAttribute.rowCount - the number of lines need to setMetaRowCountAttributepublic Integer getSentenceCount()
MetaSentenceCountAttribute
.null, if the attribute is not set and no default value defined.
MetaSentenceCountAttributepublic void setSentenceCount(Integer sentenceCount)
MetaSentenceCountAttribute.sentenceCount - the number of sentences need to setMetaSentenceCountAttributepublic Integer getSyllableCount()
MetaSyllableCountAttribute
.null, if the attribute is not set and no default value defined.
MetaSyllableCountAttributepublic void setSyllableCount(Integer syllableCount)
MetaSyllableCountAttribute.syllableCount - the number of syllables need to setMetaSyllableCountAttributepublic Integer getTableCount()
MetaTableCountAttribute. element contained in the current document;
null, if the attribute is not set and no default value defined.
MetaTableCountAttributepublic void setTableCount(Integer tableCount)
MetaTableCountAttribute.tableCount - the number of need to setMetaTableCountAttributepublic Integer getWordCount()
MetaWordCountAttribute.null, if the attribute is not set and no default value defined.
MetaWordCountAttributepublic void setWordCount(Integer wordCount)
MetaWordCountAttribute.wordCount - the number of words need to setMetaWordCountAttributeCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.