41 class XControlContainer;
52enum class GraphicManagerDrawFlags;
55 class ViewObjectContactRedirector;
66namespace sdr::contact {
class ViewObjectContactRedirector; }
88 const sal_uInt32 nMaximumQuadraticPixels);
214 bool IsBufferedOutputAllowed()
const;
215 void SetBufferedOutputAllowed(
bool bNew);
218 bool IsBufferedOverlayAllowed()
const;
219 void SetBufferedOverlayAllowed(
bool bNew);
223 void SetPageDecorationAllowed(
bool bNew);
227 void SetMasterPageVisualizationAllowed(
bool bNew);
251 sal_uInt16 ImpGetMinMovLogic(
short nMinMov,
const OutputDevice* pOut)
const;
252 sal_uInt16 ImpGetHitTolLogic(
short nHitTol,
const OutputDevice* pOut)
const;
255 void FlushComeBackTimer()
const;
256 void TheresNewMapMode();
257 void ImpSetGlueVisible2(
bool bOn) {
if (mbGlueVisible2!=bOn) { mbGlueVisible2=bOn;
if (!mbGlueVisible && !mbGlueVisible3 && !mbGlueVisible4) GlueInvalidate(); } }
258 void ImpSetGlueVisible3(
bool bOn) {
if (mbGlueVisible3!=bOn) { mbGlueVisible3=bOn;
if (!mbGlueVisible && !mbGlueVisible2 && !mbGlueVisible4) GlueInvalidate(); } }
259 void ImpSetGlueVisible4(
bool bOn) {
if (mbGlueVisible4!=bOn) { mbGlueVisible4=bOn;
if (!mbGlueVisible && !mbGlueVisible2 && !mbGlueVisible3) GlueInvalidate(); } }
262 bool ImpIsGlueVisible()
const {
return mbGlueVisible || mbGlueVisible2 || mbGlueVisible3 || mbGlueVisible4; }
266 void GlueInvalidate()
const;
271 virtual void ModelHasChanged();
284 virtual void ClearPageView();
286 virtual bool IsAction()
const;
287 virtual void MovAction(
const Point& rPnt);
289 virtual void BckAction();
290 virtual void BrkAction();
294 virtual bool IsTextEdit()
const;
320 virtual void HideSdrPage();
327 virtual void DeleteDeviceFromPaintView(
OutputDevice& rOldDev);
329 void SetLayerVisible(
const OUString& rName,
bool bShow);
330 bool IsLayerVisible(
const OUString& rName)
const;
332 void SetLayerLocked(
const OUString& rName,
bool bLock=
true);
333 bool IsLayerLocked(
const OUString& rName)
const;
335 void SetLayerPrintable(
const OUString& rName,
bool bPrn);
336 bool IsLayerPrintable(
const OUString& rName)
const;
357 virtual void EndCompleteRedraw(
SdrPaintWindow& rPaintWindow,
bool bPaintFormLayer);
367 void EndDrawLayers(
SdrPaintWindow& rPaintWindow,
bool bPaintFormLayer);
410 void SetGlueVisible(
bool bOn =
true) {
if (mbGlueVisible!=bOn) { mbGlueVisible=bOn;
if (!mbGlueVisible2 && !mbGlueVisible3 && !mbGlueVisible4) GlueInvalidate(); } }
420 void setHideOle(
bool bNew) {
if(bNew != mbHideOle) mbHideOle = bNew; }
421 void setHideChart(
bool bNew) {
if(bNew != mbHideChart) mbHideChart = bNew; }
422 void setHideDraw(
bool bNew) {
if(bNew != mbHideDraw) mbHideDraw = bNew; }
429 if (mbGridVisible) InvalidateAllWin();
434 void InvalidateAllWin();
446 void LeaveOneGroup();
449 void LeaveAllGroup();
452 bool IsGroupEntered()
const;
456 void SetDefaultAttr(
const SfxItemSet& rAttr,
bool bReplaceAll);
458 void SetDefaultStyleSheet(
SfxStyleSheet* pStyleSheet,
bool bDontRemoveHardAttr);
460 void SetNotPersistDefaultAttr(
const SfxItemSet& rAttr);
461 void MergeNotPersistDefaultAttr(
SfxItemSet& rAttr)
const;
478 void GetAttributes(
SfxItemSet& rTargetSet,
bool bOnlyHardAttr)
const;
480 void SetAttributes(
const SfxItemSet& rSet,
bool bReplaceAll);
494 void SetAnimationEnabled(
bool bEnable=
true );
497 void SetAnimationPause(
bool bSet );
515 void onChangeColorConfig();
518 void SetApplicationBackgroundColor(
Color aBackgroundColor);
521 void SetApplicationDocumentColor(
Color aDocumentColor);
525 void SetAnimationTimer(sal_uInt32 nTime);
This class represents an embedded or linked bitmap graphic object.
void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
SfxStyleSheet * GetStyleSheet() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
void SetPageVisible(bool bOn=true)
bool IsBordVisible() const
Draw Border line or not.
bool IsPrintPreview() const
bool IsGridFront() const
Draw Grid in front of objects or behind them.
void ImpSetGlueVisible4(bool bOn)
virtual bool MouseButtonUp(const MouseEvent &, OutputDevice *)
bool IsMasterPageVisualizationAllowed() const
void setHideOle(bool bNew)
SdrAnimationMode meAnimationMode
svtools::ColorConfig maColorConfig
void SetPreviewRenderer(bool bOn)
virtual bool RequestHelp(const HelpEvent &)
void SetHlplVisible(bool bOn=true)
std::unique_ptr< SdrPageView > mpPageView
void setHideFormControl(bool bNew)
virtual bool MouseMove(const MouseEvent &, OutputDevice *)
bool IsPageVisible() const
Draw Page as a white area or not.
bool mbBufferedOverlayAllowed
const Size & GetGridFine() const
const SfxItemSet & GetDefaultAttr() const
bool IsPageBorderVisible() const
Draw Page as a white area or not.
DECL_DLLPRIVATE_LINK(ImpComeBackHdl, Timer *, void)
sal_uInt16 GetHitTolerancePixel() const
void SetActiveLayer(const OUString &rName)
const Size & GetGridCoarse() const
const svtools::ColorConfig & getColorConfig() const
bool IsPreviewRenderer() const
bool IsPageDecorationAllowed() const
void SetGridFine(const Size &rSiz)
SdrModel & getSdrModelFromSdrView() const
void SetHitTolerancePixel(sal_uInt16 nVal)
bool getHideFormControl() const
void SetBordVisible(bool bOn=true)
tools::Rectangle maMaxWorkArea
const Color & GetGridColor() const
VclPtr< OutputDevice > mpActualOutDev
virtual bool Command(const CommandEvent &, vcl::Window *)
bool IsPageShadowVisible() const
Draw Page shadow or not.
void SetSwapAsynchron(bool bJa=true)
bool IsAnimationEnabled() const
Enable/disable animations for Paint Is used by e.g.
sal_uInt32 PaintWindowCount() const
void SetGridFront(bool bOn)
virtual bool MouseButtonDown(const MouseEvent &, OutputDevice *)
bool IsHlplVisible() const
Draw Help line of the Page or not.
void SetGridCoarse(const Size &rSiz)
SfxStyleSheet * mpDefaultStyleSheet
void SetPrintPreview(bool bOn=true)
const SdrDragStat & GetDragStat() const
bool mbBufferedOutputAllowed
bool mbPageDecorationAllowed
void SetGlueVisible(bool bOn=true)
bool mbMasterPageVisualizationAllowed
bool ImpIsGlueVisible() const
void ImpSetGlueVisible3(bool bOn)
void setHideDraw(bool bNew)
SdrPageView * GetSdrPageView() const
void SetHlplFront(bool bOn)
void SetPageShadowVisible(bool bOn)
void SetPageBorderVisible(bool bOn=true)
VclPtr< OutputDevice > mpDragWin
SdrModel & GetModel() const
bool IsHlplFront() const
Draw Help line in front of the objects or behind them.
void SetMinMoveDistancePixel(sal_uInt16 nVal)
bool getHideChart() const
bool IsSwapAsynchron() const
Execute a swap-in of e.g.
sal_uInt16 getHitTolLog() const
const OUString & GetActiveLayer() const
void setHideChart(bool bNew)
void ImpSetGlueVisible2(bool bOn)
std::vector< std::unique_ptr< SdrPaintWindow > > maPaintWindows
void SetGridVisible(bool bOn)
bool IsGridVisible() const
Draw Grid or not.
void SetPaintTextEdit(bool bPaint)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint)
constexpr tools::Long Height() const
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
virtual void ConfigurationChanged(ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
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...
#define SVXCORE_DLLPUBLIC