LibreOffice Module sw (master) 1
|
#include "rtfattributeoutput.hxx"
#include <memory>
#include <cstring>
#include "rtfsdrexport.hxx"
#include "writerwordglue.hxx"
#include "ww8par.hxx"
#include <fmtcntnt.hxx>
#include <rtl/tencinfo.h>
#include <sal/log.hxx>
#include <sot/exchange.hxx>
#include <svtools/rtfkeywd.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/spltitem.hxx>
#include <editeng/widwitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/hyphenzoneitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/twolinesitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/paravertalignitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/charhiddenitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/opaqitem.hxx>
#include <o3tl/unit_conversion.hxx>
#include <svx/svdouno.hxx>
#include <filter/msfilter/rtfutil.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflgrit.hxx>
#include <docufld.hxx>
#include <fmtclds.hxx>
#include <fmtrowsplt.hxx>
#include <fmtline.hxx>
#include <fmtanchr.hxx>
#include <ftninfo.hxx>
#include <htmltbl.hxx>
#include <ndgrf.hxx>
#include <pagedesc.hxx>
#include <swmodule.hxx>
#include <txtftn.hxx>
#include <txtinet.hxx>
#include <grfatr.hxx>
#include <ndole.hxx>
#include <lineinfo.hxx>
#include <redline.hxx>
#include <rtf.hxx>
#include <vcl/cvtgrf.hxx>
#include <oox/mathml/imexport.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <svl/grabbagitem.hxx>
#include <frmatr.hxx>
#include <swtable.hxx>
#include <formatflysplit.hxx>
#include "rtfexport.hxx"
Go to the source code of this file.
Classes | |
class | SaveRunState |
save the current run state around exporting things that contain paragraphs themselves like text frames. More... | |
Functions | |
static OString | OutTBLBorderLine (RtfExport const &rExport, const editeng::SvxBorderLine *pLine, const char *pStr) |
static OString | OutBorderLine (RtfExport const &rExport, const editeng::SvxBorderLine *pLine, const char *pStr, sal_uInt16 nDist, SvxShadowLocation eShadowLocation=SvxShadowLocation::NONE) |
static void | lcl_AppendSP (OStringBuffer &rBuffer, std::string_view cName, std::u16string_view rValue, const RtfExport &rExport) |
static OString | ExportPICT (const SwFlyFrameFormat *pFlyFrameFormat, const Size &rOrig, const Size &rRendered, const Size &rMapped, const SwCropGrf &rCr, const char *pBLIPType, const sal_uInt8 *pGraphicAry, sal_uInt64 nSize, const RtfExport &rExport, SvStream *pStream=nullptr, bool bWritePicProp=true, const SwAttrSet *pAttrSet=nullptr) |
|
static |
Definition at line 4190 of file rtfattributeoutput.cxx.
References Both, SvxGrfCrop::GetBottom(), SvxGrfCrop::GetLeft(), SwFlyFrameFormat::GetObjDescription(), SwFlyFrameFormat::GetObjTitle(), SvxGrfCrop::GetRight(), SvxGrfCrop::GetTop(), Size::Height(), lcl_AppendSP(), OOO_STRING_SVTOOLS_RTF_IGNORE, OOO_STRING_SVTOOLS_RTF_PICCROPB, OOO_STRING_SVTOOLS_RTF_PICCROPL, OOO_STRING_SVTOOLS_RTF_PICCROPR, OOO_STRING_SVTOOLS_RTF_PICCROPT, OOO_STRING_SVTOOLS_RTF_PICH, OOO_STRING_SVTOOLS_RTF_PICHGOAL, OOO_STRING_SVTOOLS_RTF_PICPROP, OOO_STRING_SVTOOLS_RTF_PICSCALEX, OOO_STRING_SVTOOLS_RTF_PICSCALEY, OOO_STRING_SVTOOLS_RTF_PICT, OOO_STRING_SVTOOLS_RTF_PICW, OOO_STRING_SVTOOLS_RTF_PICWGOAL, OOO_STRING_SVTOOLS_RTF_WMETAFILE, RES_GRFATR_MIRRORGRF(), SAL_NEWLINE_STRING, sName, msfilter::rtfutil::StripMetafileHeader(), u, Vertical, Size::Width(), and msfilter::rtfutil::WriteHex().
Referenced by RtfAttributeOutput::FlyFrameGraphic(), and RtfAttributeOutput::FlyFrameOLEReplacement().
|
static |
Definition at line 4178 of file rtfattributeoutput.cxx.
References RtfExport::GetCurrentEncoding(), OOO_STRING_SVTOOLS_RTF_SN, OOO_STRING_SVTOOLS_RTF_SP, OOO_STRING_SVTOOLS_RTF_SV, and msfilter::rtfutil::OutString().
Referenced by ExportPICT().
|
static |
Definition at line 197 of file rtfattributeoutput.cxx.
References LO_STRING_SVTOOLS_RTF_BRDRSH, OOO_STRING_SVTOOLS_RTF_BRSP, and OutTBLBorderLine().
Referenced by RtfAttributeOutput::CharBorder(), RtfAttributeOutput::FormatBox(), and RtfAttributeOutput::SectionPageBorders().
|
static |
Definition at line 100 of file rtfattributeoutput.cxx.
References editeng::SvxBorderLine::GetBorderLineStyle(), editeng::SvxBorderLine::GetColor(), RtfExport::GetColor(), editeng::SvxBorderLine::GetWidth(), SvxBorderLineWidth::Hairline, editeng::SvxBorderLine::isEmpty(), OOO_STRING_SVTOOLS_RTF_BRDRCF, OOO_STRING_SVTOOLS_RTF_BRDRDASH, OOO_STRING_SVTOOLS_RTF_BRDRDASHD, OOO_STRING_SVTOOLS_RTF_BRDRDASHDD, OOO_STRING_SVTOOLS_RTF_BRDRDASHSM, OOO_STRING_SVTOOLS_RTF_BRDRDB, OOO_STRING_SVTOOLS_RTF_BRDRDOT, OOO_STRING_SVTOOLS_RTF_BRDREMBOSS, OOO_STRING_SVTOOLS_RTF_BRDRENGRAVE, OOO_STRING_SVTOOLS_RTF_BRDRHAIR, OOO_STRING_SVTOOLS_RTF_BRDRINSET, OOO_STRING_SVTOOLS_RTF_BRDRNONE, OOO_STRING_SVTOOLS_RTF_BRDROUTSET, OOO_STRING_SVTOOLS_RTF_BRDRS, OOO_STRING_SVTOOLS_RTF_BRDRTH, OOO_STRING_SVTOOLS_RTF_BRDRTHTNLG, OOO_STRING_SVTOOLS_RTF_BRDRTHTNMG, OOO_STRING_SVTOOLS_RTF_BRDRTHTNSG, OOO_STRING_SVTOOLS_RTF_BRDRTNTHLG, OOO_STRING_SVTOOLS_RTF_BRDRTNTHMG, OOO_STRING_SVTOOLS_RTF_BRDRTNTHSG, and OOO_STRING_SVTOOLS_RTF_BRDRW.
Referenced by OutBorderLine(), and RtfAttributeOutput::TableDefaultBorders().