LibreOffice Module sw (master) 1
|
#include <comphelper/string.hxx>
#include <svl/urihelper.hxx>
#include <hintids.hxx>
#include <osl/endian.h>
#include <sal/log.hxx>
#include <editeng/lrspitem.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlnclit.hxx>
#include <svx/xlnwtit.hxx>
#include <svx/xlndsit.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnedit.hxx>
#include <svx/xlnstwit.hxx>
#include <svx/xlnedwit.hxx>
#include <svx/xlnstcit.hxx>
#include <svx/xlnedcit.hxx>
#include <svx/xflclit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdocapt.hxx>
#include <svx/sxctitm.hxx>
#include <svx/sdggaitm.hxx>
#include <svx/sdgluitm.hxx>
#include <svx/sdgmoitm.hxx>
#include <svx/sdmetitm.hxx>
#include <svx/sdooitm.hxx>
#include <svx/sdshitm.hxx>
#include <svx/sdsxyitm.hxx>
#include <svx/sdtagitm.hxx>
#include <svx/sdtditm.hxx>
#include <svx/sdtfsitm.hxx>
#include <editeng/editeng.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdopath.hxx>
#include <svx/svdocirc.hxx>
#include <editeng/outlobj.hxx>
#include <svx/svdogrp.hxx>
#include <svx/svdograf.hxx>
#include <svx/svdoole2.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/opaqitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/outliner.hxx>
#include <editeng/frmdiritem.hxx>
#include <svx/xfltrit.hxx>
#include <filter/msfilter/msdffimp.hxx>
#include <grfatr.hxx>
#include <fmtornt.hxx>
#include <fmtcntnt.hxx>
#include <frmfmt.hxx>
#include <fmtanchr.hxx>
#include <pam.hxx>
#include <doc.hxx>
#include <drawdoc.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <ndgrf.hxx>
#include <dcontact.hxx>
#include <docsh.hxx>
#include <mdiexp.hxx>
#include "ww8struc.hxx"
#include "ww8scan.hxx"
#include "ww8par.hxx"
#include "ww8par2.hxx"
#include "ww8graf.hxx"
#include <fmtinfmt.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/flditem.hxx>
#include <fmtfollowtextflow.hxx>
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <editeng/editobj.hxx>
#include <math.h>
#include <fmturl.hxx>
#include <o3tl/enumrange.hxx>
#include <o3tl/safeint.hxx>
#include <memory>
#include <optional>
#include <filter/msfilter/escherex.hxx>
#include <utility>
#include "sprmids.hxx"
Go to the source code of this file.
Macros | |
#define | WW8ITEMVALUE(ItemSet, Id, Cast) ItemSet.GetItem<Cast>(Id)->GetValue() |
Functions | |
static Color | WW8TransCol (SVBT32 nWC) |
static void | SetStdAttr (SfxItemSet &rSet, WW8_DP_LINETYPE &rL, WW8_DP_SHADOW const &rSh) |
static void | SetFill (SfxItemSet &rSet, WW8_DP_FILL &rFill) |
static void | SetLineEndAttr (SfxItemSet &rSet, WW8_DP_LINEEND const &rLe, WW8_DP_LINETYPE const &rLt) |
static ESelection | GetESelection (EditEngine const &rDrawEditEngine, tools::Long nCpStart, tools::Long nCpEnd) |
static void | lcl_StripFields (OUString &rString, WW8_CP &rNewStartCp) |
static std::vector< sal_Int32 > | replaceDosLineEndsButPreserveLength (OUString &rIn) |
static void | removePositions (EditEngine &rDrawEditEngine, const std::vector< sal_Int32 > &rDosLineEndDummies) |
static sal_Int32 | lcl_ConvertCrop (sal_uInt32 const nCrop, sal_Int32 const nSize) |
void | MatchEscherMirrorIntoFlySet (const SvxMSDffImportRec &rRecord, SfxItemSet &rFlySet) |
Definition at line 1680 of file ww8graf.cxx.
|
static |
Definition at line 468 of file ww8graf.cxx.
References EditEngine::GetParagraphCount(), and EditEngine::GetTextLen().
Referenced by SwWW8ImplReader::InsertAttrsAsDrawingAttrs(), and removePositions().
|
static |
Definition at line 2126 of file ww8graf.cxx.
References abs(), and SAL_INFO.
Referenced by SwWW8ImplReader::SetAttributesAtGrfNode().
|
static |
Definition at line 528 of file ww8graf.cxx.
References comphelper::string::indexOfAny(), and u.
Referenced by SwWW8ImplReader::ImportAsOutliner(), SwWW8ImplReader::InsertAttrsAsDrawingAttrs(), and SwWW8ImplReader::InsertTxbxText().
void MatchEscherMirrorIntoFlySet | ( | const SvxMSDffImportRec & | rRecord, |
SfxItemSet & | rFlySet | ||
) |
Definition at line 3075 of file ww8graf.cxx.
References SvxMSDffImportRec::bHFlip, Both, SvxMSDffImportRec::bVFlip, Dont, eType, Horizontal, SfxItemSet::Put(), and Vertical.
Referenced by SwWW8ImplReader::ImportGraf(), and SwWW8ImplReader::ImportReplaceableDrawables().
|
static |
Definition at line 961 of file ww8graf.cxx.
References GetESelection(), and EditEngine::QuickDelete().
Referenced by SwWW8ImplReader::ImportAsOutliner().
|
static |
Definition at line 935 of file ww8graf.cxx.
References i.
Referenced by SwWW8ImplReader::ImportAsOutliner().
|
static |
Definition at line 241 of file ww8graf.cxx.
References WW8_DP_FILL::dlpcBg, WW8_DP_FILL::dlpcFg, WW8_DP_FILL::flpp, Color::GetBlue(), Color::GetGreen(), Color::GetRed(), SfxItemSet::Put(), rSet, SAL_N_ELEMENTS, Color::SetBlue(), Color::SetGreen(), Color::SetRed(), and WW8TransCol().
Referenced by SwWW8ImplReader::ReadArc(), SwWW8ImplReader::ReadCaptionBox(), SwWW8ImplReader::ReadEllipse(), SwWW8ImplReader::ReadPolyLine(), SwWW8ImplReader::ReadRect(), and SwWW8ImplReader::ReadTextBox().
|
static |
Definition at line 275 of file ww8graf.cxx.
References WW8_DP_LINEEND::aEndBits, basegfx::B2DPolygon::append(), WW8_DP_LINEEND::aStartBits, WW8_DP_LINETYPE::lnpw, SfxItemSet::Put(), rSet, and basegfx::B2DPolygon::setClosed().
Referenced by SwWW8ImplReader::ReadLine().
|
static |
Definition at line 200 of file ww8graf.cxx.
References WW8_DP_LINETYPE::lnpc, WW8_DP_LINETYPE::lnps, WW8_DP_LINETYPE::lnpw, makeSdrShadowItem(), makeSdrShadowXDistItem(), makeSdrShadowYDistItem(), SfxItemSet::Put(), rSet, XDash::SetDashes(), XDash::SetDashLen(), XDash::SetDistance(), XDash::SetDots(), WW8_DP_SHADOW::shdwpi, WW8TransCol(), WW8_DP_SHADOW::xaOffset, and WW8_DP_SHADOW::yaOffset.
Referenced by SwWW8ImplReader::ReadArc(), SwWW8ImplReader::ReadCaptionBox(), SwWW8ImplReader::ReadEllipse(), SwWW8ImplReader::ReadLine(), SwWW8ImplReader::ReadPolyLine(), SwWW8ImplReader::ReadRect(), and SwWW8ImplReader::ReadTextBox().
Definition at line 113 of file ww8graf.cxx.
References COL_BLACK(), COL_BLUE(), COL_BROWN(), COL_CYAN(), COL_GREEN(), COL_LIGHTBLUE(), COL_LIGHTCYAN(), COL_LIGHTGRAY(), COL_LIGHTGREEN(), COL_LIGHTMAGENTA(), COL_LIGHTRED(), COL_MAGENTA(), COL_RED(), COL_WHITE(), COL_YELLOW(), i, and u.
Referenced by SetFill(), and SetStdAttr().