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 Details

    • OdfMetaDocumentStatistic

      public OdfMetaDocumentStatistic(MetaDocumentStatisticElement docStatistic)
      Constructor of OdfMetaDocumentStatistic feature.
      Parameters:
      docStatistic - the MetaDocumentStatisticElement represent this feature
  • Method Details

    • 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 <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

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

      public Integer 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)
      Sets the value of ODFDOM attribute representation MetaOleObjectCountAttribute , See @meta:ole-object-count.
      Parameters:
      oleObjectCount - the number of <draw:object-ole> 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 <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

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

      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