writer2latex.office
Class FormReader
java.lang.Object
writer2latex.office.FormReader
public class FormReader
extends java.lang.Object
This class reads a form in an OOo document (a form:form node)
Note: Subforms, properties and events are ignored.
String | getAttribute(String sName) - Get an attribute of the form.
|
String | getName() - A form in OOo is identified by name (
form:name
attribute.
|
FormReader
public FormReader(Element form,
FormsReader forms)
The constructor reads the content of a form:form
element
form
- a DOM element, which must be form:form
node
getAttribute
public String getAttribute(String sName)
Get an attribute of the form. If the attribute does not exist,
this method returns null
.
sName
- the name of the attribute
- the value of the attribute, or
null
getName
public String getName()
A form in OOo is identified by name (form:name
attribute. The name is accessed by this method.