LibreOffice Module sw (master) 1
Macros | Functions
ww8graf.cxx File Reference
#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"
Include dependency graph for ww8graf.cxx:

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)
 

Macro Definition Documentation

◆ WW8ITEMVALUE

#define WW8ITEMVALUE (   ItemSet,
  Id,
  Cast 
)    ItemSet.GetItem<Cast>(Id)->GetValue()

Definition at line 1680 of file ww8graf.cxx.

Function Documentation

◆ GetESelection()

static ESelection GetESelection ( EditEngine const &  rDrawEditEngine,
tools::Long  nCpStart,
tools::Long  nCpEnd 
)
static

◆ lcl_ConvertCrop()

static sal_Int32 lcl_ConvertCrop ( sal_uInt32 const  nCrop,
sal_Int32 const  nSize 
)
static

Definition at line 2126 of file ww8graf.cxx.

References abs(), and SAL_INFO.

Referenced by SwWW8ImplReader::SetAttributesAtGrfNode().

◆ lcl_StripFields()

static void lcl_StripFields ( OUString &  rString,
WW8_CP rNewStartCp 
)
static

◆ MatchEscherMirrorIntoFlySet()

void MatchEscherMirrorIntoFlySet ( const SvxMSDffImportRec rRecord,
SfxItemSet rFlySet 
)

◆ removePositions()

static void removePositions ( EditEngine rDrawEditEngine,
const std::vector< sal_Int32 > &  rDosLineEndDummies 
)
static

Definition at line 961 of file ww8graf.cxx.

References GetESelection(), and EditEngine::QuickDelete().

Referenced by SwWW8ImplReader::ImportAsOutliner().

◆ replaceDosLineEndsButPreserveLength()

static std::vector< sal_Int32 > replaceDosLineEndsButPreserveLength ( OUString &  rIn)
static

Definition at line 935 of file ww8graf.cxx.

References i.

Referenced by SwWW8ImplReader::ImportAsOutliner().

◆ SetFill()

static void SetFill ( SfxItemSet rSet,
WW8_DP_FILL rFill 
)
static

◆ SetLineEndAttr()

static void SetLineEndAttr ( SfxItemSet rSet,
WW8_DP_LINEEND const &  rLe,
WW8_DP_LINETYPE const &  rLt 
)
static

◆ SetStdAttr()

static void SetStdAttr ( SfxItemSet rSet,
WW8_DP_LINETYPE rL,
WW8_DP_SHADOW const &  rSh 
)
static

◆ WW8TransCol()

static Color WW8TransCol ( SVBT32  nWC)
static