41 class XControlContainer;
52enum class GraphicManagerDrawFlags;
55 class ViewObjectContactRedirector;
66namespace sdr::contact {
class ViewObjectContactRedirector; }
88 const sal_uInt32 nMaximumQuadraticPixels);
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();
261 virtual void ClearPageView();
263 virtual bool IsAction()
const;
264 virtual void MovAction(
const Point& rPnt);
266 virtual void BckAction();
267 virtual void BrkAction();
271 virtual bool IsTextEdit()
const;
297 virtual void HideSdrPage();
304 virtual void DeleteDeviceFromPaintView(
OutputDevice& rOldDev);
306 void SetLayerVisible(
const OUString& rName,
bool bShow);
307 bool IsLayerVisible(
const OUString& rName)
const;
309 void SetLayerLocked(
const OUString& rName,
bool bLock=
true);
310 bool IsLayerLocked(
const OUString& rName)
const;
312 void SetLayerPrintable(
const OUString& rName,
bool bPrn);
313 bool IsLayerPrintable(
const OUString& rName)
const;
334 virtual void EndCompleteRedraw(
SdrPaintWindow& rPaintWindow,
bool bPaintFormLayer);
344 void EndDrawLayers(
SdrPaintWindow& rPaintWindow,
bool bPaintFormLayer);
387 void SetGlueVisible(
bool bOn =
true) {
if (mbGlueVisible!=bOn) { mbGlueVisible=bOn;
if (!mbGlueVisible2 && !mbGlueVisible3 && !mbGlueVisible4) GlueInvalidate(); } }
397 void setHideOle(
bool bNew) {
if(bNew != mbHideOle) mbHideOle = bNew; }
398 void setHideChart(
bool bNew) {
if(bNew != mbHideChart) mbHideChart = bNew; }
399 void setHideDraw(
bool bNew) {
if(bNew != mbHideDraw) mbHideDraw = bNew; }
406 if (mbGridVisible) InvalidateAllWin();
411 void InvalidateAllWin();
423 void LeaveOneGroup();
426 void LeaveAllGroup();
429 bool IsGroupEntered()
const;
433 void SetDefaultAttr(
const SfxItemSet& rAttr,
bool bReplaceAll);
435 void SetDefaultStyleSheet(
SfxStyleSheet* pStyleSheet,
bool bDontRemoveHardAttr);
437 void SetNotPersistDefaultAttr(
const SfxItemSet& rAttr);
438 void MergeNotPersistDefaultAttr(
SfxItemSet& rAttr)
const;
455 void GetAttributes(
SfxItemSet& rTargetSet,
bool bOnlyHardAttr)
const;
457 void SetAttributes(
const SfxItemSet& rSet,
bool bReplaceAll);
471 void SetAnimationEnabled(
bool bEnable=
true );
474 void SetAnimationPause(
bool bSet );
492 void onChangeColorConfig();
495 void SetApplicationBackgroundColor(
Color aBackgroundColor);
498 void SetApplicationDocumentColor(
Color aDocumentColor);
502 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 *)
void setHideOle(bool bNew)
bool mbPagePaintingAllowed
SdrAnimationMode meAnimationMode
svtools::ColorConfig maColorConfig
void SetPreviewRenderer(bool bOn)
virtual bool RequestHelp(const HelpEvent &)
void SetHlplVisible(bool bOn=true)
bool IsPagePaintingAllowed() const
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
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
void SetGlueVisible(bool bOn=true)
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