public interface VariableContainer
VariableField
,
TextDocument
,
Header
,
Footer
Modifier and Type | Method and Description |
---|---|
VariableField |
declareVariable(String name,
VariableField.VariableType type)
Declare a new variable field to this container.
|
OdfElement |
getVariableContainerElement()
Get the ODF element which can have variable declare section as child element directly according
to ODF specification.
|
VariableField |
getVariableFieldByName(String name)
Return the declared variable by name.
|
OdfElement getVariableContainerElement()
The variable declare section may be
VariableField declareVariable(String name, VariableField.VariableType type)
name
- the unique name of this variable field.type
- the type of this variable field.VariableField getVariableFieldByName(String name)
name
- the unique name of this variable field.Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.