20#include <config_feature_desktop.h>
36#include <osl/diagnose.h>
58 , mrPageWindow(rPageWindow)
99 for(sal_uInt32
a(0);
a < nVOCCount;
a++)
129 && (0 == aOutputSizePixel.
getWidth() ||
141 if(bVisualizeEnteredGroup)
148 OSL_ENSURE(
nullptr != pOutDev,
"ObjectContactOfPageView without OutDev, someone has overridden TryToGetOutputDevice wrong (!)");
149 bool bClipRegionPushed(
false);
154 bClipRegionPushed =
true;
197 floor(aDiscreteClipRange.
getMinX()),
198 floor(aDiscreteClipRange.
getMinY())));
200 1.0 + ceil(aDiscreteClipRange.
getMaxX()),
201 1.0 + ceil(aDiscreteClipRange.
getMaxY())));
204 aViewRange.
intersect(aDiscreteClipRange);
221#if HAVE_FEATURE_DESKTOP || defined( ANDROID )
240 bool bGetHierarchy = rRedrawArea.
IsEmpty();
246 for (sal_Int32
i = 0;
i < nObjCount; ++
i)
251 bGetHierarchy =
true;
268 if(!xPrimitiveSequence.empty())
274 std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(
277 pProcessor2D->process(xPrimitiveSequence);
281 if(bClipRegionPushed)
287 if(bVisualizeEnteredGroup)
320 if(
nullptr != pSdrObject)
329 if(
nullptr != pSdrPage)
414 if (
nullptr != pPDFExtOutDevData)
430 return pPDFExtOutDevData;
437 return (nDrawMode == (DrawModeFlags::GrayLine|DrawModeFlags::GrayFill|DrawModeFlags::BlackText|DrawModeFlags::GrayBitmap|DrawModeFlags::GrayGradient));
444 return (nDrawMode == (DrawModeFlags::SettingsLine|DrawModeFlags::SettingsFill|DrawModeFlags::SettingsText|DrawModeFlags::SettingsGradient));
virtual void Start(bool bStartTimer=true) override
GDIMetaFile * GetConnectMetaFile() const
basegfx::B2DHomMatrix GetViewTransformation() const
basegfx::B2DHomMatrix GetInverseViewTransformation() const
Size GetOutputSizePixel() const
vcl::ExtOutDevData * GetExtOutDevData() const
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
OutDevType GetOutDevType() const
void SetLayoutMode(vcl::text::ComplexTextLayoutFlags nTextLayoutMode)
DrawModeFlags GetDrawMode() const
void IntersectClipRegion(const tools::Rectangle &rRect)
virtual SdrPage * getSdrPageFromSdrObjList() const
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
virtual SdrObject * getSdrObjectFromSdrObjList() const
sdr::contact::ViewContact & GetViewContact() const
SdrObjList * GetObjList() const
Return current List.
SdrPage * GetPage() const
void InvalidatePageWindow(const basegfx::B2DRange &rRange)
SdrPaintWindow & GetPaintWindow() const
SdrPageView & GetPageView() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
const sdr::contact::ViewContact & GetViewContact() const
bool IsMasterPageVisualizationAllowed() const
bool IsPreviewRenderer() const
bool IsPageDecorationAllowed() const
bool ImpIsGlueVisible() const
OutputDevice & GetTargetOutputDevice()
OutputDevice & GetOutputDevice() const
SdrPreRenderDevice * GetPreRenderDevice() const
OutputDevice & GetPreRenderDevice()
constexpr tools::Long getHeight() const
constexpr tools::Long getWidth() const
static bool GetIsAllowAnimatedGraphics()
static bool GetIsAllowAnimatedText()
void SetPriority(TaskPriority ePriority)
BASEGFX_DLLPUBLIC void transform(const B2DHomMatrix &rMatrix)
void expand(const Tuple2D< TYPE > &rTuple)
void intersect(const Range2D &rRange)
virtual bool isExportTaggedPDF() const override
virtual const ViewContact * getActiveViewContact() const override
virtual bool IsTextAnimationAllowed() const override
virtual bool isMasterPageActive() const override
virtual OutputDevice * TryToGetOutputDevice() const override
access to OutputDevice. May return 0L like the default implementations do. Override as needed.
virtual ::vcl::PDFExtOutDevData const * GetPDFExtOutDevData() const override
virtual SdrPageView * TryToGetSdrPageView() const override
access to SdrPageView. May return 0L like the default implementations do. Override as needed.
SdrPageWindow & mrPageWindow
virtual bool isOutputToPDFFile() const override
virtual bool IsGraphicAnimationAllowed() const override
virtual bool isOutputToPrinter() const override
virtual bool isOutputToRecordingMetaFile() const override
virtual bool AreGluePointsVisible() const override
ObjectContactOfPageView(SdrPageWindow &rPageWindow, const char *pDebugName)
SdrPage * GetSdrPage() const
virtual bool isPageDecorationActive() const override
virtual ~ObjectContactOfPageView() override
virtual void InvalidatePartOfView(const basegfx::B2DRange &rRange) const override
void SetUNOControlsDesignMode(bool _bDesignMode) const
sets all UNO controls which are associated with this ObjectContact to design or alive mode.
virtual bool DoVisualizeEnteredGroup() const override
virtual void ProcessDisplay(DisplayInfo &rDisplayInfo) override
SdrPageWindow & GetPageWindow() const
virtual bool isDrawModeHighContrast() const override
virtual bool isDrawModeGray() const override
virtual void PrepareProcessDisplay() override
void DoProcessDisplay(DisplayInfo &rDisplayInfo)
virtual void setLazyInvalidate(ViewObjectContact &rVOC) override
virtual void Invoke() final override
bool GetIsExportTaggedPDF() const
bool Overlaps(const tools::Rectangle &rRect) const
tools::Rectangle GetBoundRect() const
EmbeddedObjectRef * pObject
std::unique_ptr< BaseProcessor2D > createProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)
Any GetTime(const OUString &val)
uno::Reference< drawing::XDrawPage > GetXDrawPageForSdrPage(SdrPage *pPage) noexcept
returns a StarOffice API wrapper for the given SdrPage