41#include <bitmaps.hlst>
46: mrParentViewContactOfSdrPage(rParentViewContactOfSdrPage)
67 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
82 rVisitor.
visit(xReference);
97 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
104 static bool bUseOldPageShadow(
false);
107 aPageMatrix.
set(0, 0,
static_cast<double>(rPage.
GetWidth()));
108 aPageMatrix.
set(1, 1,
static_cast<double>(rPage.
GetHeight()));
110 if(bUseOldPageShadow)
113 const double fPageBorderFactor(1.0 / 256.0);
122 aPageShadowPolygon.
transform(aPageMatrix);
134 rVisitor.
visit(xReference);
141 if(aDiscreteShadow.
get())
146 *aDiscreteShadow.
get()));
148 rVisitor.
visit(xReference);
165 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
218 rVisitor.
visit(xReference);
236 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
269 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
281 basegfx::BColor aRGBBorderColor(0x94 /
double(0xff), 0x95 /
double(0xff), 0x99 /
double(0xff));
288 aRGBBorderColor = aBorderColor.
getBColor();
325 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
371 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
382 for(sal_uInt32
a(0);
a < nObjectCount;
a++)
406 assert(pObj &&
"ViewContactOfPageHierarchy::GetViewContact: Corrupt SdrObjList (!)");
413 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
437 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
463 DBG_ASSERT(pRetval,
"ViewContact::CreateObjectSpecificViewObjectContact() failed (!)");
470 maViewContactOfPageBackground(*this),
471 maViewContactOfPageShadow(*this),
472 maViewContactOfPageFill(*this),
473 maViewContactOfMasterPage(*this),
474 maViewContactOfOuterPageBorder(*this),
475 maViewContactOfInnerPageBorder(*this),
476 maViewContactOfGridBack(*this, false),
477 maViewContactOfHelplinesBack(*this, false),
478 maViewContactOfPageHierarchy(*this),
479 maViewContactOfGridFront(*this, true),
480 maViewContactOfHelplinesFront(*this, true)
static const AllSettings & GetSettings()
basegfx::BColor getBColor() const
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
sdr::contact::ViewContact & GetViewContact() const
const SfxItemSet & GetItemSet() const
SfxStyleSheet * GetStyleSheet() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
sal_uInt16 GetPageNum() const
bool getPageBorderOnlyLeftRight() const
bool IsMasterPage() const
sal_Int32 GetUpperBorder() const
sal_Int32 GetRightBorder() const
sal_Int32 GetLeftBorder() const
sdr::contact::ViewContact & TRG_GetMasterPageDescriptorViewContact() const
bool TRG_HasMasterPage() const
SdrPageProperties & getSdrPageProperties()
bool IsBackgroundFullSize() const
sal_Int32 GetLowerBorder() const
tools::Long GetHeight() const
tools::Long GetWidth() const
void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
void transform(const basegfx::B2DHomMatrix &rMatrix)
void append(const basegfx::B2DPoint &rPoint, sal_uInt32 nCount)
void setClosed(bool bNew)
virtual void visit(const Primitive2DReference &)=0
ViewContactOfInnerPageBorder(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ~ViewContactOfInnerPageBorder() override
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
virtual ~ViewContactOfMasterPage() override
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
ViewContactOfMasterPage(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ~ViewContactOfOuterPageBorder() override
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
ViewContactOfOuterPageBorder(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ~ViewContactOfPageBackground() override
ViewContactOfPageBackground(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
virtual ~ViewContactOfPageFill() override
ViewContactOfPageFill(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
This view contact corresponds with all SdrObject instances in a single SdrPage.
virtual ~ViewContactOfPageHierarchy() override
virtual ViewContact & GetViewContact(sal_uInt32 nIndex) const override
virtual sal_uInt32 GetObjectCount() const override
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
ViewContactOfPageHierarchy(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
ViewContactOfPageShadow(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
virtual ~ViewContactOfPageShadow() override
ViewContactOfPageSubObject(ViewContactOfSdrPage &rParentViewContactOfSdrPage)
virtual ViewContact * GetParentContact() const override
const SdrPage & getPage() const
virtual ~ViewContactOfPageSubObject() override
ViewContactOfSdrPage & mrParentViewContactOfSdrPage
virtual ~ViewContactOfSdrPage() override
ViewContactOfMasterPage maViewContactOfMasterPage
ViewContactOfGrid maViewContactOfGridBack
ViewContactOfPageBackground maViewContactOfPageBackground
ViewContactOfSdrPage(SdrPage &rObj)
virtual ViewContact & GetViewContact(sal_uInt32 nIndex) const override
ViewContactOfInnerPageBorder maViewContactOfInnerPageBorder
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
ViewContactOfPageShadow maViewContactOfPageShadow
SdrPage & GetSdrPage() const
ViewContactOfPageHierarchy maViewContactOfPageHierarchy
ViewContactOfPageFill maViewContactOfPageFill
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
ViewContactOfGrid maViewContactOfGridFront
virtual void ActionChanged() override
ViewContactOfOuterPageBorder maViewContactOfOuterPageBorder
ViewContactOfHelplines maViewContactOfHelplinesFront
ViewContactOfHelplines maViewContactOfHelplinesBack
virtual sal_uInt32 GetObjectCount() const override
#define DBG_ASSERT(sCon, aError)
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
attribute::SdrFillAttribute createNewSdrFillAttribute(const SfxItemSet &rSet)
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)