public class AuthorField extends Field
NOTE: Before the document is opened in any editor, the value of this field is invalid.
Field.FieldType| Modifier and Type | Method and Description |
|---|---|
Field.FieldType |
getFieldType()
Return the type of this field.
|
OdfElement |
getOdfElement()
Return an instance of
OdfElement which represents this feature. |
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponentpublic OdfElement getOdfElement()
OdfElement which represents this feature. If this is an
initial author field, an instance of TextAuthorInitialsElement is returned,
otherwise an instance of TextAuthorNameElement is returned.getOdfElement in class ComponentOdfElementpublic Field.FieldType getFieldType()
FieldgetFieldType in class FieldCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.