LibreOffice Module sw (master)  1
Classes | 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 <svx/fmglob.hxx>
#include <svx/sdtaitm.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/udlnitem.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/colritem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/ulspitem.hxx>
#include <svx/svdoattr.hxx>
#include <editeng/brushitem.hxx>
#include <svx/rectenum.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 <docary.hxx>
#include <ndgrf.hxx>
#include <ndtxt.hxx>
#include <dcontact.hxx>
#include <docsh.hxx>
#include <mdiexp.hxx>
#include <fmtcnct.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 <svx/hlnkitem.hxx>
#include <svl/whiter.hxx>
#include <o3tl/enumrange.hxx>
#include <o3tl/safeint.hxx>
#include <memory>
#include <filter/msfilter/escherex.hxx>
#include "sprmids.hxx"
Include dependency graph for ww8graf.cxx:

Go to the source code of this file.

Classes

class  Chunk
 

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, long nCpStart, 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

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

Function Documentation

static ESelection GetESelection ( EditEngine const &  rDrawEditEngine,
long  nCpStart,
long  nCpEnd 
)
static
static sal_Int32 lcl_ConvertCrop ( sal_uInt32 const  nCrop,
sal_Int32 const  nSize 
)
static

Definition at line 2102 of file ww8graf.cxx.

References SAL_INFO.

Referenced by SwWW8ImplReader::SetAttributesAtGrfNode().

static void lcl_StripFields ( OUString &  rString,
WW8_CP rNewStartCp 
)
static
void MatchEscherMirrorIntoFlySet ( const SvxMSDffImportRec rRecord,
SfxItemSet rFlySet 
)
static void removePositions ( EditEngine rDrawEditEngine,
const std::vector< sal_Int32 > &  rDosLineEndDummies 
)
static

Definition at line 962 of file ww8graf.cxx.

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

Referenced by SwWW8ImplReader::ImportAsOutliner().

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

Definition at line 936 of file ww8graf.cxx.

References i.

Referenced by SwWW8ImplReader::ImportAsOutliner().

static void SetFill ( SfxItemSet rSet,
WW8_DP_FILL rFill 
)
static
static void SetLineEndAttr ( SfxItemSet rSet,
WW8_DP_LINEEND const &  rLe,
WW8_DP_LINETYPE const &  rLt 
)
static
static void SetStdAttr ( SfxItemSet rSet,
WW8_DP_LINETYPE rL,
WW8_DP_SHADOW const &  rSh 
)
static
static Color WW8TransCol ( SVBT32  nWC)
static