org.odftoolkit.odfdom.incubator.meta
Class OdfMetaDocumentStatistic

java.lang.Object
  extended by org.odftoolkit.odfdom.incubator.meta.OdfMetaDocumentStatistic

public class OdfMetaDocumentStatistic
extends java.lang.Object

OdfMetaDocumentStatistic feature specifies the statistics about the document.


Constructor Summary
OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
          Constructor of OdfMetaDocumentStatistic feature.
 
Method Summary
 java.lang.Integer getCellCount()
          Receives the value of the ODFDOM attribute representation MetaCellCountAttribute , See .
 java.lang.Integer getCharacterCount()
          Receives the value of the ODFDOM attribute representation MetaCharacterCountAttribute , See .
 java.lang.Integer getDrawCount()
          Receives the value of the ODFDOM attribute representation MetaDrawCountAttribute , See .
 java.lang.Integer getFrameCount()
          Receives the value of the ODFDOM attribute representation MetaFrameCountAttribute , See .
 java.lang.Integer getImageCount()
          Receives the value of the ODFDOM attribute representation MetaImageCountAttribute , See .
 java.lang.Integer getNonWhitespaceCharacterCount()
          Receives the value of the ODFDOM attribute representation MetaNonWhitespaceCharacterCountAttribute , See .
 java.lang.Integer getObjectCount()
          Receives the value of the ODFDOM attribute representation MetaObjectCountAttribute , See
 java.lang.Integer getOleObjectCount()
          Receives the value of the ODFDOM attribute representation MetaOleObjectCountAttribute , See .
 java.lang.Integer getPageCount()
          Receives the value of the ODFDOM attribute representation MetaPageCountAttribute , See .
 java.lang.Integer getParagraphCount()
          Receives the value of the ODFDOM attribute representation MetaParagraphCountAttribute , See .
 java.lang.Integer getRowCount()
          Receives the value of the ODFDOM attribute representation MetaRowCountAttribute , See .
 java.lang.Integer getSentenceCount()
          Receives the value of the ODFDOM attribute representation MetaSentenceCountAttribute , See .
 java.lang.Integer getSyllableCount()
          Receives the value of the ODFDOM attribute representation MetaSyllableCountAttribute , See .
 java.lang.Integer getTableCount()
          Receives the value of the ODFDOM attribute representation MetaTableCountAttribute , See .
 java.lang.Integer getWordCount()
          Receives the value of the ODFDOM attribute representation MetaWordCountAttribute , See .
 void setCellCount(int cellCount)
          Sets the value of ODFDOM attribute representation MetaCellCountAttribute , See .
 void setCharacterCount(java.lang.Integer characterCount)
          Sets the value of ODFDOM attribute representation MetaCharacterCountAttribute , See .
 void setDrawCount(java.lang.Integer drawCount)
          Sets the value of ODFDOM attribute representation MetaDrawCountAttribute , See .
 void setFrameCount(java.lang.Integer frameCount)
          Sets the value of ODFDOM attribute representation MetaFrameCountAttribute , See .
 void setImageCount(java.lang.Integer imageCount)
          Sets the value of ODFDOM attribute representation MetaImageCountAttribute , See .
 void setNonWhitespaceCharacterCount(java.lang.Integer nonWhitespaceCharacterCount)
          Sets the value of ODFDOM attribute representation MetaNonWhitespaceCharacterCountAttribute , See .
 void setObjectCount(java.lang.Integer objectCount)
          Sets the value of ODFDOM attribute representation MetaObjectCountAttribute , See .
 void setOleObjectCount(java.lang.Integer oleObjectCount)
          Sets the value of ODFDOM attribute representation MetaOleObjectCountAttribute , See .
 void setPageCount(java.lang.Integer pageCount)
          Sets the value of ODFDOM attribute representation MetaPageCountAttribute , See .
 void setParagraphCount(java.lang.Integer paragraphCount)
          Sets the value of ODFDOM attribute representation MetaParagraphCountAttribute , See .
 void setRowCount(java.lang.Integer rowCount)
          Sets the value of ODFDOM attribute representation MetaRowCountAttribute , See .
 void setSentenceCount(java.lang.Integer sentenceCount)
          Sets the value of ODFDOM attribute representation MetaSentenceCountAttribute , See .
 void setSyllableCount(java.lang.Integer syllableCount)
          Sets the value of ODFDOM attribute representation MetaSyllableCountAttribute , See .
 void setTableCount(java.lang.Integer tableCount)
          Sets the value of ODFDOM attribute representation MetaTableCountAttribute , See .
 void setWordCount(java.lang.Integer wordCount)
          Sets the value of ODFDOM attribute representation MetaWordCountAttribute , See .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdfMetaDocumentStatistic

public OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor of OdfMetaDocumentStatistic feature.

Parameters:
docStatistic - the MetaDocumentStatisticElement represent this feature
Method Detail

getCellCount

public java.lang.Integer getCellCount()
Receives the value of the ODFDOM attribute representation MetaCellCountAttribute , See .

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 .

Parameters:
cellCount - the number of table cells need to be set

getCharacterCount

public java.lang.Integer getCharacterCount()
Receives the value of the ODFDOM attribute representation MetaCharacterCountAttribute , See .

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(java.lang.Integer characterCount)
Sets the value of ODFDOM attribute representation MetaCharacterCountAttribute , See .

Parameters:
characterCount - the number of characters need to set

getDrawCount

public java.lang.Integer getDrawCount()
Receives the value of the ODFDOM attribute representation MetaDrawCountAttribute , See .

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(java.lang.Integer drawCount)
Sets the value of ODFDOM attribute representation MetaDrawCountAttribute , See .

Parameters:
drawCount - the number of all the graphic related element need to set

getFrameCount

public java.lang.Integer getFrameCount()
Receives the value of the ODFDOM attribute representation MetaFrameCountAttribute , See .

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(java.lang.Integer frameCount)
Sets the value of ODFDOM attribute representation MetaFrameCountAttribute , See .

Parameters:
frameCount - the number of element need to set

getImageCount

public java.lang.Integer getImageCount()
Receives the value of the ODFDOM attribute representation MetaImageCountAttribute , See .

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(java.lang.Integer imageCount)
Sets the value of ODFDOM attribute representation MetaImageCountAttribute , See .

Parameters:
imageCount - the number of element need to set

getNonWhitespaceCharacterCount

public java.lang.Integer getNonWhitespaceCharacterCount()
Receives the value of the ODFDOM attribute representation MetaNonWhitespaceCharacterCountAttribute , See .

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(java.lang.Integer nonWhitespaceCharacterCount)
Sets the value of ODFDOM attribute representation MetaNonWhitespaceCharacterCountAttribute , See .

Parameters:
nonWhitespaceCharacterCount - the number of non-whitespace characters need to set

getObjectCount

public java.lang.Integer getObjectCount()
Receives the value of the ODFDOM attribute representation MetaObjectCountAttribute , See

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(java.lang.Integer objectCount)
Sets the value of ODFDOM attribute representation MetaObjectCountAttribute , See .

Parameters:
objectCount - the number of element need to set

getOleObjectCount

public java.lang.Integer getOleObjectCount()
Receives the value of the ODFDOM attribute representation MetaOleObjectCountAttribute , See .

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(java.lang.Integer oleObjectCount)
Sets the value of ODFDOM attribute representation MetaOleObjectCountAttribute , See .

Parameters:
oleObjectCount - the number of element need to set

getPageCount

public java.lang.Integer getPageCount()
Receives the value of the ODFDOM attribute representation MetaPageCountAttribute , See .

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(java.lang.Integer pageCount)
Sets the value of ODFDOM attribute representation MetaPageCountAttribute , See .

Parameters:
pageCount - the number of page count need to set

getParagraphCount

public java.lang.Integer getParagraphCount()
Receives the value of the ODFDOM attribute representation MetaParagraphCountAttribute , See .

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(java.lang.Integer paragraphCount)
Sets the value of ODFDOM attribute representation MetaParagraphCountAttribute , See .

Parameters:
paragraphCount - the number of element need to set

getRowCount

public java.lang.Integer getRowCount()
Receives the value of the ODFDOM attribute representation MetaRowCountAttribute , See .

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(java.lang.Integer rowCount)
Sets the value of ODFDOM attribute representation MetaRowCountAttribute , See .

Parameters:
rowCount - the number of lines need to set

getSentenceCount

public java.lang.Integer getSentenceCount()
Receives the value of the ODFDOM attribute representation MetaSentenceCountAttribute , See .

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(java.lang.Integer sentenceCount)
Sets the value of ODFDOM attribute representation MetaSentenceCountAttribute , See .

Parameters:
sentenceCount - the number of sentences need to set

getSyllableCount

public java.lang.Integer getSyllableCount()
Receives the value of the ODFDOM attribute representation MetaSyllableCountAttribute , See .

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(java.lang.Integer syllableCount)
Sets the value of ODFDOM attribute representation MetaSyllableCountAttribute , See .

Parameters:
syllableCount - the number of syllables need to set

getTableCount

public java.lang.Integer getTableCount()
Receives the value of the ODFDOM attribute representation MetaTableCountAttribute , See .

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(java.lang.Integer tableCount)
Sets the value of ODFDOM attribute representation MetaTableCountAttribute , See .

Parameters:
tableCount - the number of need to set

getWordCount

public java.lang.Integer getWordCount()
Receives the value of the ODFDOM attribute representation MetaWordCountAttribute , See .

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(java.lang.Integer wordCount)
Sets the value of ODFDOM attribute representation MetaWordCountAttribute , See .

Parameters:
wordCount - the number of words need to set


Copyright © 2008-2010 ODF Toolkit Project. All Rights Reserved.