Class OdfMetaDocumentStatistic
- java.lang.Object
-
- org.odftoolkit.odfdom.incubator.meta.OdfMetaDocumentStatistic
-
public class OdfMetaDocumentStatistic extends Object
OdfMetaDocumentStatistic
feature specifies the statistics about the document.
-
-
Constructor Summary
Constructors Constructor Description OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor ofOdfMetaDocumentStatistic
feature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCellCount()
Receives the value of the ODFDOM attribute representationMetaCellCountAttribute
, See @meta:cell-count.Integer
getCharacterCount()
Receives the value of the ODFDOM attribute representationMetaCharacterCountAttribute
, See @meta:character-count.Integer
getDrawCount()
Receives the value of the ODFDOM attribute representationMetaDrawCountAttribute
, See @meta:draw-count.Integer
getFrameCount()
Receives the value of the ODFDOM attribute representationMetaFrameCountAttribute
, See @meta:frame-count.Integer
getImageCount()
Receives the value of the ODFDOM attribute representationMetaImageCountAttribute
, See @meta:image-count.Integer
getNonWhitespaceCharacterCount()
Receives the value of the ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute
, See @meta:non-whitespace-character-count.Integer
getObjectCount()
Receives the value of the ODFDOM attribute representationMetaObjectCountAttribute
, See @meta:object-countInteger
getOleObjectCount()
Receives the value of the ODFDOM attribute representationMetaOleObjectCountAttribute
, See @meta:ole-object-count.Integer
getPageCount()
Receives the value of the ODFDOM attribute representationMetaPageCountAttribute
, See @meta:page-count.Integer
getParagraphCount()
Receives the value of the ODFDOM attribute representationMetaParagraphCountAttribute
, See @meta:paragraph-count.Integer
getRowCount()
Receives the value of the ODFDOM attribute representationMetaRowCountAttribute
, See @meta:row-count.Integer
getSentenceCount()
Receives the value of the ODFDOM attribute representationMetaSentenceCountAttribute
, See @meta:sentence-count.Integer
getSyllableCount()
Receives the value of the ODFDOM attribute representationMetaSyllableCountAttribute
, See @meta:syllable-count.Integer
getTableCount()
Receives the value of the ODFDOM attribute representationMetaTableCountAttribute
, See @meta:table-count.Integer
getWordCount()
Receives the value of the ODFDOM attribute representationMetaWordCountAttribute
, See @meta:word-count.void
setCellCount(int cellCount)
Sets the value of ODFDOM attribute representationMetaCellCountAttribute
, See @meta:cell-count.void
setCharacterCount(Integer characterCount)
Sets the value of ODFDOM attribute representationMetaCharacterCountAttribute
, See @meta:character-count.void
setDrawCount(Integer drawCount)
Sets the value of ODFDOM attribute representationMetaDrawCountAttribute
, See @meta:draw-count.void
setFrameCount(Integer frameCount)
Sets the value of ODFDOM attribute representationMetaFrameCountAttribute
, See @meta:frame-count.void
setImageCount(Integer imageCount)
Sets the value of ODFDOM attribute representationMetaImageCountAttribute
, See @meta:image-count.void
setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
Sets the value of ODFDOM attribute representationMetaNonWhitespaceCharacterCountAttribute
, See @meta:non-whitespace-character-count.void
setObjectCount(Integer objectCount)
Sets the value of ODFDOM attribute representationMetaObjectCountAttribute
, See @meta:object-count.void
setOleObjectCount(Integer oleObjectCount)
Sets the value of ODFDOM attribute representationMetaOleObjectCountAttribute
, See @meta:ole-object-count.void
setPageCount(Integer pageCount)
Sets the value of ODFDOM attribute representationMetaPageCountAttribute
, See @meta:page-count.void
setParagraphCount(Integer paragraphCount)
Sets the value of ODFDOM attribute representationMetaParagraphCountAttribute
, See @meta:paragraph-count.void
setRowCount(Integer rowCount)
Sets the value of ODFDOM attribute representationMetaRowCountAttribute
, See @meta:row-count.void
setSentenceCount(Integer sentenceCount)
Sets the value of ODFDOM attribute representationMetaSentenceCountAttribute
, See @meta:sentence-count.void
setSyllableCount(Integer syllableCount)
Sets the value of ODFDOM attribute representationMetaSyllableCountAttribute
, See @meta:syllable-count.void
setTableCount(Integer tableCount)
Sets the value of ODFDOM attribute representationMetaTableCountAttribute
, See @meta:table-count.void
setWordCount(Integer wordCount)
Sets the value of ODFDOM attribute representationMetaWordCountAttribute
, See @meta:word-count.
-
-
-
Constructor Detail
-
OdfMetaDocumentStatistic
public OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor ofOdfMetaDocumentStatistic
feature.- Parameters:
docStatistic
- theMetaDocumentStatisticElement
represent 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 of
element 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 of
element 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 of
element 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 of
element 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 of
element 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 of
need 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
-
-