LibreOffice Module sc (master) 1
Namespaces | Macros | Functions | Variables
drwlayer.cxx File Reference
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/chart/XChartDocument.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/embed/XClassifiedObject.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <scitems.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <sot/exchange.hxx>
#include <svx/objfac3d.hxx>
#include <svx/xtable.hxx>
#include <svx/svdoutl.hxx>
#include <svx/svditer.hxx>
#include <svx/svdlayer.hxx>
#include <svx/svdoashp.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdocapt.hxx>
#include <svx/svdomeas.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdopath.hxx>
#include <svx/svdundo.hxx>
#include <svx/sdsxyitm.hxx>
#include <svx/svxids.hrc>
#include <svx/sxcecitm.hxx>
#include <svx/sdshitm.hxx>
#include <svx/sdtditm.hxx>
#include <svx/sdtagitm.hxx>
#include <svx/xflclit.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnstwit.hxx>
#include <svx/xlnstcit.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <editeng/unolingu.hxx>
#include <svx/drawitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <sfx2/objsh.hxx>
#include <svl/itempool.hxx>
#include <utility>
#include <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <tools/globname.hxx>
#include <tools/UnitConversion.hxx>
#include <osl/diagnose.h>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <drwlayer.hxx>
#include <drawpage.hxx>
#include <global.hxx>
#include <document.hxx>
#include <userdat.hxx>
#include <markdata.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <scmod.hxx>
#include <postit.hxx>
#include <attrib.hxx>
#include <charthelper.hxx>
#include <table.hxx>
#include <stlpool.hxx>
#include <docpool.hxx>
#include <detfunc.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <clipparam.hxx>
#include <memory>
#include <algorithm>
#include <cstdlib>
Include dependency graph for drwlayer.cxx:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::embed
 

Macros

#define DET_ARROW_OFFSET   1000
 
#define MAXMM   10000000
 

Functions

static void lcl_ReverseTwipsToMM (tools::Rectangle &rRect)
 
static ScRange lcl_getClipRangeFromClipDoc (ScDocument *pClipDoc, SCTAB nClipTab)
 
static bool IsInBlock (const ScAddress &rPos, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
static bool lcl_IsAllInRange (const ::std::vector< ScRangeList > &rRangesVector, const ScRange &rClipRange)
 
static bool lcl_MoveRanges (::std::vector< ScRangeList > &rRangesVector, const ScRange &rSourceRange, const ScAddress &rDestPos, const ScDocument &rDoc)
 
static bool IsNamedObject (const SdrObject *pObj, std::u16string_view rName)
 

Variables

static E3dObjFactorypF3d = nullptr
 
static sal_uInt16 nInst = 0
 
bool bDrawIsInUndo = false
 

Macro Definition Documentation

◆ DET_ARROW_OFFSET

#define DET_ARROW_OFFSET   1000

Definition at line 98 of file drwlayer.cxx.

◆ MAXMM

#define MAXMM   10000000

Definition at line 222 of file drwlayer.cxx.

Function Documentation

◆ IsInBlock()

static bool IsInBlock ( const ScAddress rPos,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)
static

Definition at line 576 of file drwlayer.cxx.

References ScAddress::Col(), and ScAddress::Row().

Referenced by ScDrawLayer::MoveCells().

◆ IsNamedObject()

static bool IsNamedObject ( const SdrObject pObj,
std::u16string_view  rName 
)
static

◆ lcl_getClipRangeFromClipDoc()

static ScRange lcl_getClipRangeFromClipDoc ( ScDocument pClipDoc,
SCTAB  nClipTab 
)
static

◆ lcl_IsAllInRange()

static bool lcl_IsAllInRange ( const ::std::vector< ScRangeList > &  rRangesVector,
const ScRange rClipRange 
)
static

Definition at line 1865 of file drwlayer.cxx.

References ScRange::Contains(), i, and nCount.

Referenced by ScDrawLayer::CopyFromClip().

◆ lcl_MoveRanges()

static bool lcl_MoveRanges ( ::std::vector< ScRangeList > &  rRangesVector,
const ScRange rSourceRange,
const ScAddress rDestPos,
const ScDocument rDoc 
)
static

◆ lcl_ReverseTwipsToMM()

static void lcl_ReverseTwipsToMM ( tools::Rectangle rRect)
static

Definition at line 225 of file drwlayer.cxx.

References o3tl::convert(), o3tl::mm100, and o3tl::twip.

Referenced by ScDrawLayer::MoveArea().

Variable Documentation

◆ bDrawIsInUndo

bool bDrawIsInUndo = false

◆ nInst

sal_uInt16 nInst = 0
static

Definition at line 103 of file drwlayer.cxx.

Referenced by ScDrawLayer::ScDrawLayer(), and ScDrawLayer::~ScDrawLayer().

◆ pF3d

E3dObjFactory* pF3d = nullptr
static

Definition at line 102 of file drwlayer.cxx.

Referenced by ScDrawLayer::ScDrawLayer(), and ScDrawLayer::~ScDrawLayer().