Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. Copyright 2009, 2010 IBM. All rights reserved. Use is subject to license terms. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at http://odftoolkit.org/docs/license.txt Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. /
 
 
 package org.odftoolkit.simple.meta;
 
DocumentStatistic feature specifies the statistics about the document.
 
 public class DocumentStatistic {
 
Constructor of DocumentStatistic feature.

Parameters:
docStatistic the MetaDocumentStatisticElement represent this feature
 
 		this. = docStatistic;
 	}

Get the instance of MetaDocumentStatisticElement which represents this feature.

Returns:
an instance of MetaDocumentStatisticElement
 
 		return ;
 	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaCellCountAttribute
 
 	public Integer getCellCount() {
 	}

Sets the value of odf dom attribute representation MetaCellCountAttribute .

Parameters:
cellCount the number of table cells need to be set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaCellCountAttribute
 
 	public void setCellCount(int cellCount) {
 
 	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaCharacterCountAttribute
 
 	public Integer getCharacterCount() {
 	}

Sets the value of odf dom attribute representation MetaCharacterCountAttribute.

Parameters:
characterCount the number of characters need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaCharacterCountAttribute
	public void setCharacterCount(Integer characterCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaDrawCountAttribute
	public Integer getDrawCount() {
	}

Sets the value of odf dom attribute representation MetaDrawCountAttribute.

Parameters:
drawCount the number of all the graphic related element need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaDrawCountAttribute
	public void setDrawCount(Integer drawCount) {
	}

Receives the value of the odf dom attribute representation MetaFrameCountAttribute.

Returns:
the number of <draw:frame> element contained in the current document;

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

See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaFrameCountAttribute
	public Integer getFrameCount() {
	}

Sets the value of odf dom attribute representation MetaFrameCountAttribute .

Parameters:
frameCount the number of <draw:frame> element need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaFrameCountAttribute
	public void setFrameCount(Integer frameCount) {
	}

Receives the value of the odf dom attribute representation MetaImageCountAttribute .

Returns:
the number of <draw:image> element contained in the current document;

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

See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaImageCountAttribute
	public Integer getImageCount() {
	}

Sets the value of odf dom attribute representation MetaImageCountAttribute .

Parameters:
imageCount the number of <draw:image> element need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaImageCountAttribute
	public void setImageCount(Integer imageCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaNonWhitespaceCharacterCountAttribute
	}

Sets the value of odf dom attribute representation MetaNonWhitespaceCharacterCountAttribute.

Parameters:
nonWhitespaceCharacterCount the number of non-whitespace characters need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaNonWhitespaceCharacterCountAttribute
			Integer nonWhitespaceCharacterCount) {
				.setMetaNonWhitespaceCharacterCountAttribute(nonWhitespaceCharacterCount);
	}

Receives the value of the odf dom attribute representation MetaObjectCountAttribute

Returns:
the number of <draw:object> element contained in the current document;

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

See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaObjectCountAttribute
	public Integer getObjectCount() {
	}

Sets the value of odf dom attribute representation MetaObjectCountAttribute.

Parameters:
objectCount the number of <draw:object> element need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaObjectCountAttribute
	public void setObjectCount(Integer objectCount) {
	}

Receives the value of the odf dom attribute representation MetaOleObjectCountAttribute.

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.

See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaOleObjectCountAttribute
	}

Sets the value of odf dom attribute representation MetaOleObjectCountAttribute.

Parameters:
oleObjectCount the number of <draw:object-ole> element need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaOleObjectCountAttribute
	public void setOleObjectCount(Integer oleObjectCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaPageCountAttribute
	public Integer getPageCount() {
	}

Sets the value of odf dom attribute representation MetaPageCountAttribute.

Parameters:
pageCount the number of page count need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaPageCountAttribute
	public void setPageCount(Integer pageCount) {
	}

Receives the value of the odf dom attribute representation MetaParagraphCountAttribute.

Returns:
the number of <text:p> element contained in the current document;

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

See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaParagraphCountAttribute
	}

Sets the value of odf dom attribute representation MetaParagraphCountAttribute.

Parameters:
paragraphCount the number of <text:p> element need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaParagraphCountAttribute
	public void setParagraphCount(Integer paragraphCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaRowCountAttribute
	public Integer getRowCount() {
	}

Sets the value of odf dom attribute representation MetaRowCountAttribute.

Parameters:
rowCount the number of lines need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaRowCountAttribute
	public void setRowCount(Integer rowCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaSentenceCountAttribute.
	}

Sets the value of odf dom attribute representation MetaSentenceCountAttribute.

Parameters:
sentenceCount the number of sentences need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaSentenceCountAttribute.
	public void setSentenceCount(Integer sentenceCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaSyllableCountAttribute.
	}

Sets the value of odf dom attribute representation MetaSyllableCountAttribute.

Parameters:
syllableCount the number of syllables need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaSyllableCountAttribute.
	public void setSyllableCount(Integer syllableCount) {
	}

Receives the value of the odf dom attribute representation MetaTableCountAttribute.

Returns:
the number of <table:table> element contained in the current document;

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

See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaTableCountAttribute.
	public Integer getTableCount() {
	}

Sets the value of odf dom attribute representation MetaTableCountAttribute.

Parameters:
tableCount the number of <table:table> need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaTableCountAttribute.
	public void setTableCount(Integer tableCount) {
	}

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:
org.odftoolkit.odfdom.dom.attribute.meta.MetaWordCountAttribute.
	public Integer getWordCount() {
	}

Sets the value of odf dom attribute representation MetaWordCountAttribute.

Parameters:
wordCount the number of words need to set
See also:
org.odftoolkit.odfdom.dom.attribute.meta.MetaWordCountAttribute.
	public void setWordCount(Integer wordCount) {
	}
New to GrepCode? Check out our FAQ X