org.odftoolkit.simple.meta
Class DocumentStatistic

java.lang.Object
  extended by org.odftoolkit.simple.meta.DocumentStatistic

public class DocumentStatistic
extends Object

DocumentStatistic feature specifies the statistics about the document.


Constructor Summary
DocumentStatistic(MetaDocumentStatisticElement docStatistic)
          Constructor of DocumentStatistic feature.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentStatistic

public DocumentStatistic(MetaDocumentStatisticElement docStatistic)
Constructor of DocumentStatistic feature.

Parameters:
docStatistic - the MetaDocumentStatisticElement represent this feature
Method Detail

getCellCount

public Integer getCellCount()
Receives the value of the odf dom attribute representation MetaCellCountAttribute.

Returns:
the number of table cells contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaCellCountAttribute

setCellCount

public void setCellCount(int cellCount)
Sets the value of odf dom attribute representation MetaCellCountAttribute .

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

getCharacterCount

public Integer getCharacterCount()
Receives the value of the odf dom attribute representation MetaCharacterCountAttribute .

Returns:
the number of characters contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaCharacterCountAttribute

setCharacterCount

public void setCharacterCount(Integer characterCount)
Sets the value of odf dom attribute representation MetaCharacterCountAttribute.

Parameters:
characterCount - the number of characters need to set
See Also:
MetaCharacterCountAttribute

getDrawCount

public Integer getDrawCount()
Receives the value of the odf dom attribute representation MetaDrawCountAttribute .

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.

See Also:
MetaDrawCountAttribute

setDrawCount

public void setDrawCount(Integer drawCount)
Sets the value of odf dom attribute representation MetaDrawCountAttribute.

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

getFrameCount

public Integer getFrameCount()
Receives the value of the odf dom attribute representation MetaFrameCountAttribute.

Returns:
the number of element contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaFrameCountAttribute

setFrameCount

public void setFrameCount(Integer frameCount)
Sets the value of odf dom attribute representation MetaFrameCountAttribute .

Parameters:
frameCount - the number of element need to set
See Also:
MetaFrameCountAttribute

getImageCount

public Integer getImageCount()
Receives the value of the odf dom attribute representation MetaImageCountAttribute .

Returns:
the number of element contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaImageCountAttribute

setImageCount

public void setImageCount(Integer imageCount)
Sets the value of odf dom attribute representation MetaImageCountAttribute .

Parameters:
imageCount - the number of element need to set
See Also:
MetaImageCountAttribute

getNonWhitespaceCharacterCount

public Integer getNonWhitespaceCharacterCount()
Receives the value of the odf dom attribute representation MetaNonWhitespaceCharacterCountAttribute.

Returns:
the number of non-whitespace characters contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaNonWhitespaceCharacterCountAttribute

setNonWhitespaceCharacterCount

public void setNonWhitespaceCharacterCount(Integer nonWhitespaceCharacterCount)
Sets the value of odf dom attribute representation MetaNonWhitespaceCharacterCountAttribute.

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

getObjectCount

public Integer getObjectCount()
Receives the value of the odf dom attribute representation MetaObjectCountAttribute

Returns:
the number of element contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaObjectCountAttribute

setObjectCount

public void setObjectCount(Integer objectCount)
Sets the value of odf dom attribute representation MetaObjectCountAttribute.

Parameters:
objectCount - the number of element need to set
See Also:
MetaObjectCountAttribute

getOleObjectCount

public Integer getOleObjectCount()
Receives the value of the odf dom attribute representation MetaOleObjectCountAttribute.

Returns:
the number of element contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaOleObjectCountAttribute

setOleObjectCount

public void setOleObjectCount(Integer oleObjectCount)
Sets the value of odf dom attribute representation MetaOleObjectCountAttribute.

Parameters:
oleObjectCount - the number of element need to set
See Also:
MetaOleObjectCountAttribute

getPageCount

public Integer getPageCount()
Receives the value of the odf dom attribute representation MetaPageCountAttribute.

Returns:
the number of page count contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaPageCountAttribute

setPageCount

public void setPageCount(Integer pageCount)
Sets the value of odf dom attribute representation MetaPageCountAttribute.

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

getParagraphCount

public Integer getParagraphCount()
Receives the value of the odf dom attribute representation MetaParagraphCountAttribute.

Returns:
the number of element contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaParagraphCountAttribute

setParagraphCount

public void setParagraphCount(Integer paragraphCount)
Sets the value of odf dom attribute representation MetaParagraphCountAttribute.

Parameters:
paragraphCount - the number of element need to set
See Also:
MetaParagraphCountAttribute

getRowCount

public Integer getRowCount()
Receives the value of the odf dom attribute representation MetaRowCountAttribute.

Returns:
the number of lines contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaRowCountAttribute

setRowCount

public void setRowCount(Integer rowCount)
Sets the value of odf dom attribute representation MetaRowCountAttribute.

Parameters:
rowCount - the number of lines need to set
See Also:
MetaRowCountAttribute

getSentenceCount

public Integer getSentenceCount()
Receives the value of the odf dom attribute representation MetaSentenceCountAttribute.

Returns:
the number of sentences contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaSentenceCountAttribute

setSentenceCount

public void setSentenceCount(Integer sentenceCount)
Sets the value of odf dom attribute representation MetaSentenceCountAttribute.

Parameters:
sentenceCount - the number of sentences need to set
See Also:
MetaSentenceCountAttribute

getSyllableCount

public Integer getSyllableCount()
Receives the value of the odf dom attribute representation MetaSyllableCountAttribute.

Returns:
the number of syllables contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaSyllableCountAttribute

setSyllableCount

public void setSyllableCount(Integer syllableCount)
Sets the value of odf dom attribute representation MetaSyllableCountAttribute.

Parameters:
syllableCount - the number of syllables need to set
See Also:
MetaSyllableCountAttribute

getTableCount

public Integer getTableCount()
Receives the value of the odf dom attribute representation MetaTableCountAttribute.

Returns:
the number of element contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaTableCountAttribute

setTableCount

public void setTableCount(Integer tableCount)
Sets the value of odf dom attribute representation MetaTableCountAttribute.

Parameters:
tableCount - the number of need to set
See Also:
MetaTableCountAttribute

getWordCount

public Integer getWordCount()
Receives the value of the odf dom attribute representation MetaWordCountAttribute.

Returns:
the number of words contained in the current document;

null, if the attribute is not set and no default value defined.

See Also:
MetaWordCountAttribute

setWordCount

public void setWordCount(Integer wordCount)
Sets the value of odf dom attribute representation MetaWordCountAttribute.

Parameters:
wordCount - the number of words need to set
See Also:
MetaWordCountAttribute


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.