diff options
author | Glen Mazza <gmazza@apache.org> | 2003-11-01 14:23:49 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-11-01 14:23:49 +0000 |
commit | 774ae0ce7608497cf9477760d7f798de4d8f64eb (patch) | |
tree | 17bceafd40d56b93843d1366e1a4754db37ec31a /src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java | |
parent | e17e45b0924c5af3a443cf0ae52199df2df326ab (diff) | |
download | xmlgraphics-fop-774ae0ce7608497cf9477760d7f798de4d8f64eb.tar.gz xmlgraphics-fop-774ae0ce7608497cf9477760d7f798de4d8f64eb.zip |
Peter Herweg's RTF patches applied--note the RTFHandler update was missing,
added similar changes as was done to the MIFHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196975 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java')
-rwxr-xr-x | src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java b/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java index 9695782e0..87098e4b5 100755 --- a/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java +++ b/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfTableCell.java @@ -70,7 +70,7 @@ import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; public class RtfTableCell extends RtfContainer implements IRtfParagraphContainer, IRtfListContainer, IRtfTableContainer, - IRtfExternalGraphicContainer { + IRtfExternalGraphicContainer, IRtfTextrunContainer { private RtfParagraph paragraph; private RtfList list; private RtfTable table; @@ -475,4 +475,12 @@ implements IRtfParagraphContainer, IRtfListContainer, IRtfTableContainer, } return result; } + + public RtfTextrun getTextrun() + throws IOException { + RtfAttributes attrs = new RtfAttributes(); + attrs.set("intbl"); + + return RtfTextrun.getTextrun(this, writer, attrs); + } } |