41 class XControlContainer;
52 enum class GraphicManagerDrawFlags;
55 class ViewObjectContactRedirector;
66 namespace sdr::contact {
class ViewObjectContactRedirector; }
88 const sal_uInt32 nMaximumQuadraticPixels);
152 bool mbPageVisible : 1;
153 bool mbPageShadowVisible : 1;
154 bool mbPageBorderVisible : 1;
155 bool mbBordVisible : 1;
156 bool mbGridVisible : 1;
157 bool mbGridFront : 1;
158 bool mbHlplVisible : 1;
159 bool mbHlplFront : 1;
160 bool mbGlueVisible : 1;
161 bool mbGlueVisible2 : 1;
162 bool mbGlueVisible3 : 1;
163 bool mbGlueVisible4 : 1;
164 bool mbSomeObjChgdFlag : 1;
165 bool mbSwapAsynchron : 1;
166 bool mbPrintPreview : 1;
170 bool mbAnimationPause : 1;
174 bool mbBufferedOutputAllowed : 1;
179 bool mbBufferedOverlayAllowed : 1;
182 bool mbPagePaintingAllowed : 1;
185 bool mbPreviewRenderer : 1;
189 bool mbHideChart : 1;
191 bool mbHideFormControl : 1;
195 bool IsBufferedOutputAllowed()
const;
196 void SetBufferedOutputAllowed(
bool bNew);
199 bool IsBufferedOverlayAllowed()
const;
200 void SetBufferedOverlayAllowed(
bool bNew);
204 void SetPagePaintingAllowed(
bool bNew);
228 sal_uInt16 ImpGetMinMovLogic(
short nMinMov,
const OutputDevice* pOut)
const;
229 sal_uInt16 ImpGetHitTolLogic(
short nHitTol,
const OutputDevice* pOut)
const;
232 void FlushComeBackTimer()
const;
233 void TheresNewMapMode();
234 void ImpSetGlueVisible2(
bool bOn) {
if (mbGlueVisible2!=bOn) { mbGlueVisible2=bOn;
if (!mbGlueVisible && !mbGlueVisible3 && !mbGlueVisible4) GlueInvalidate(); } }
235 void ImpSetGlueVisible3(
bool bOn) {
if (mbGlueVisible3!=bOn) { mbGlueVisible3=bOn;
if (!mbGlueVisible && !mbGlueVisible2 && !mbGlueVisible4) GlueInvalidate(); } }
236 void ImpSetGlueVisible4(
bool bOn) {
if (mbGlueVisible4!=bOn) { mbGlueVisible4=bOn;
if (!mbGlueVisible && !mbGlueVisible2 && !mbGlueVisible3) GlueInvalidate(); } }
239 bool ImpIsGlueVisible()
const {
return mbGlueVisible || mbGlueVisible2 || mbGlueVisible3 || mbGlueVisible4; }
243 void GlueInvalidate()
const;
248 virtual void ModelHasChanged();
259 virtual void ClearPageView();
262 virtual bool IsAction()
const;
263 virtual void MovAction(
const Point& rPnt);
265 virtual void BckAction();
266 virtual void BrkAction();
270 virtual bool IsTextEdit()
const;
296 virtual void HideSdrPage();
303 virtual void DeleteWindowFromPaintView(
OutputDevice* pOldWin);
305 void SetLayerVisible(
const OUString& rName,
bool bShow);
306 bool IsLayerVisible(
const OUString& rName)
const;
308 void SetLayerLocked(
const OUString& rName,
bool bLock=
true);
309 bool IsLayerLocked(
const OUString& rName)
const;
311 void SetLayerPrintable(
const OUString& rName,
bool bPrn);
312 bool IsLayerPrintable(
const OUString& rName)
const;
333 virtual void EndCompleteRedraw(
SdrPaintWindow& rPaintWindow,
bool bPaintFormLayer);
343 void EndDrawLayers(
SdrPaintWindow& rPaintWindow,
bool bPaintFormLayer);
386 void SetGlueVisible(
bool bOn =
true) {
if (mbGlueVisible!=bOn) { mbGlueVisible=bOn;
if (!mbGlueVisible2 && !mbGlueVisible3 && !mbGlueVisible4) GlueInvalidate(); } }
396 void setHideOle(
bool bNew) {
if(bNew != mbHideOle) mbHideOle = bNew; }
397 void setHideChart(
bool bNew) {
if(bNew != mbHideChart) mbHideChart = bNew; }
398 void setHideDraw(
bool bNew) {
if(bNew != mbHideDraw) mbHideDraw = bNew; }
405 if (mbGridVisible) InvalidateAllWin();
410 void InvalidateAllWin();
422 void LeaveOneGroup();
425 void LeaveAllGroup();
428 bool IsGroupEntered()
const;
432 void SetDefaultAttr(
const SfxItemSet& rAttr,
bool bReplaceAll);
434 void SetDefaultStyleSheet(
SfxStyleSheet* pStyleSheet,
bool bDontRemoveHardAttr);
436 void SetNotPersistDefaultAttr(
const SfxItemSet& rAttr);
437 void MergeNotPersistDefaultAttr(
SfxItemSet& rAttr)
const;
454 void GetAttributes(
SfxItemSet& rTargetSet,
bool bOnlyHardAttr)
const;
456 void SetAttributes(
const SfxItemSet& rSet,
bool bReplaceAll);
470 void SetAnimationEnabled(
bool bEnable=
true );
473 void SetAnimationPause(
bool bSet );
491 void onChangeColorConfig();
494 void SetApplicationBackgroundColor(
Color aBackgroundColor);
497 void SetApplicationDocumentColor(
Color aDocumentColor);
501 void SetAnimationTimer(sal_uInt32 nTime);
bool IsGridFront() const
Draw Grid in front of objects or behind them.
void SetMinMoveDistancePixel(sal_uInt16 nVal)
void SetHlplVisible(bool bOn=true)
virtual bool MouseButtonUp(const MouseEvent &, OutputDevice *)
void SetGridFine(const Size &rSiz)
bool IsHlplVisible() const
Draw Help line of the Page or not.
bool IsPageVisible() const
Draw Page as a white area or not.
void SetHitTolerancePixel(sal_uInt16 nVal)
void SetPrintPreview(bool bOn=true)
const SdrDragStat & GetDragStat() const
void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
tools::Rectangle maMaxWorkArea
void ImpSetGlueVisible4(bool bOn)
void SetGridCoarse(const Size &rSiz)
virtual bool MouseButtonDown(const MouseEvent &, OutputDevice *)
VclPtr< OutputDevice > mpDragWin
constexpr tools::Long Width() const
bool IsBordVisible() const
Draw Border line or not.
const Color & GetGridColor() const
bool IsGridVisible() const
Draw Grid or not.
const Size & GetGridFine() const
BitmapEx convertMetafileToBitmapEx(const GDIMetaFile &rMtf, const basegfx::B2DRange &rTargetRange, const sal_uInt32 nMaximumQuadraticPixels)
Helper to convert any GDIMetaFile to a good quality BitmapEx, using default parameters and graphic::X...
void SetGlueVisible(bool bOn=true)
virtual bool MouseMove(const MouseEvent &, OutputDevice *)
bool IsPagePaintingAllowed() const
void SetBordVisible(bool bOn=true)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Detects when a stylesheet is changed.
SfxStyleSheet * GetStyleSheet() const
void SetPageVisible(bool bOn=true)
const svtools::ColorConfig & getColorConfig() const
const SfxItemSet & GetDefaultAttr() const
virtual bool RequestHelp(const HelpEvent &)
std::unique_ptr< SdrPageView > mpPageView
void setHideOle(bool bNew)
sal_uInt32 PaintWindowCount() const
void SetSwapAsynchron(bool bJa=true)
SfxStyleSheet * mpDefaultStyleSheet
void ImpSetGlueVisible3(bool bOn)
bool IsHlplFront() const
Draw Help line in front of the objects or behind them.
bool IsPreviewRenderer() const
void SetPreviewRenderer(bool bOn)
void ImpSetGlueVisible2(bool bOn)
void SetGridFront(bool bOn)
bool getHideFormControl() const
bool ImpIsGlueVisible() const
virtual bool Command(const CommandEvent &, vcl::Window *)
This class represents an embedded or linked bitmap graphic object.
SdrAnimationMode meAnimationMode
const Size & GetGridCoarse() const
SdrModel & mrSdrModelFromSdrView
std::vector< std::unique_ptr< SdrPaintWindow > > maPaintWindows
void SetPageShadowVisible(bool bOn)
bool getHideChart() const
constexpr tools::Long Height() const
bool IsSwapAsynchron() const
Execute a swap-in of e.g.
void setHideFormControl(bool bNew)
void SetGridVisible(bool bOn)
#define SVXCORE_DLLPUBLIC
bool IsPageShadowVisible() const
Draw Page shadow or not.
sal_uInt16 GetHitTolerancePixel() const
bool IsPrintPreview() const
void SetActiveLayer(const OUString &rName)
SdrPageView * GetSdrPageView() const
void setHideDraw(bool bNew)
void setHeight(tools::Long nHeight)
svtools::ColorConfig maColorConfig
void setHideChart(bool bNew)
bool IsPageBorderVisible() const
Draw Page as a white area or not.
void SetPageBorderVisible(bool bOn=true)
SdrModel & getSdrModelFromSdrView() const
bool IsAnimationEnabled() const
Enable/disable animations for Paint Is used by e.g.
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
virtual void ConfigurationChanged(ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
const OUString & GetActiveLayer() const
#define DECL_DLLPRIVATE_LINK(Member, ArgType, RetType)
sal_uInt16 getHitTolLog() const
SdrModel * GetModel() const
VclPtr< OutputDevice > mpActualOutDev
void SetHlplFront(bool bOn)