Uses of Class
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes
Packages that use RtfAttributes
Package
Description
RTF (Rich Text Format) Output Support
Independent subsystem (not specific to FOP) classes that are used to build
RTF documents.
Utility classes used in RTF file generation.
-
Uses of RtfAttributes in org.apache.fop.render.rtf
Subclasses of RtfAttributes in org.apache.fop.render.rtfModifier and TypeClassDescriptionclass
A RtfAttributes subclass that adds some helper set methods.Methods in org.apache.fop.render.rtf that return RtfAttributesModifier and TypeMethodDescription(package private) static RtfAttributes
ListAttributesConverter.convertAttributes
(ListBlock fobj) Reads an FO object's properties and adds returns them as RtfAttributes.static RtfAttributes
TextAttributesConverter.convertAttributes
(Block fobj) Converts all known text FO properties to RtfAttributesstatic RtfAttributes
TextAttributesConverter.convertBlockContainerAttributes
(BlockContainer fobj) Converts all known text FO properties to RtfAttributes(package private) static RtfAttributes
TableAttributesConverter.convertCellAttributes
(TableCell fobj) Converts cell attributes to rtf attributes.static RtfAttributes
TextAttributesConverter.convertCharacterAttributes
(Inline fobj) Converts all character related FO properties to RtfAttributes.static RtfAttributes
TextAttributesConverter.convertCharacterAttributes
(PageNumber fobj) Converts all character related FO properties to RtfAttributes.static RtfAttributes
TextAttributesConverter.convertCharacterAttributes
(FOText fobj) Converts all character related FO properties to RtfAttributes.static RtfAttributes
TextAttributesConverter.convertLeaderAttributes
(Leader fobj, PercentBaseContext context) Converts FO properties used by RtfLeader to RtfAttributes.(package private) static RtfAttributes
PageAttributesConverter.convertPageAttributes
(SimplePageMaster pagemaster) convert xsl:fo attributes to RTF text attributes(package private) static RtfAttributes
TableAttributesConverter.convertRowAttributes
(TableRow fobj, RtfAttributes rtfatts) Converts table and row attributes to rtf attributes.(package private) static RtfAttributes
TableAttributesConverter.convertTableAttributes
(Table fobj) Converts table-only attributes to rtf attributes.(package private) static RtfAttributes
TableAttributesConverter.convertTablePartAttributes
(TablePart part) Converts table-only attributes to rtf attributes.Set an attribute that has a Color value.FOPRtfAttributes.setHalfPoints
(String name, Length value) Set an attribute that has a Length value (internal units in half-points)Set an attribute using a value in millipoints (internal units in twips)Set an attribute that has a Length value (internal units in twips)Methods in org.apache.fop.render.rtf with parameters of type RtfAttributesModifier and TypeMethodDescriptionprivate static void
TextAttributesConverter.attrBackgroundColor
(CommonBorderPaddingBackground bpb, RtfAttributes rtfAttr) Reads background-color from bl and writes it to rtfAttr.private static void
TextAttributesConverter.attrBaseLineShift
(Length baselineShift, RtfAttributes rtfAttr) private static void
TextAttributesConverter.attrBlockBackgroundColor
(CommonBorderPaddingBackground bpb, RtfAttributes rtfAttr) Reads background-color for block frombpb
and writes it tortfAttr
.private static void
TextAttributesConverter.attrBlockTextAlign
(int alignment, RtfAttributes rtfAttr) private static void
TextAttributesConverter.attrBorder
(CommonBorderPaddingBackground bpb, RtfAttributes rtfAttr, FONode fobj) Adds border information frombpb
tortrAttr
.private static void
TextAttributesConverter.attrFontColor
(Color colorType, RtfAttributes rtfAttr) private static void
TextAttributesConverter.attrInlineBorder
(CommonBorderPaddingBackground bpb, RtfAttributes rtfAttr) Adds inline border information frombpb
tortrAttr
.private static void
TextAttributesConverter.attrTextDecoration
(CommonTextDecoration textDecoration, RtfAttributes rtfAttr) (package private) static RtfAttributes
TableAttributesConverter.convertRowAttributes
(TableRow fobj, RtfAttributes rtfatts) Converts table and row attributes to rtf attributes.static void
BorderAttributesConverter.makeBorder
(CommonBorderPaddingBackground border, int side, RtfAttributes attributes, String controlWord) Create a border control word in attributes, with border properties as specified in color, style and width. -
Uses of RtfAttributes in org.apache.fop.render.rtf.rtflib.rtfdoc
Fields in org.apache.fop.render.rtf.rtflib.rtfdoc declared as RtfAttributesModifier and TypeFieldDescriptionprivate final RtfAttributes
RtfText.attr
protected final RtfAttributes
RtfElement.attrib
attributes of the elementprivate final RtfAttributes
RtfJforCmd.attrib
private final RtfAttributes
RtfPage.attrib
private RtfAttributes
RtfLeader.attrs
private RtfAttributes
RtfTable.borderAttributes
private RtfAttributes
RtfSpaceSplitter.commonAttributes
Common attributes for all text.private RtfAttributes
RtfTable.headerAttribs
private RtfAttributes
RtfSpaceSplitter.spaceAfterCandidate
Candidate for adding space-before.private RtfAttributes
RtfSpaceSplitter.spaceBeforeCandidate
Candidate for adding space-before.Methods in org.apache.fop.render.rtf.rtflib.rtfdoc that return RtfAttributesModifier and TypeMethodDescriptionRtfAfterBeforeBase.getAttributes()
RtfPage.getAttributes()
RtfPage - attributes accessorRtfTable.getBorderAttributes()
Returns the RtfAttributes for the borders of the table.RtfSpaceSplitter.getCommonAttributes()
RtfTable.getHeaderAttribs()
RtfSpaceManager.getLastInlineAttribute()
Peeks at inline-level attribute stack.RtfElement.getRtfAttributes()
Added by Normand Masse Used for attribute inheritanceRtfTable.getRtfAttributes()
Added by Normand MasseRtfParagraph.getTextAttributes()
accessor for text attributesRtfText.getTextAttributes()
IRtfTextContainer.getTextContainerAttributes()
Text containers usually provide default attributes for all texts that they contain.RtfHyperLink.getTextContainerAttributes()
IRtfTextContainer requirement:RtfParagraph.getTextContainerAttributes()
IRtfTextContainer requirement: return a copy of our attributesRtfText.getTextContainerAttributes()
IRtfTextContainer requirement:set an attribute that has no value.Set an attribute that has an integer valueSet an attribute that has a String valueRtfAttributes.set
(String name, RtfAttributes value) Set an attribute that has nested attributes as valueRtfAttributes.set
(RtfAttributes attrs) Set attributes from another attributes objectunset an attribute that has no valueMethods in org.apache.fop.render.rtf.rtflib.rtfdoc with parameters of type RtfAttributesModifier and TypeMethodDescriptionRtfTextrun.addHyperlink
(RtfAttributes attr) Inserts a hyperlink.void
RtfTextrun.addLeader
(RtfAttributes attrs) Inserts a leader.private void
RtfTextrun.addOpenGroupMark
(RtfAttributes attrs) Adds instance ofOpenGroupMark
as a child with attributes.void
RtfTextrun.addPageNumber
(RtfAttributes attr) Inserts a page number.void
RtfStyleSheetTable.addStyle
(String name, RtfAttributes attrs) Adds a style to the table.int
RtfStyleSheetTable.addStyleToAttributes
(String name, RtfAttributes attr) Adds the style attributes to the given attributes.(package private) RtfTableCell
RtfExtraRowSet.createExtraCell
(int rowIndex, int xOffset, int cellWidth, RtfAttributes parentCellAttributes) create an extra cell to hold content that comes after a nested table in a cell Modified by Boris Poudérous in order to permit the extra cell to have the attributes of its parent cellstatic RtfTextrun
RtfTextrun.getTextrun
(RtfContainer container, Writer writer, RtfAttributes attrs) Adds a new RtfTextrun to the given container if necessary, and returns it.IRtfAfterContainer.newAfter
(RtfAttributes attrs) RtfSection.newAfter
(RtfAttributes attrs) IRtfAfterContainerIRtfBeforeContainer.newBefore
(RtfAttributes attrs) RtfSection.newBefore
(RtfAttributes attrs) IRtfBeforeContainerIRtfHyperLinkContainer.newHyperLink
(String str, RtfAttributes attr) Creates a new hyperlink.RtfParagraph.newHyperLink
(String str, RtfAttributes attr) Creates a new hyperlink.IRtfJforCmdContainer.newJforCmd
(RtfAttributes attr) RtfSection.newJforCmd
(RtfAttributes attrs) IRtfListContainer.newList
(RtfAttributes attrs) Close the current list, if any, and starts a new oneRtfFootnote.newList
(RtfAttributes attrs) RtfListItem.newList
(RtfAttributes attrs) Start a new list after closing current paragraph, list and tableRtfSection.newList
(RtfAttributes attrs) Start a new list after closing current paragraph, list and tableRtfTableCell.newList
(RtfAttributes attrib) Start a new list after closing current paragraph, list and tableIRtfPageContainer.newPage
(RtfAttributes attrs) close current text run if any and start a new one with specified attributesRtfPageArea.newPage
(RtfAttributes attr) Close current Rtfpage if any and create a new oneIRtfParagraphContainer.newParagraph
(RtfAttributes attr) Close current paragraph, if any, and start a new one with specified attributesRtfAfterBeforeBase.newParagraph
(RtfAttributes attrs) RtfListItem.newParagraph
(RtfAttributes attrs) Close current paragraph if any and start a new oneRtfSection.newParagraph
(RtfAttributes attrs) Start a new paragraph after closing current paragraph, list and tableRtfTableCell.newParagraph
(RtfAttributes attrs) Start a new paragraph after closing current current paragraph, list and tableIRtfTableContainer.newTable
(RtfAttributes attrs, ITableColumnsInfo tc) Close current table, if any, and start a new oneRtfAfterBeforeBase.newTable
(RtfAttributes attrs, ITableColumnsInfo tc) close current table if any and start a new oneRtfSection.newTable
(RtfAttributes attrs, ITableColumnsInfo tc) Start a new table after closing current paragraph, list and tableRtfTableCell.newTable
(RtfAttributes attrs, ITableColumnsInfo tc) Start a new nested table after closing current paragraph, list and tableRtfTableRow.newTableCell
(int cellWidth, RtfAttributes attrs) Close current cell if any and start a new oneRtfTableRow.newTableCellMergedHorizontally
(int cellWidth, RtfAttributes attrs) Added by Boris POUDEROUS on 07/02/2002 in order to add an empty cell that is merged with the previous cell.RtfTableRow.newTableCellMergedVertically
(int cellWidth, RtfAttributes attrs) Added by Boris POUDEROUS on 07/02/2002 in order to add an empty cell that is merged with the cell above.RtfTable.newTableRow
(RtfAttributes attrs) Close current row if any and start a new oneIrtfTemplateContainer.newTemplate
(String str, RtfAttributes attr) Creates a new Template.IRtfTextContainer.newText
(String str, RtfAttributes attr) Close current text element, if any, and start a new oneRtfHyperLink.newText
(String str, RtfAttributes attr) close current text run if any and start a new oneRtfParagraph.newText
(String str, RtfAttributes attr) Close current text run if any and start a new onevoid
RtfTextrun.pushBlockAttributes
(RtfAttributes attrs) Pushes block attributes, notifies all opened blocks about pushing block attributes, addsOpenGroupMark
as a child.void
RtfSpaceManager.pushInlineAttributes
(RtfAttributes attrs) Pushes inline attributes to inline-level stack.void
RtfTextrun.pushInlineAttributes
(RtfAttributes attrs) Pushes inline attributes.RtfSpaceManager.pushRtfSpaceSplitter
(RtfAttributes attrs) Builds RtfSpaceSplitter onattrs
and adds it to the block-level stack.RtfAttributes.set
(String name, RtfAttributes value) Set an attribute that has nested attributes as valueRtfAttributes.set
(RtfAttributes attrs) Set attributes from another attributes objectvoid
RtfTable.setBorderAttributes
(RtfAttributes attributes) Sets the RtfAttributes for the borders of the table.void
RtfSpaceManager.setCandidate
(RtfAttributes attrs) Set attributes as candidate for space attributes inheritance.void
RtfTable.setHeaderAttribs
(RtfAttributes attrs) Added by Normand Masse Support for table-header attributes (used instead of table attributes)void
RtfSpaceSplitter.setSpaceAfterCandidate
(RtfAttributes candidate) Sets a candidate for space-after property.void
RtfSpaceSplitter.setSpaceBeforeCandidate
(RtfAttributes candidate) Sets a candidate for space-before property.RtfFile.startListTable
(RtfAttributes attr) Creates the list table.protected void
RtfElement.writeAttributes
(RtfAttributes attr, String[] nameList) Write given attribute values to our WriterConstructors in org.apache.fop.render.rtf.rtflib.rtfdoc with parameters of type RtfAttributesModifierConstructorDescription(package private)
RtfAfter
(RtfSection parent, Writer w, RtfAttributes attrs) (package private)
RtfAfterBeforeBase
(RtfSection parent, Writer w, RtfAttributes attrs) (package private)
RtfBefore
(RtfSection parent, Writer w, RtfAttributes attrs) (package private)
RtfBookmarkContainerImpl
(RtfContainer parent, Writer w, RtfAttributes attr) Constructor.(package private)
RtfContainer
(RtfContainer parent, Writer w, RtfAttributes attr) Create an RTF container as a child of given container with given attributes(package private)
RtfElement
(RtfContainer parent, Writer w, RtfAttributes attr) Create an RTF element as a child of given container with given attributesRtfExternalGraphic
(RtfContainer container, Writer writer, RtfAttributes attributes) Default constructor.RtfHyperLink
(IRtfTextContainer parent, Writer writer, String str, RtfAttributes attr) A constructor.RtfHyperLink
(RtfTextrun parent, Writer writer, RtfAttributes attr) A constructor.(package private)
RtfJforCmd
(RtfContainer parent, Writer w, RtfAttributes attrs) (package private)
RtfLeader
(RtfContainer parent, Writer w, RtfAttributes attrs) (package private)
RtfList
(RtfContainer parent, Writer w, RtfAttributes attr) Create an RTF list as a child of given container with given attributes(package private)
RtfListItem
(RtfList parent, Writer w, RtfAttributes attr) Create an RTF list item as a child of given container with given attributes(package private)
RtfListItemParagraph
(RtfListItem rli, RtfAttributes attrs) RtfListTable
(RtfContainer parent, Writer w, Integer num, RtfAttributes attrs) RtfListTable Constructor: sets the number of the list, and allocates for the RtfAttributes(package private)
RtfOpenGroupMark
(RtfContainer parent, Writer w, RtfAttributes attr) (package private)
RtfPage
(RtfPageArea parent, Writer w, RtfAttributes attrs) RtfPage creates new page attributes with the parent container, the writer and the attributes(package private)
RtfPageNumber
(RtfContainer parent, Writer w, RtfAttributes attrs) Create an RTF page number as a child of given container with given attributes(package private)
RtfParagraph
(IRtfParagraphContainer parent, Writer w, RtfAttributes attr) Create an RTF paragraph as a child of given container with given attributesRtfSpaceSplitter
(RtfAttributes attrs, int previousSpace) Create RtfSpaceSplitter with given RtfAttributes.(package private)
RtfTable
(IRtfTableContainer parent, Writer w, RtfAttributes attrs, ITableColumnsInfo tc) Create an RTF element as a child of given container Modified by Boris Poudérous in order to process 'number-columns-spanned' attribute(package private)
RtfTableCell
(RtfTableRow parent, Writer w, int cellWidth, RtfAttributes attrs, int idNum) Create an RTF element as a child of given container(package private)
RtfTableRow
(RtfTable parent, Writer w, RtfAttributes attrs, int idNum) Create an RTF element as a child of given container(package private)
RtfText
(IRtfTextContainer parent, Writer w, String str, RtfAttributes attr) Create an RtfText in given IRtfTextContainer.(package private)
RtfTextrun
(RtfContainer parent, Writer w, RtfAttributes attrs) Create an RTF container as a child of given container -
Uses of RtfAttributes in org.apache.fop.render.rtf.rtflib.tools
Methods in org.apache.fop.render.rtf.rtflib.tools that return RtfAttributesMethods in org.apache.fop.render.rtf.rtflib.tools with parameters of type RtfAttributesModifier and TypeMethodDescriptionvoid
TableContext.setCurrentColumnRowSpanning
(Integer iRowSpanning, RtfAttributes attrs) void
TableContext.setNextColumnRowSpanning
(Integer iRowSpanning, RtfAttributes attrs)