36 ObjectContactPainter::ObjectContactPainter()
41 ObjectContactPainter::~ObjectContactPainter()
53 DBG_ASSERT(pObj,
"ObjectContactOfObjListPainter: Corrupt SdrObjectVector (!)");
61 : mrTargetOutputDevice(rTargetDevice),
62 maStartObjects(
std::move(rObjects)),
63 mpProcessedPage(pProcessedPage)
86 const bool bOutputToRecordingMetaFile(pMetaFile && pMetaFile->
IsRecord() && !pMetaFile->
IsPause());
90 if(!bOutputToRecordingMetaFile)
94 aViewRange =
::basegfx::B2DRange(0.0, 0.0, aOutputSizePixel.getWidth(), aOutputSizePixel.getHeight());
105 updateViewInformation2D(aNewViewInformation2D);
110 for(sal_uInt32
a(0);
a < nCount;
a++)
118 if(!xPrimitiveSequence.empty())
122 getViewInformation2D()));
124 pProcessor2D->process(xPrimitiveSequence);
153 DBG_ASSERT(
GetStartPage(),
"ObjectContactOfPagePainter::GetPaintObjectViewContact: no StartPage set (!)");
159 : mrOriginalObjectContact(rOriginalObjectContact)
basegfx::B2DHomMatrix GetInverseViewTransformation() const
OutDevType GetOutDevType() const
ObjectContact & mrOriginalObjectContact
void SetStartPage(const SdrPage *pPage)
virtual ~ObjectContactOfPagePainter() override
virtual ViewContact & GetPaintObjectViewContact(sal_uInt32 nIndex) override
ObjectContactOfPagePainter(ObjectContact &rOriginalObjectContact)
GDIMetaFile * GetConnectMetaFile() const
std::unique_ptr< BaseProcessor2D > createProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)
sdr::contact::ViewContact & GetViewContact() const
BASEGFX_DLLPUBLIC void transform(const B2DHomMatrix &rMatrix)
#define DBG_ASSERT(sCon, aError)
unotools::WeakReference< SdrPage > mxStartPage
const SdrPage * GetStartPage() const
Size GetOutputSizePixel() const
uno::Reference< drawing::XDrawPage > GetXDrawPageForSdrPage(SdrPage *pPage) noexcept
returns a StarOffice API wrapper for the given SdrPage
const sdr::contact::ViewContact & GetViewContact() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
basegfx::B2DHomMatrix GetViewTransformation() const
virtual OutputDevice * TryToGetOutputDevice() const override
virtual sal_uInt32 GetPaintObjectCount() const override