|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.simple.Component
org.odftoolkit.simple.common.field.Field
org.odftoolkit.simple.common.field.PageCountField
public class PageCountField
A PageCountField displays the total number of pages in a document. The value of this field is from the owner document meta statistic information.
NOTE: Before the document is opened in any editor, the value of this field maybe invalid.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.odftoolkit.simple.common.field.Field |
---|
Field.FieldType |
Method Summary | |
---|---|
Field.FieldType |
getFieldType()
Return the type of this field. |
TextPageCountElement |
getOdfElement()
Return an instance of TextPageCountElement which represents
this feature. |
void |
setNumberFormat(NumberFormat format)
Specifies the number format of this field. |
Methods inherited from class org.odftoolkit.simple.Component |
---|
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setNumberFormat(NumberFormat format)
format
- the format which is predefined in
NumberFormat
.NumberFormat
public TextPageCountElement getOdfElement()
TextPageCountElement
which represents
this feature.
getOdfElement
in class Component
TextPageCountElement
public Field.FieldType getFieldType()
Field
getFieldType
in class Field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |