LibreOffice Module sc (master) 1
|
#include <rtfexp.hxx>
Public Member Functions | |
ScRTFExport (SvStream &, ScDocument *, const ScRange &) | |
virtual | ~ScRTFExport () override |
void | Write () |
Public Member Functions inherited from ScExportBase | |
ScExportBase (SvStream &, ScDocument *, const ScRange &) | |
virtual | ~ScExportBase () |
bool | TrimDataArea (SCTAB nTab, SCCOL &nStartCol, SCROW &nStartRow, SCCOL &nEndCol, SCROW &nEndRow) const |
bool | GetDataArea (SCTAB nTab, SCCOL &nStartCol, SCROW &nStartRow, SCCOL &nEndCol, SCROW &nEndRow) const |
bool | IsEmptyTable (SCTAB nTab) const |
ScFieldEditEngine & | GetEditEngine () const |
Private Member Functions | |
void | WriteTab (SCTAB nTab) |
void | WriteRow (SCTAB nTab, SCROW nRow) |
void | WriteCell (SCTAB nTab, SCROW nRow, SCCOL nCol) |
Private Attributes | |
std::unique_ptr< sal_uLong[]> | pCellX |
Additional Inherited Members | |
Protected Attributes inherited from ScExportBase | |
SvStream & | rStrm |
ScRange | aRange |
ScDocument * | pDoc |
SvNumberFormatter * | pFormatter |
std::unique_ptr< ScFieldEditEngine > | pEditEngine |
Definition at line 26 of file rtfexp.hxx.
ScRTFExport::ScRTFExport | ( | SvStream & | rStrmP, |
ScDocument * | pDocP, | ||
const ScRange & | rRangeP | ||
) |
Definition at line 46 of file rtfexp.cxx.
|
overridevirtual |
Definition at line 53 of file rtfexp.cxx.
void ScRTFExport::Write | ( | ) |
Definition at line 57 of file rtfexp.cxx.
References ScRange::aEnd, ScExportBase::aRange, ScRange::aStart, OOO_STRING_SVTOOLS_RTF_ANSI, OOO_STRING_SVTOOLS_RTF_PAR, OOO_STRING_SVTOOLS_RTF_RTF, ScExportBase::rStrm, SAL_NEWLINE_STRING, ScAddress::Tab(), SvStream::WriteChar(), SvStream::WriteOString(), and WriteTab().
Referenced by ScFormatFilterPluginImpl::ScExportRTF().
Definition at line 148 of file rtfexp.cxx.
References ATTR_FONT_POSTURE(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ATTR_HOR_JUSTIFY(), ATTR_MERGE_FLAG(), CELLTYPE_EDIT, CELLTYPE_NONE, ScExportBase::GetEditEngine(), ScRefCellValue::getEditText(), ScPatternAttr::GetItem(), SvxTextLineItem::GetLineStyle(), ScPatternAttr::GetNumberFormat(), ScDocument::GetPattern(), SvxPostureItem::GetPosture(), ScCellFormat::GetString(), EditEngine::GetText(), ScRefCellValue::getType(), SvxWeightItem::GetWeight(), ScDocument::HasValueData(), ScMergeFlagAttr::IsHorOverlapped(), ITALIC_NONE, LINESTYLE_NONE, 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, ScExportBase::pDoc, ScExportBase::pFormatter, ScExportBase::rStrm, EditEngine::SetText(), WEIGHT_BOLD, SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by WriteRow().
Bottom
Definition at line 95 of file rtfexp.cxx.
References ScRange::aEnd, ScExportBase::aRange, ScRange::aStart, ATTR_MERGE(), ATTR_MERGE_FLAG(), ATTR_VER_JUSTIFY(), ScAddress::Col(), ScMergeAttr::GetColMerge(), ScPatternAttr::GetItem(), ScDocument::GetPattern(), ScDocument::GetRowHeight(), ScMergeFlagAttr::IsHorOverlapped(), OOO_STRING_SVTOOLS_RTF_CELLX, OOO_STRING_SVTOOLS_RTF_CLMGF, OOO_STRING_SVTOOLS_RTF_CLMRG, OOO_STRING_SVTOOLS_RTF_CLVERTALB, OOO_STRING_SVTOOLS_RTF_CLVERTALC, OOO_STRING_SVTOOLS_RTF_CLVERTALT, 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, pCellX, pChar, ScExportBase::pDoc, ScExportBase::rStrm, SAL_NEWLINE_STRING, SvStream::Tell(), WriteCell(), and SvStream::WriteOString().
Referenced by WriteTab().
|
private |
Definition at line 73 of file rtfexp.cxx.
References ScRange::aEnd, ScExportBase::aRange, ScRange::aStart, ScAddress::Col(), ScDocument::GetColWidth(), ScDocument::HasTable(), ScDocument::MaxCol(), pCellX, ScExportBase::pDoc, ScAddress::Row(), ScExportBase::rStrm, SAL_NEWLINE_STRING, SvStream::WriteChar(), SvStream::WriteOString(), and WriteRow().
Referenced by Write().
|
private |
Definition at line 28 of file rtfexp.hxx.
Referenced by WriteRow(), and WriteTab().