| java.lang.Object org.apache.fop.render.rtf.rtflib.rtfdoc.RtfStyleSheetTable
RtfStyleSheetTable | public class RtfStyleSheetTable (Code) | | Singelton of the RTF style sheet table.
This class belongs to the tag processing.
author: Andreas Putz |
STATUS_DEFAULT | final public static int STATUS_DEFAULT(Code) | | Status value for attribute handling, if the stylesheet not found and
the stylesheet set to the default stylesheet
|
STATUS_OK | final public static int STATUS_OK(Code) | | OK status value for attribute handling
|
addStyle | public void addStyle(String name, RtfAttributes attrs)(Code) | | Adds a style to the table.
Parameters: name - Name of style to add Parameters: attrs - Rtf attributes which defines the style |
addStyleToAttributes | public int addStyleToAttributes(String name, RtfAttributes attr)(Code) | | Adds the style attributes to the given attributes.
Parameters: name - Name of style, of which the attributes will copied to attr Parameters: attr - Default rtf attributes Status value |
getDefaultStyleName | public String getDefaultStyleName()(Code) | | Gets the name of the default style.
Default style name. |
setDefaultStyle | public void setDefaultStyle(String styleName)(Code) | | Sets the default style.
Parameters: styleName - Name of the default style, defined in the stylesheet |
writeStyleSheet | public void writeStyleSheet(RtfHeader header) throws IOException(Code) | | Writes the rtf style sheet table.
Parameters: header - Rtf header is the parent throws: IOException - On write error |
|
|