LibreOffice Module xmerge (master)
1
|
Represents a text. More...
Public Member Functions | |
RowStyle (Node node, StyleCatalog sc) | |
Constructor for use when going from DOM to client device format. More... | |
RowStyle (String name, String family, String parent, int rowHeight, StyleCatalog sc) | |
Constructor for use when going from client device format to DOM. More... | |
int | getRowHeight () |
Returns the height of this row. More... | |
Style | getResolved () |
Return a. More... | |
Node | createNode (org.w3c.dom.Document parentDoc, String name) |
Create a new. More... | |
boolean | isSubset (Style style) |
Return true if. More... | |
![]() | |
Style (Node node, StyleCatalog sc) | |
Constructor for use when going from DOM to client device format. More... | |
Style (String name, String family, String parent, StyleCatalog sc) | |
Constructor for use when going from client device format to DOM. More... | |
void | setCatalog (StyleCatalog sc) |
Set the. More... | |
String | getName () |
Returns the name of this. More... | |
void | setName (String newName) |
Sets the name of this. More... | |
String | getFamily () |
Return the family of this. More... | |
String | getParent () |
Return the name of the parent of this. More... | |
Style | getResolved () |
Return a. More... | |
Node | createNode (org.w3c.dom.Document parentDoc, String name) |
Write a. More... | |
boolean | isSubset (Style style) |
Return. More... | |
Private Member Functions | |
void | setRowHeight (int RowHeight) |
Sets the height of this row. More... | |
int | parseRowHeight (String value) |
Parse a rowheight in the form { "1.234cm"} to twips. More... | |
void | handleAttribute (String attr, String value) |
Set an attribute. More... | |
void | writeAttributes (Element node) |
Write this. More... | |
Private Attributes | |
int | rowHeight = 255 |
Additional Inherited Members | |
![]() | |
String | name = null |
Name of the. More... | |
String | family = null |
Family of the. More... | |
String | parent = null |
Parent of the. More... | |
StyleCatalog | sc |
A reference to the. More... | |
|
inline |
Constructor for use when going from DOM to client device format.
node | The style:style containing the . (This is assumed have a family attribute of text). |
sc | The StyleCatalog
|
Definition at line 46 of file RowStyle.java.
References org.openoffice.xmerge.converter.xml.sxc.RowStyle.handleAttribute(), i, and String.
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.getResolved(), and org.openoffice.xmerge.converter.xml.sxc.RowStyle.isSubset().
|
inline |
Constructor for use when going from client device format to DOM.
name | Name of text . Can be null
|
family | Family of text (usually text). Can be null
|
parent | Name of parent text , or null
|
rowHeight | The height of this row. |
sc | The StyleCatalog
|
Definition at line 97 of file RowStyle.java.
References org.openoffice.xmerge.converter.xml.sxc.RowStyle.rowHeight.
|
inline |
Create a new.
in the
, and write this
to it.
parentDoc | Parent of the to create. |
name | Name to use for the new (e.g. style:style) |
Definition at line 207 of file RowStyle.java.
References org.openoffice.xmerge.converter.xml.sxc.RowStyle.writeAttributes().
|
inline |
Return a.
object corresponding to this one, but with all of the inherited information from parent
objects filled in.
The object returned will be a new object, not a reference to this object, even if it does not need any information added.
Definition at line 157 of file RowStyle.java.
References clone(), org.openoffice.xmerge.util.Debug.ERROR, Exception, org.openoffice.xmerge.converter.xml.Style.family, org.openoffice.xmerge.converter.xml.sxc.RowStyle.getResolved(), org.openoffice.xmerge.converter.xml.sxc.RowStyle.getRowHeight(), org.openoffice.xmerge.util.Debug.log(), org.openoffice.xmerge.converter.xml.Style.name, org.openoffice.xmerge.converter.xml.Style.parent, org.openoffice.xmerge.converter.xml.sxc.RowStyle.RowStyle(), and org.openoffice.xmerge.converter.xml.sxc.RowStyle.setRowHeight().
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.getResolved().
|
inline |
Returns the height of this row.
Definition at line 107 of file RowStyle.java.
References org.openoffice.xmerge.converter.xml.sxc.RowStyle.rowHeight.
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.getResolved(), org.openoffice.xmerge.converter.xml.sxc.RowStyle.isSubset(), and org.openoffice.xmerge.converter.xml.sxc.SxcDocumentSerializer.traverseTableRow().
|
inlineprivate |
Set an attribute.
attr | The attribute to set. |
value | The attribute value to set. |
Definition at line 137 of file RowStyle.java.
References org.openoffice.xmerge.util.Debug.INFO, org.openoffice.xmerge.util.Debug.log(), and org.openoffice.xmerge.converter.xml.sxc.RowStyle.parseRowHeight().
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.RowStyle().
|
inline |
Return true if.
specifies as much or less than this
, and nothing it specifies contradicts this
.
style | The to check. |
Definition at line 223 of file RowStyle.java.
References getClass(), org.openoffice.xmerge.converter.xml.sxc.RowStyle.getRowHeight(), and org.openoffice.xmerge.converter.xml.sxc.RowStyle.RowStyle().
|
inlineprivate |
Parse a rowheight in the form { "1.234cm"} to twips.
value |
Definition at line 127 of file RowStyle.java.
References org.openoffice.xmerge.util.TwipsConverter.convert2twips().
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.handleAttribute().
Sets the height of this row.
RowHeight | The height of this row. |
Definition at line 116 of file RowStyle.java.
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.getResolved().
Write this.
object's attributes to a
in the
.
node | The to add attributes. |
Definition at line 237 of file RowStyle.java.
References String, and org.openoffice.xmerge.util.TwipsConverter.twips2cm().
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.createNode().
|
private |
Definition at line 36 of file RowStyle.java.
Referenced by org.openoffice.xmerge.converter.xml.sxc.RowStyle.getRowHeight(), and org.openoffice.xmerge.converter.xml.sxc.RowStyle.RowStyle().