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/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/svdocapt.hxx>
#include <svx/svdograf.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdundo.hxx>
#include <svx/sdsxyitm.hxx>
#include <svx/svxids.hrc>
#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 <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <tools/globname.hxx>
#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 <basegfx/matrix/b2dhommatrix.hxx>
#include <vcl/fieldvalues.hxx>
#include <memory>
Include dependency graph for drwlayer.cxx:

Go to the source code of this file.

Namespaces

 com::sun::star::embed
 

Macros

#define DET_ARROW_OFFSET   1000
 
#define MAXMM   10000000
 

Functions

static tools::Long TwipsToHmm (tools::Long nVal)
 
static tools::Long HmmToTwips (tools::Long nVal)
 
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)
 
static bool IsNamedObject (const SdrObject *pObj, const OUString &rName)
 

Variables

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

Macro Definition Documentation

#define DET_ARROW_OFFSET   1000

Definition at line 76 of file drwlayer.cxx.

Referenced by ScDrawLayer::RecalcPos().

#define MAXMM   10000000

Definition at line 200 of file drwlayer.cxx.

Referenced by ScDrawLayer::HasObjectsInRows().

Function Documentation

static tools::Long HmmToTwips ( tools::Long  nVal)
static

Definition at line 208 of file drwlayer.cxx.

References vcl::ConvertDoubleValue().

Referenced by ScDrawLayer::GetPrintArea(), and lcl_ReverseTwipsToMM().

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

Definition at line 508 of file drwlayer.cxx.

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

Referenced by ScDrawLayer::MoveCells().

static bool IsNamedObject ( const SdrObject pObj,
const OUString &  rName 
)
static

Definition at line 1905 of file drwlayer.cxx.

References SdrObject::GetName(), SdrObject::GetObjIdentifier(), and OBJ_OLE2.

Referenced by ScDrawLayer::GetNamedObject().

static ScRange lcl_getClipRangeFromClipDoc ( ScDocument pClipDoc,
SCTAB  nClipTab 
)
static
static bool lcl_IsAllInRange ( const ::std::vector< ScRangeList > &  rRangesVector,
const ScRange rClipRange 
)
static

Definition at line 1564 of file drwlayer.cxx.

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

Referenced by ScDrawLayer::CopyFromClip().

static bool lcl_MoveRanges ( ::std::vector< ScRangeList > &  rRangesVector,
const ScRange rSourceRange,
const ScAddress rDestPos 
)
static
static void lcl_ReverseTwipsToMM ( tools::Rectangle rRect)
static
static tools::Long TwipsToHmm ( tools::Long  nVal)
static

Variable Documentation

bool bDrawIsInUndo = false
sal_uInt16 nInst = 0
static

Definition at line 81 of file drwlayer.cxx.

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

E3dObjFactory* pF3d = nullptr
static

Definition at line 80 of file drwlayer.cxx.

Referenced by ScDrawLayer::~ScDrawLayer().