20 #include <config_feature_desktop.h>
36 #include <osl/diagnose.h>
49 SdrPage* ObjectContactOfPageView::GetSdrPage()
const
51 return GetPageWindow().GetPageView().GetPage();
54 ObjectContactOfPageView::ObjectContactOfPageView(
57 , mrPageWindow(rPageWindow)
98 for(sal_uInt32
a(0);
a < nVOCCount;
a++)
128 && (0 == aOutputSizePixel.getWidth() ||
129 0 == aOutputSizePixel.getHeight()))
140 if(bVisualizeEnteredGroup)
147 OSL_ENSURE(
nullptr != pOutDev,
"ObjectContactOfPageView without OutDev, someone has overridden TryToGetOutputDevice wrong (!)");
148 bool bClipRegionPushed(
false);
153 bClipRegionPushed =
true;
184 aViewRange =
basegfx::B2DRange(0.0, 0.0, aOutputSizePixel.getWidth(), aOutputSizePixel.getHeight());
196 floor(aDiscreteClipRange.getMinX()),
197 floor(aDiscreteClipRange.getMinY())));
199 1.0 + ceil(aDiscreteClipRange.getMaxX()),
200 1.0 + ceil(aDiscreteClipRange.getMaxY())));
203 aViewRange.
intersect(aDiscreteClipRange);
230 std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(
234 #if HAVE_FEATURE_DESKTOP || defined( ANDROID )
253 bool bGetHierarchy = rRedrawArea.IsEmpty();
259 for (sal_Int32
i = 0;
i < nObjCount; ++
i)
264 bGetHierarchy =
true;
277 if(bClipRegionPushed)
283 if(bVisualizeEnteredGroup)
380 return (nDrawMode == (DrawModeFlags::GrayLine|DrawModeFlags::GrayFill|DrawModeFlags::BlackText|DrawModeFlags::GrayBitmap|DrawModeFlags::GrayGradient));
387 return (nDrawMode == (DrawModeFlags::SettingsLine|DrawModeFlags::SettingsFill|DrawModeFlags::SettingsText|DrawModeFlags::SettingsGradient));
417 for(sal_uInt32
a(0);
a < nCount;
a++)
basegfx::B2DHomMatrix GetInverseViewTransformation() const
OutDevType GetOutDevType() const
SdrPageWindow & GetPageWindow() const
SdrPreRenderDevice * GetPreRenderDevice() const
virtual const tools::Rectangle & GetCurrentBoundRect() const
virtual bool AreGluePointsVisible() const override
void intersect(const Range2D &rRange)
OutputDevice & GetPreRenderDevice()
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
virtual bool isDrawModeHighContrast() const override
SdrObject * GetObj(size_t nNum) const
Any GetTime(const OUString &val)
size_t GetObjCount() const
virtual void PrepareProcessDisplay() override
void IntersectClipRegion(const tools::Rectangle &rRect)
GDIMetaFile * GetConnectMetaFile() const
virtual bool isOutputToPDFFile() const override
tools::Rectangle GetBoundRect() const
EmbeddedObjectRef * pObject
std::unique_ptr< BaseProcessor2D > createProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)
sdr::contact::ViewContact & GetViewContact() const
BASEGFX_DLLPUBLIC void transform(const B2DHomMatrix &rMatrix)
OutputDevice & GetTargetOutputDevice()
void SetLayoutMode(vcl::text::ComplexTextLayoutFlags nTextLayoutMode)
void SetUNOControlsDesignMode(bool _bDesignMode) const
sets all UNO controls which are associated with this ObjectContact to design or alive mode...
virtual bool IsGraphicAnimationAllowed() const override
SdrPageWindow & mrPageWindow
bool GetIsAllowAnimatedGraphics() const
SdrPage * GetSdrPage() const
SdrObjList * GetObjList() const
Return current List.
virtual void setLazyInvalidate(ViewObjectContact &rVOC) override
virtual void Invoke() final override
virtual bool DoVisualizeEnteredGroup() const override
virtual SdrPageView * TryToGetSdrPageView() const override
access to SdrPageView. May return 0L like the default implementations do. Override as needed...
virtual void InvalidatePartOfView(const basegfx::B2DRange &rRange) const override
bool ImpIsGlueVisible() const
Size GetOutputSizePixel() const
DrawModeFlags GetDrawMode() const
void DoProcessDisplay(DisplayInfo &rDisplayInfo)
uno::Reference< drawing::XDrawPage > GetXDrawPageForSdrPage(SdrPage *pPage) noexcept
returns a StarOffice API wrapper for the given SdrPage
const sdr::contact::ViewContact & GetViewContact() const
virtual bool isOutputToRecordingMetaFile() const override
SdrPaintWindow & GetPaintWindow() const
bool GetIsAllowAnimatedText() const
virtual void ProcessDisplay(DisplayInfo &rDisplayInfo) override
void InvalidatePageWindow(const basegfx::B2DRange &rRange)
virtual OutputDevice * TryToGetOutputDevice() const override
access to OutputDevice. May return 0L like the default implementations do. Override as needed...
virtual SdrPage * getSdrPageFromSdrObjList() const
virtual bool isOutputToPrinter() const override
virtual bool IsTextAnimationAllowed() const override
virtual ~ObjectContactOfPageView() override
virtual const ViewContact * getActiveViewContact() const override
virtual void Start(bool bStartTimer=true) override
void SetPriority(TaskPriority ePriority)
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
virtual bool isDrawModeGray() const override
SvtAccessibilityOptions & getAccessibilityOptions()
basegfx::B2DHomMatrix GetViewTransformation() const
virtual SdrObject * getSdrObjectFromSdrObjList() const
OutputDevice & GetOutputDevice() const
SdrPageView & GetPageView() const