diff options
Diffstat (limited to 'src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfParagraph.java')
-rwxr-xr-x | src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfParagraph.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfParagraph.java b/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfParagraph.java index 664f49c27..9149a27ee 100755 --- a/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfParagraph.java +++ b/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfParagraph.java @@ -149,8 +149,12 @@ implements IRtfTextContainer, IRtfPageBreakContainer, IRtfHyperLinkContainer, writeControlWord("pard"); } - // do not write text attributes here, they are handled - // by RtfText + /* + * Original comment said "do not write text attributes here, they are + * handled by RtfText." However, the text attributes appear to be + * relevant to paragraphs as well. + */ + writeAttributes(attrib, RtfText.ATTR_NAMES); writeAttributes(attrib, PARA_ATTRIBUTES); // Added by Normand Masse // Write alignment attributes after \intbl for cells |