public class OdfMetaDocumentStatistic
extends Object
OdfMetaDocumentStatistic
feature specifies the statistics about the document.
-
Constructor Summary
Constructors
Constructor of OdfMetaDocumentStatistic
feature.
-
Method Summary
Receives the value of the ODFDOM attribute representation
MetaCellCountAttribute
,
See
@meta:cell-count.
Receives the value of the ODFDOM attribute representation
MetaCharacterCountAttribute
, See
@meta:character-count.
Receives the value of the ODFDOM attribute representation
MetaDrawCountAttribute
,
See
@meta:draw-count.
Receives the value of the ODFDOM attribute representation
MetaFrameCountAttribute
, See
@meta:frame-count.
Receives the value of the ODFDOM attribute representation
MetaImageCountAttribute
, See
@meta:image-count.
Receives the value of the ODFDOM attribute representation
MetaObjectCountAttribute
, See
@meta:object-count
Receives the value of the ODFDOM attribute representation
MetaOleObjectCountAttribute
, See
@meta:ole-object-count.
Receives the value of the ODFDOM attribute representation
MetaPageCountAttribute
,
See
@meta:page-count.
Receives the value of the ODFDOM attribute representation
MetaParagraphCountAttribute
, See
@meta:paragraph-count.
Receives the value of the ODFDOM attribute representation
MetaRowCountAttribute
,
See
@meta:row-count.
Receives the value of the ODFDOM attribute representation
MetaSentenceCountAttribute
, See
@meta:sentence-count.
Receives the value of the ODFDOM attribute representation
MetaSyllableCountAttribute
, See
@meta:syllable-count.
Receives the value of the ODFDOM attribute representation
MetaTableCountAttribute
, See
@meta:table-count.
Receives the value of the ODFDOM attribute representation
MetaWordCountAttribute
,
See
@meta:word-count.
void
Sets the value of ODFDOM attribute representation
MetaCellCountAttribute
, See
@meta:cell-count.
void
Sets the value of ODFDOM attribute representation
MetaCharacterCountAttribute
,
See
@meta:character-count.
void
Sets the value of ODFDOM attribute representation
MetaDrawCountAttribute
, See
@meta:draw-count.
void
Sets the value of ODFDOM attribute representation
MetaFrameCountAttribute
, See
@meta:frame-count.
void
Sets the value of ODFDOM attribute representation
MetaImageCountAttribute
, See
@meta:image-count.
void
void
Sets the value of ODFDOM attribute representation
MetaObjectCountAttribute
, See
@meta:object-count.
void
void
Sets the value of ODFDOM attribute representation
MetaPageCountAttribute
, See
@meta:page-count.
void
Sets the value of ODFDOM attribute representation
MetaParagraphCountAttribute
,
See
@meta:paragraph-count.
void
Sets the value of ODFDOM attribute representation
MetaRowCountAttribute
, See
@meta:row-count.
void
Sets the value of ODFDOM attribute representation
MetaSentenceCountAttribute
, See
@meta:sentence-count.
void
Sets the value of ODFDOM attribute representation
MetaSyllableCountAttribute
, See
@meta:syllable-count.
void
Sets the value of ODFDOM attribute representation
MetaTableCountAttribute
, See
@meta:table-count.
void
Sets the value of ODFDOM attribute representation
MetaWordCountAttribute
, See
@meta:word-count.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
getCellCount
Receives the value of the ODFDOM attribute representation
MetaCellCountAttribute
,
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 representation
MetaCellCountAttribute
, See
@meta:cell-count.
- Parameters:
cellCount
- the number of table cells need to be set
-
getCharacterCount
Receives the value of the ODFDOM attribute representation
MetaCharacterCountAttribute
, 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 representation
MetaCharacterCountAttribute
,
See
@meta:character-count.
- Parameters:
characterCount
- the number of characters need to set
-
getDrawCount
Receives the value of the ODFDOM attribute representation
MetaDrawCountAttribute
,
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 representation
MetaDrawCountAttribute
, 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 representation
MetaFrameCountAttribute
, See
@meta:frame-count.
- Returns:
- the number of
<draw:frame>
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 representation
MetaFrameCountAttribute
, See
@meta:frame-count.
- Parameters:
frameCount
- the number of <draw:frame>
element need to set
-
getImageCount
Receives the value of the ODFDOM attribute representation
MetaImageCountAttribute
, See
@meta:image-count.
- Returns:
- the number of
<draw:image>
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 representation
MetaImageCountAttribute
, See
@meta:image-count.
- Parameters:
imageCount
- the number of <draw:image>
element need to set
-
getNonWhitespaceCharacterCount
public Integer getNonWhitespaceCharacterCount()
- 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)
- Parameters:
nonWhitespaceCharacterCount
- the number of non-whitespace characters need to set
-
getObjectCount
Receives the value of the ODFDOM attribute representation
MetaObjectCountAttribute
, See
@meta:object-count
- Returns:
- the number of
<draw:object>
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 representation
MetaObjectCountAttribute
, See
@meta:object-count.
- Parameters:
objectCount
- the number of <draw:object>
element need to set
-
getOleObjectCount
Receives the value of the ODFDOM attribute representation
MetaOleObjectCountAttribute
, See
@meta:ole-object-count.
- Returns:
- the number of
<draw:object-ole>
element contained in the current document;
null
, if the attribute is not set and no default value defined.
-
setOleObjectCount
public void setOleObjectCount(Integer oleObjectCount)
- Parameters:
oleObjectCount
- the number of <draw:object-ole>
element need to set
-
getPageCount
Receives the value of the ODFDOM attribute representation
MetaPageCountAttribute
,
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 representation
MetaPageCountAttribute
, See
@meta:page-count.
- Parameters:
pageCount
- the number of page count need to set
-
getParagraphCount
Receives the value of the ODFDOM attribute representation
MetaParagraphCountAttribute
, See
@meta:paragraph-count.
- Returns:
- the number of
<text:p>
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 representation
MetaParagraphCountAttribute
,
See
@meta:paragraph-count.
- Parameters:
paragraphCount
- the number of <text:p>
element need to set
-
getRowCount
Receives the value of the ODFDOM attribute representation
MetaRowCountAttribute
,
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 representation
MetaRowCountAttribute
, See
@meta:row-count.
- Parameters:
rowCount
- the number of lines need to set
-
getSentenceCount
Receives the value of the ODFDOM attribute representation
MetaSentenceCountAttribute
, 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 representation
MetaSentenceCountAttribute
, See
@meta:sentence-count.
- Parameters:
sentenceCount
- the number of sentences need to set
-
getSyllableCount
Receives the value of the ODFDOM attribute representation
MetaSyllableCountAttribute
, 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 representation
MetaSyllableCountAttribute
, See
@meta:syllable-count.
- Parameters:
syllableCount
- the number of syllables need to set
-
getTableCount
Receives the value of the ODFDOM attribute representation
MetaTableCountAttribute
, See
@meta:table-count.
- Returns:
- the number of
<table:table>
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 representation
MetaTableCountAttribute
, See
@meta:table-count.
- Parameters:
tableCount
- the number of <table:table>
need to set
-
getWordCount
Receives the value of the ODFDOM attribute representation
MetaWordCountAttribute
,
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 representation
MetaWordCountAttribute
, See
@meta:word-count.
- Parameters:
wordCount
- the number of words need to set