Uses of Class
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes
-
Packages that use RtfAttributes Package Description org.apache.fop.render.rtf RTF (Rich Text Format) Output Supportorg.apache.fop.render.rtf.rtflib.rtfdoc Independent subsystem (not specific to FOP) classes that are used to build RTF documents.org.apache.fop.render.rtf.rtflib.tools Utility classes used in RTF file generation. -
-
Uses of RtfAttributes in org.apache.fop.render.rtf
Subclasses of RtfAttributes in org.apache.fop.render.rtf Modifier and Type Class Description class
FOPRtfAttributes
A RtfAttributes subclass that adds some helper set methods.Methods in org.apache.fop.render.rtf that return RtfAttributes Modifier and Type Method Description (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.RtfAttributes
FOPRtfAttributes. set(java.lang.String name, java.awt.Color color)
Set an attribute that has a Color value.RtfAttributes
FOPRtfAttributes. setHalfPoints(java.lang.String name, Length value)
Set an attribute that has a Length value (internal units in half-points)RtfAttributes
FOPRtfAttributes. setTwips(java.lang.String name, int value)
Set an attribute using a value in millipoints (internal units in twips)RtfAttributes
FOPRtfAttributes. setTwips(java.lang.String name, Length value)
Set an attribute that has a Length value (internal units in twips)Methods in org.apache.fop.render.rtf with parameters of type RtfAttributes Modifier and Type Method Description private 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(java.awt.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, java.lang.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 RtfAttributes Modifier and Type Field Description private RtfAttributes
RtfText. attr
protected RtfAttributes
RtfElement. attrib
attributes of the elementprivate RtfAttributes
RtfJforCmd. attrib
private 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 RtfAttributes Modifier and Type Method Description RtfAttributes
RtfAfterBeforeBase. getAttributes()
RtfAttributes
RtfPage. getAttributes()
RtfPage - attributes accessorRtfAttributes
RtfTable. getBorderAttributes()
Returns the RtfAttributes for the borders of the table.RtfAttributes
RtfSpaceSplitter. getCommonAttributes()
RtfAttributes
RtfTable. getHeaderAttribs()
RtfAttributes
RtfSpaceManager. getLastInlineAttribute()
Peeks at inline-level attribute stack.RtfAttributes
RtfElement. getRtfAttributes()
Added by Normand Masse Used for attribute inheritanceRtfAttributes
RtfTable. getRtfAttributes()
Added by Normand MasseRtfAttributes
RtfParagraph. getTextAttributes()
accessor for text attributesRtfAttributes
RtfText. getTextAttributes()
RtfAttributes
IRtfTextContainer. getTextContainerAttributes()
Text containers usually provide default attributes for all texts that they contain.RtfAttributes
RtfHyperLink. getTextContainerAttributes()
IRtfTextContainer requirement:RtfAttributes
RtfParagraph. getTextContainerAttributes()
IRtfTextContainer requirement: return a copy of our attributesRtfAttributes
RtfText. getTextContainerAttributes()
IRtfTextContainer requirement:RtfAttributes
RtfAttributes. set(java.lang.String name)
set an attribute that has no value.RtfAttributes
RtfAttributes. set(java.lang.String name, int value)
Set an attribute that has an integer valueRtfAttributes
RtfAttributes. set(java.lang.String name, java.lang.String type)
Set an attribute that has a String valueRtfAttributes
RtfAttributes. set(java.lang.String name, RtfAttributes value)
Set an attribute that has nested attributes as valueRtfAttributes
RtfAttributes. set(RtfAttributes attrs)
Set attributes from another attributes objectRtfAttributes
RtfAttributes. unset(java.lang.String name)
unset an attribute that has no valueMethods in org.apache.fop.render.rtf.rtflib.rtfdoc with parameters of type RtfAttributes Modifier and Type Method Description RtfHyperLink
RtfTextrun. 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(java.lang.String name, RtfAttributes attrs)
Adds a style to the table.int
RtfStyleSheetTable. addStyleToAttributes(java.lang.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, java.io.Writer writer, RtfAttributes attrs)
Adds a new RtfTextrun to the given container if necessary, and returns it.RtfAfter
IRtfAfterContainer. newAfter(RtfAttributes attrs)
RtfAfter
RtfSection. newAfter(RtfAttributes attrs)
IRtfAfterContainerRtfBefore
IRtfBeforeContainer. newBefore(RtfAttributes attrs)
RtfBefore
RtfSection. newBefore(RtfAttributes attrs)
IRtfBeforeContainerRtfHyperLink
IRtfHyperLinkContainer. newHyperLink(java.lang.String str, RtfAttributes attr)
Creates a new hyperlink.RtfHyperLink
RtfParagraph. newHyperLink(java.lang.String str, RtfAttributes attr)
Creates a new hyperlink.RtfJforCmd
IRtfJforCmdContainer. newJforCmd(RtfAttributes attr)
RtfJforCmd
RtfSection. newJforCmd(RtfAttributes attrs)
RtfList
IRtfListContainer. newList(RtfAttributes attrs)
Close the current list, if any, and starts a new oneRtfList
RtfFootnote. newList(RtfAttributes attrs)
RtfList
RtfListItem. newList(RtfAttributes attrs)
Start a new list after closing current paragraph, list and tableRtfList
RtfSection. newList(RtfAttributes attrs)
Start a new list after closing current paragraph, list and tableRtfList
RtfTableCell. newList(RtfAttributes attrib)
Start a new list after closing current paragraph, list and tableRtfPage
IRtfPageContainer. newPage(RtfAttributes attrs)
close current text run if any and start a new one with specified attributesRtfPage
RtfPageArea. newPage(RtfAttributes attr)
Close current Rtfpage if any and create a new oneRtfParagraph
IRtfParagraphContainer. newParagraph(RtfAttributes attr)
Close current paragraph, if any, and start a new one with specified attributesRtfParagraph
RtfAfterBeforeBase. newParagraph(RtfAttributes attrs)
RtfParagraph
RtfListItem. newParagraph(RtfAttributes attrs)
Close current paragraph if any and start a new oneRtfParagraph
RtfSection. newParagraph(RtfAttributes attrs)
Start a new paragraph after closing current paragraph, list and tableRtfParagraph
RtfTableCell. newParagraph(RtfAttributes attrs)
Start a new paragraph after closing current current paragraph, list and tableRtfTable
IRtfTableContainer. newTable(RtfAttributes attrs, ITableColumnsInfo tc)
Close current table, if any, and start a new oneRtfTable
RtfAfterBeforeBase. newTable(RtfAttributes attrs, ITableColumnsInfo tc)
close current table if any and start a new oneRtfTable
RtfSection. newTable(RtfAttributes attrs, ITableColumnsInfo tc)
Start a new table after closing current paragraph, list and tableRtfTable
RtfTableCell. newTable(RtfAttributes attrs, ITableColumnsInfo tc)
Start a new nested table after closing current paragraph, list and tableRtfTableCell
RtfTableRow. newTableCell(int cellWidth, RtfAttributes attrs)
Close current cell if any and start a new oneRtfTableCell
RtfTableRow. 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.RtfTableCell
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.RtfTableRow
RtfTable. newTableRow(RtfAttributes attrs)
Close current row if any and start a new oneRtfTemplate
IrtfTemplateContainer. newTemplate(java.lang.String str, RtfAttributes attr)
Creates a new Template.RtfText
IRtfTextContainer. newText(java.lang.String str, RtfAttributes attr)
Close current text element, if any, and start a new oneRtfText
RtfHyperLink. newText(java.lang.String str, RtfAttributes attr)
close current text run if any and start a new oneRtfText
RtfParagraph. newText(java.lang.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.RtfSpaceSplitter
RtfSpaceManager. pushRtfSpaceSplitter(RtfAttributes attrs)
Builds RtfSpaceSplitter onattrs
and adds it to the block-level stack.RtfAttributes
RtfAttributes. set(java.lang.String name, RtfAttributes value)
Set an attribute that has nested attributes as valueRtfAttributes
RtfAttributes. 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.RtfListTable
RtfFile. startListTable(RtfAttributes attr)
Creates the list table.protected void
RtfElement. writeAttributes(RtfAttributes attr, java.lang.String[] nameList)
Write given attribute values to our WriterConstructors in org.apache.fop.render.rtf.rtflib.rtfdoc with parameters of type RtfAttributes Constructor Description RtfAfter(RtfSection parent, java.io.Writer w, RtfAttributes attrs)
RtfAfterBeforeBase(RtfSection parent, java.io.Writer w, RtfAttributes attrs)
RtfBefore(RtfSection parent, java.io.Writer w, RtfAttributes attrs)
RtfBookmarkContainerImpl(RtfContainer parent, java.io.Writer w, RtfAttributes attr)
Constructor.RtfContainer(RtfContainer parent, java.io.Writer w, RtfAttributes attr)
Create an RTF container as a child of given container with given attributesRtfElement(RtfContainer parent, java.io.Writer w, RtfAttributes attr)
Create an RTF element as a child of given container with given attributesRtfExternalGraphic(RtfContainer container, java.io.Writer writer, RtfAttributes attributes)
Default constructor.RtfHyperLink(IRtfTextContainer parent, java.io.Writer writer, java.lang.String str, RtfAttributes attr)
A constructor.RtfHyperLink(RtfTextrun parent, java.io.Writer writer, RtfAttributes attr)
A constructor.RtfJforCmd(RtfContainer parent, java.io.Writer w, RtfAttributes attrs)
RtfLeader(RtfContainer parent, java.io.Writer w, RtfAttributes attrs)
RtfList(RtfContainer parent, java.io.Writer w, RtfAttributes attr)
Create an RTF list as a child of given container with given attributesRtfListItem(RtfList parent, java.io.Writer w, RtfAttributes attr)
Create an RTF list item as a child of given container with given attributesRtfListItemParagraph(RtfListItem rli, RtfAttributes attrs)
RtfListTable(RtfContainer parent, java.io.Writer w, java.lang.Integer num, RtfAttributes attrs)
RtfListTable Constructor: sets the number of the list, and allocates for the RtfAttributesRtfOpenGroupMark(RtfContainer parent, java.io.Writer w, RtfAttributes attr)
RtfPage(RtfPageArea parent, java.io.Writer w, RtfAttributes attrs)
RtfPage creates new page attributes with the parent container, the writer and the attributesRtfPageNumber(RtfContainer parent, java.io.Writer w, RtfAttributes attrs)
Create an RTF page number as a child of given container with given attributesRtfParagraph(IRtfParagraphContainer parent, java.io.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.RtfTable(IRtfTableContainer parent, java.io.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' attributeRtfTableCell(RtfTableRow parent, java.io.Writer w, int cellWidth, RtfAttributes attrs, int idNum)
Create an RTF element as a child of given containerRtfTableRow(RtfTable parent, java.io.Writer w, RtfAttributes attrs, int idNum)
Create an RTF element as a child of given containerRtfText(IRtfTextContainer parent, java.io.Writer w, java.lang.String str, RtfAttributes attr)
Create an RtfText in given IRtfTextContainer.RtfTextrun(RtfContainer parent, java.io.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 RtfAttributes Modifier and Type Method Description RtfAttributes
TableContext. getColumnRowSpanningAttrs()
Methods in org.apache.fop.render.rtf.rtflib.tools with parameters of type RtfAttributes Modifier and Type Method Description void
TableContext. setCurrentColumnRowSpanning(java.lang.Integer iRowSpanning, RtfAttributes attrs)
void
TableContext. setNextColumnRowSpanning(java.lang.Integer iRowSpanning, RtfAttributes attrs)
-