LibreOffice Module svx (master) 1
|
Public Member Functions | |
SdrTableRtfExporter (SvStream &rStrmP, SdrTableObj &rObj) | |
void | Write () |
void | WriteRow (const Reference< XPropertySet > &xRowSet, sal_Int32 nRow, const std::vector< sal_Int32 > &aColumnStart) |
void | WriteCell (sal_Int32 nCol, sal_Int32 nRow) |
Private Attributes | |
SvStream & | mrStrm |
SdrTableObj & | mrObj |
Reference< XTable > | mxTable |
Definition at line 51 of file tablertfexporter.cxx.
sdr::table::SdrTableRtfExporter::SdrTableRtfExporter | ( | SvStream & | rStrmP, |
SdrTableObj & | rObj | ||
) |
Definition at line 73 of file tablertfexporter.cxx.
References rStrm.
void sdr::table::SdrTableRtfExporter::Write | ( | ) |
Definition at line 80 of file tablertfexporter.cxx.
References Exception, sdr::table::gsSize(), o3tl::mm100, mrStrm, mxTable, nPos, OOO_STRING_SVTOOLS_RTF_ANSI, OOO_STRING_SVTOOLS_RTF_RTF, SAL_NEWLINE_STRING, TOOLS_WARN_EXCEPTION, o3tl::toTwips(), SvStream::WriteChar(), SvStream::WriteOString(), and WriteRow().
Referenced by sdr::table::ExportAsRTF().
void sdr::table::SdrTableRtfExporter::WriteCell | ( | sal_Int32 | nCol, |
sal_Int32 | nRow | ||
) |
Definition at line 159 of file tablertfexporter.cxx.
References Outliner::Clear(), EE_CHAR_ITALIC(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), SfxItemSet::Get(), Outliner::GetEditEngine(), SvxTextLineItem::GetLineStyle(), SvxPostureItem::GetPosture(), EditEngine::GetText(), SvxWeightItem::GetWeight(), SdrTextObj::ImpGetDrawOutliner(), ITALIC_NONE, LINESTYLE_NONE, mrObj, mrStrm, mxTable, OOO_STRING_SVTOOLS_RTF_B, OOO_STRING_SVTOOLS_RTF_CELL, OOO_STRING_SVTOOLS_RTF_I, OOO_STRING_SVTOOLS_RTF_PLAIN, OOO_STRING_SVTOOLS_RTF_QC, OOO_STRING_SVTOOLS_RTF_QJ, OOO_STRING_SVTOOLS_RTF_QL, OOO_STRING_SVTOOLS_RTF_QR, OOO_STRING_SVTOOLS_RTF_UL, RTFOutFuncs::Out_String(), pChar, SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, Outliner::SetText(), WEIGHT_BOLD, SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by WriteRow().
void sdr::table::SdrTableRtfExporter::WriteRow | ( | const Reference< XPropertySet > & | xRowSet, |
sal_Int32 | nRow, | ||
const std::vector< sal_Int32 > & | aColumnStart | ||
) |
Definition at line 123 of file tablertfexporter.cxx.
References sdr::table::gsSize(), mrStrm, mxTable, OOO_STRING_SVTOOLS_RTF_CELLX, OOO_STRING_SVTOOLS_RTF_INTBL, OOO_STRING_SVTOOLS_RTF_PARD, OOO_STRING_SVTOOLS_RTF_PLAIN, OOO_STRING_SVTOOLS_RTF_ROW, OOO_STRING_SVTOOLS_RTF_TRGAPH, OOO_STRING_SVTOOLS_RTF_TRLEFT, OOO_STRING_SVTOOLS_RTF_TROWD, OOO_STRING_SVTOOLS_RTF_TRRH, SAL_NEWLINE_STRING, SvStream::Tell(), WriteCell(), and SvStream::WriteOString().
Referenced by Write().
|
private |
Definition at line 61 of file tablertfexporter.cxx.
Referenced by WriteCell().
|
private |
Definition at line 60 of file tablertfexporter.cxx.
Referenced by Write(), WriteCell(), and WriteRow().
|
private |
Definition at line 62 of file tablertfexporter.cxx.
Referenced by Write(), WriteCell(), and WriteRow().