Package | Description |
---|---|
org.apache.fop.render.rtf |
RTF (Rich Text Format) Output Support
|
org.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.
|
Modifier and Type | Class and Description |
---|---|
class |
FOPRtfAttributes
A RtfAttributes subclass that adds some helper set methods.
|
Modifier and Type | Method and Description |
---|---|
RtfAttributes |
FOPRtfAttributes.set(String name,
Color color)
Set an attribute that has a Color value.
|
RtfAttributes |
FOPRtfAttributes.setHalfPoints(String name,
Length value)
Set an attribute that has a Length value (internal units in half-points)
|
RtfAttributes |
FOPRtfAttributes.setTwips(String name,
int value)
Set an attribute using a value in millipoints (internal units in twips)
|
RtfAttributes |
FOPRtfAttributes.setTwips(String name,
Length value)
Set an attribute that has a Length value (internal units in twips)
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected RtfAttributes |
RtfElement.attrib
attributes of the element
|
Modifier and Type | Method and Description |
---|---|
RtfAttributes |
RtfPage.getAttributes()
RtfPage - attributes accessor
|
RtfAttributes |
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 inheritance
|
RtfAttributes |
RtfTable.getRtfAttributes()
Added by Normand Masse
|
RtfAttributes |
RtfText.getTextAttributes() |
RtfAttributes |
RtfParagraph.getTextAttributes()
accessor for text attributes
|
RtfAttributes |
IRtfTextContainer.getTextContainerAttributes()
Text containers usually provide default attributes for all texts that they contain.
|
RtfAttributes |
RtfText.getTextContainerAttributes()
IRtfTextContainer requirement:
|
RtfAttributes |
RtfHyperLink.getTextContainerAttributes()
IRtfTextContainer requirement:
|
RtfAttributes |
RtfParagraph.getTextContainerAttributes()
IRtfTextContainer requirement: return a copy of our attributes
|
RtfAttributes |
RtfAttributes.set(RtfAttributes attrs)
Set attributes from another attributes object
|
RtfAttributes |
RtfAttributes.set(String name)
set an attribute that has no value.
|
RtfAttributes |
RtfAttributes.set(String name,
int value)
Set an attribute that has an integer value
|
RtfAttributes |
RtfAttributes.set(String name,
RtfAttributes value)
Set an attribute that has nested attributes as value
|
RtfAttributes |
RtfAttributes.set(String name,
String type)
Set an attribute that has a String value
|
RtfAttributes |
RtfAttributes.unset(String name)
unset an attribute that has no value
|
Modifier and Type | Method and Description |
---|---|
RtfHyperLink |
RtfTextrun.addHyperlink(RtfAttributes attr)
Inserts a hyperlink.
|
void |
RtfTextrun.addLeader(RtfAttributes attrs)
Inserts a leader.
|
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.
|
static RtfTextrun |
RtfTextrun.getTextrun(RtfContainer container,
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)
IRtfAfterContainer
|
RtfBefore |
IRtfBeforeContainer.newBefore(RtfAttributes attrs) |
RtfBefore |
RtfSection.newBefore(RtfAttributes attrs)
IRtfBeforeContainer
|
RtfHyperLink |
IRtfHyperLinkContainer.newHyperLink(String str,
RtfAttributes attr)
Creates a new hyperlink.
|
RtfHyperLink |
RtfParagraph.newHyperLink(String str,
RtfAttributes attr)
Creates a new hyperlink.
|
RtfJforCmd |
IRtfJforCmdContainer.newJforCmd(RtfAttributes attr) |
RtfJforCmd |
RtfSection.newJforCmd(RtfAttributes attrs) |
RtfList |
RtfTableCell.newList(RtfAttributes attrib)
Start a new list after closing current paragraph, list and table
|
RtfList |
IRtfListContainer.newList(RtfAttributes attrs)
Close the current list, if any, and starts a new one
|
RtfList |
RtfListItem.newList(RtfAttributes attrs)
Start a new list after closing current paragraph, list and table
|
RtfList |
RtfFootnote.newList(RtfAttributes attrs) |
RtfList |
RtfSection.newList(RtfAttributes attrs)
Start a new list after closing current paragraph, list and table
|
RtfPage |
IRtfPageContainer.newPage(RtfAttributes attrs)
close current text run if any and start a new one with specified attributes
|
RtfPage |
RtfPageArea.newPage(RtfAttributes attr)
Close current Rtfpage if any and create a new one
|
RtfParagraph |
RtfTableCell.newParagraph(RtfAttributes attrs)
Start a new paragraph after closing current current paragraph, list and table
|
RtfParagraph |
IRtfParagraphContainer.newParagraph(RtfAttributes attr)
Close current paragraph, if any, and start a new one with specified
attributes
|
RtfParagraph |
RtfListItem.newParagraph(RtfAttributes attrs)
Close current paragraph if any and start a new one
|
RtfParagraph |
RtfSection.newParagraph(RtfAttributes attrs)
Start a new paragraph after closing current paragraph, list and table
|
RtfTable |
RtfTableCell.newTable(RtfAttributes attrs,
ITableColumnsInfo tc)
Start a new nested table after closing current paragraph, list and table
|
RtfTable |
IRtfTableContainer.newTable(RtfAttributes attrs,
ITableColumnsInfo tc)
Close current table, if any, and start a new one
|
RtfTable |
RtfSection.newTable(RtfAttributes attrs,
ITableColumnsInfo tc)
Start a new table after closing current paragraph, list and table
|
RtfTableCell |
RtfTableRow.newTableCell(int cellWidth,
RtfAttributes attrs)
Close current cell if any and start a new one
|
RtfTableCell |
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 one
|
RtfTemplate |
IrtfTemplateContainer.newTemplate(String str,
RtfAttributes attr)
Creates a new Template.
|
RtfText |
IRtfTextContainer.newText(String str,
RtfAttributes attr)
Close current text element, if any, and start a new one
|
RtfText |
RtfHyperLink.newText(String str,
RtfAttributes attr)
close current text run if any and start a new one
|
RtfText |
RtfParagraph.newText(String str,
RtfAttributes attr)
Close current text run if any and start a new one
|
void |
RtfTextrun.pushBlockAttributes(RtfAttributes attrs)
Pushes block attributes, notifies all opened blocks about pushing block
attributes, adds
OpenGroupMark as a child. |
void |
RtfTextrun.pushInlineAttributes(RtfAttributes attrs)
Pushes inline attributes.
|
void |
RtfSpaceManager.pushInlineAttributes(RtfAttributes attrs)
Pushes inline attributes to inline-level stack.
|
RtfSpaceSplitter |
RtfSpaceManager.pushRtfSpaceSplitter(RtfAttributes attrs)
Builds RtfSpaceSplitter on
attrs and adds it to the
block-level stack. |
RtfAttributes |
RtfAttributes.set(RtfAttributes attrs)
Set attributes from another attributes object
|
RtfAttributes |
RtfAttributes.set(String name,
RtfAttributes value)
Set an attribute that has nested attributes as value
|
void |
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,
String[] nameList)
Write given attribute values to our Writer
|
Constructor and Description |
---|
RtfExternalGraphic(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.
|
RtfListTable(RtfContainer parent,
Writer w,
Integer num,
RtfAttributes attrs)
RtfListTable Constructor: sets the number of the list, and allocates
for the RtfAttributes
|
RtfSpaceSplitter(RtfAttributes attrs,
int previousSpace)
Create RtfSpaceSplitter with given RtfAttributes.
|
Modifier and Type | Method and Description |
---|---|
RtfAttributes |
TableContext.getColumnRowSpanningAttrs() |
Modifier and Type | Method and Description |
---|---|
void |
TableContext.setCurrentColumnRowSpanning(Integer iRowSpanning,
RtfAttributes attrs) |
void |
TableContext.setNextColumnRowSpanning(Integer iRowSpanning,
RtfAttributes attrs) |
Copyright © 2025 Apache Software Foundation. All rights reserved.