org.odftoolkit.odfdom.incubator.meta
Class OdfMetaDocumentStatistic

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

public class OdfMetaDocumentStatistic
extends Object

OdfMetaDocumentStatistic feature specifies the statistics about the document.


Constructor Summary
OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
          Constructor of OdfMetaDocumentStatistic feature.
 
Method Summary
 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.
 
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 Integer 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

public Integer 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

public Integer 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

public Integer getFrameCount()
Receives the value of the ODFDOM attribute representation MetaFrameCountAttribute , 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 representation MetaFrameCountAttribute , See meta:frame-count.

Parameters:
frameCount - the number of element need to set

getImageCount

public Integer getImageCount()
Receives the value of the ODFDOM attribute representation MetaImageCountAttribute , 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 representation MetaImageCountAttribute , See meta:image-count.

Parameters:
imageCount - the number of element need to set

getNonWhitespaceCharacterCount

public Integer getNonWhitespaceCharacterCount()
Receives the value of the ODFDOM attribute representation MetaNonWhitespaceCharacterCountAttribute , 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 representation MetaNonWhitespaceCharacterCountAttribute , 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 representation MetaObjectCountAttribute , 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 representation MetaObjectCountAttribute , See meta:object-count.

Parameters:
objectCount - the number of element need to set

getOleObjectCount

public Integer getOleObjectCount()
Receives the value of the ODFDOM attribute representation MetaOleObjectCountAttribute , 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 representation MetaOleObjectCountAttribute , 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 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

public Integer getParagraphCount()
Receives the value of the ODFDOM attribute representation MetaParagraphCountAttribute , 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 representation MetaParagraphCountAttribute , See meta:paragraph-count.

Parameters:
paragraphCount - the number of element need to set

getRowCount

public Integer 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

public Integer 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

public Integer 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

public Integer getTableCount()
Receives the value of the ODFDOM attribute representation MetaTableCountAttribute , 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 representation MetaTableCountAttribute , See meta:table-count.

Parameters:
tableCount - the number of need to set

getWordCount

public Integer 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


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