LibreOffice Module svx (master) 1
|
#include <svdpntv.hxx>
Public Member Functions | |
bool | IsBufferedOutputAllowed () const |
void | SetBufferedOutputAllowed (bool bNew) |
bool | IsBufferedOverlayAllowed () const |
void | SetBufferedOverlayAllowed (bool bNew) |
bool | IsPagePaintingAllowed () const |
void | SetPagePaintingAllowed (bool bNew) |
virtual rtl::Reference< sdr::overlay::OverlayManager > | CreateOverlayManager (OutputDevice &rDevice) const |
sal_uInt32 | PaintWindowCount () const |
SdrPaintWindow * | FindPaintWindow (const OutputDevice &rOut) const |
SdrPaintWindow * | GetPaintWindow (sal_uInt32 nIndex) const |
OutputDevice * | GetFirstOutputDevice () const |
bool | ImpIsGlueVisible () const |
SdrModel & | getSdrModelFromSdrView () const |
SdrModel & | GetModel () const |
virtual void | ClearPageView () |
virtual bool | IsAction () const |
virtual void | MovAction (const Point &rPnt) |
virtual void | EndAction () |
virtual void | BckAction () |
virtual void | BrkAction () |
virtual void | TakeActionRect (tools::Rectangle &rRect) const |
virtual bool | IsTextEdit () const |
void | SetActualWin (const OutputDevice *pWin) |
void | SetMinMoveDistancePixel (sal_uInt16 nVal) |
void | SetHitTolerancePixel (sal_uInt16 nVal) |
sal_uInt16 | GetHitTolerancePixel () const |
sal_uInt16 | getHitTolLog () const |
const SdrDragStat & | GetDragStat () const |
virtual SdrPageView * | ShowSdrPage (SdrPage *pPage) |
virtual void | HideSdrPage () |
SdrPageView * | GetSdrPageView () const |
virtual void | AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) |
virtual void | DeleteDeviceFromPaintView (OutputDevice &rOldDev) |
void | SetLayerVisible (const OUString &rName, bool bShow) |
bool | IsLayerVisible (const OUString &rName) const |
void | SetLayerLocked (const OUString &rName, bool bLock=true) |
bool | IsLayerLocked (const OUString &rName) const |
void | SetLayerPrintable (const OUString &rName, bool bPrn) |
bool | IsLayerPrintable (const OUString &rName) const |
void | PrePaint () |
virtual void | CompleteRedraw (OutputDevice *pOut, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) |
virtual SdrPaintWindow * | BeginCompleteRedraw (OutputDevice *pOut) |
void | DoCompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) |
virtual void | EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) |
SdrPaintWindow * | BeginDrawLayers (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect=false) |
void | UpdateDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg) |
void | EndDrawLayers (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) |
bool | IsPageVisible () const |
Draw Page as a white area or not. More... | |
bool | IsPageShadowVisible () const |
Draw Page shadow or not. More... | |
bool | IsPageBorderVisible () const |
Draw Page as a white area or not. More... | |
bool | IsBordVisible () const |
Draw Border line or not. More... | |
bool | IsGridVisible () const |
Draw Grid or not. More... | |
bool | IsGridFront () const |
Draw Grid in front of objects or behind them. More... | |
bool | IsHlplVisible () const |
Draw Help line of the Page or not. More... | |
bool | IsHlplFront () const |
Draw Help line in front of the objects or behind them. More... | |
const Color & | GetGridColor () const |
void | SetPageVisible (bool bOn=true) |
void | SetPageShadowVisible (bool bOn) |
void | SetPageBorderVisible (bool bOn=true) |
void | SetBordVisible (bool bOn=true) |
void | SetGridVisible (bool bOn) |
void | SetGridFront (bool bOn) |
void | SetHlplVisible (bool bOn=true) |
void | SetHlplFront (bool bOn) |
void | SetGlueVisible (bool bOn=true) |
bool | IsPreviewRenderer () const |
void | SetPreviewRenderer (bool bOn) |
bool | getHideOle () const |
bool | getHideChart () const |
bool | getHideDraw () const |
bool | getHideFormControl () const |
void | setHideOle (bool bNew) |
void | setHideChart (bool bNew) |
void | setHideDraw (bool bNew) |
void | setHideFormControl (bool bNew) |
void | SetGridCoarse (const Size &rSiz) |
void | SetGridFine (const Size &rSiz) |
const Size & | GetGridCoarse () const |
const Size & | GetGridFine () const |
void | InvalidateAllWin () |
void | InvalidateAllWin (const tools::Rectangle &rRect) |
virtual void | InvalidateOneWin (OutputDevice &rWin) |
If the View should not call Invalidate() on the windows, override the following 2 methods and do something else. More... | |
virtual void | InvalidateOneWin (OutputDevice &rWin, const tools::Rectangle &rRect) |
void | SetActiveLayer (const OUString &rName) |
const OUString & | GetActiveLayer () const |
void | LeaveOneGroup () |
Leave an object group of all visible Pages (like chdir .. in MS-DOS) More... | |
void | LeaveAllGroup () |
Leave all entered object groups of all visible Pages (like chdir \ in MS-DOS) More... | |
bool | IsGroupEntered () const |
Determine, whether Leave is useful or not. More... | |
void | SetDefaultAttr (const SfxItemSet &rAttr, bool bReplaceAll) |
Default attributes at the View Newly created objects are assigned these attributes by default when they are created. More... | |
const SfxItemSet & | GetDefaultAttr () const |
void | SetDefaultStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
void | SetNotPersistDefaultAttr (const SfxItemSet &rAttr) |
void | MergeNotPersistDefaultAttr (SfxItemSet &rAttr) const |
bool | IsSwapAsynchron () const |
Execute a swap-in of e.g. More... | |
void | SetSwapAsynchron (bool bJa=true) |
virtual bool | KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) |
virtual bool | MouseButtonDown (const MouseEvent &, OutputDevice *) |
virtual bool | MouseButtonUp (const MouseEvent &, OutputDevice *) |
virtual bool | MouseMove (const MouseEvent &, OutputDevice *) |
virtual bool | RequestHelp (const HelpEvent &) |
virtual bool | Command (const CommandEvent &, vcl::Window *) |
void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const |
void | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
virtual void | MakeVisible (const tools::Rectangle &rRect, vcl::Window &rWin) |
virtual void | DoConnect (SdrOle2Obj *pOleObj) |
For Plugins Is called by the Paint of the OLE object. More... | |
bool | IsAnimationEnabled () const |
Enable/disable animations for Paint Is used by e.g. More... | |
void | SetAnimationEnabled (bool bEnable=true) |
void | SetAnimationPause (bool bSet) |
Set/unset pause state for animations. More... | |
void | SetAnimationMode (const SdrAnimationMode eMode) |
Mode when starting an animation in the Paint Handler: More... | |
void | VisAreaChanged (const OutputDevice *pOut) |
Must be called by the App when scrolling etc. More... | |
void | VisAreaChanged () |
bool | IsPrintPreview () const |
void | SetPrintPreview (bool bOn=true) |
const svtools::ColorConfig & | getColorConfig () const |
void | onChangeColorConfig () |
void | SetApplicationBackgroundColor (Color aBackgroundColor) |
void | SetApplicationDocumentColor (Color aDocumentColor) |
void | SetAnimationTimer (sal_uInt32 nTime) |
void | SetPaintTextEdit (bool bPaint) |
![]() | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
![]() | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
size_t | GetSizeOfVector () const |
SfxListener * | GetListener (size_t nNo) const |
![]() | |
virtual | ~ConfigurationListener () |
virtual void | ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0 |
Protected Member Functions | |
void | DeletePaintWindow (const SdrPaintWindow &rOld) |
void | ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override |
sal_uInt16 | ImpGetMinMovLogic (short nMinMov, const OutputDevice *pOut) const |
sal_uInt16 | ImpGetHitTolLogic (short nHitTol, const OutputDevice *pOut) const |
void | FlushComeBackTimer () const |
void | TheresNewMapMode () |
void | ImpSetGlueVisible2 (bool bOn) |
void | ImpSetGlueVisible3 (bool bOn) |
void | ImpSetGlueVisible4 (bool bOn) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | GlueInvalidate () const |
virtual void | ModelHasChanged () |
SdrPaintView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrPaintView () override |
void | ImpFormLayerDrawing (SdrPaintWindow &rPaintWindow) |
![]() | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Static Protected Member Functions | |
static void | InitOverlayManager (rtl::Reference< sdr::overlay::OverlayManager > xOverlayManager) |
static vcl::Region | OptimizeDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect) |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (ImpComeBackHdl, Timer *, void) | |
Private Attributes | |
SdrModel & | mrModel |
std::unique_ptr< SdrPageView > | mpPageView |
Friends | |
class | SdrPageView |
class | SdrGrafObj |
Definition at line 114 of file svdpntv.hxx.
|
protected |
Definition at line 131 of file svdpntv.cxx.
References AddDeviceToPaintView(), Animate, COL_BLACK(), GetModel(), LINK, maColorConfig, maComeBackIdle, mrModel, onChangeColorConfig(), pOut, SetDefaultStyleSheet(), Timer::SetInvokeHandler(), and Task::SetPriority().
|
overrideprotectedvirtual |
Definition at line 182 of file svdpntv.cxx.
References ClearPageView(), SfxListener::EndListening(), maColorConfig, maPaintWindows, and mpDefaultStyleSheet.
|
virtual |
Reimplemented in FmFormView, and SdrObjEditView.
Definition at line 386 of file svdpntv.cxx.
References maPaintWindows, and mpPageView.
Referenced by SdrObjEditView::AddDeviceToPaintView(), and SdrPaintView().
|
virtual |
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, and SdrSnapView.
Definition at line 284 of file svdpntv.cxx.
Referenced by SdrSnapView::BckAction().
|
virtual |
Reimplemented in FmFormView.
Definition at line 581 of file svdpntv.cxx.
References FindPaintWindow(), pOut, SdrPaintWindow::PreparePreRenderDevice(), and SdrPaintWindow::setTemporaryTarget().
Referenced by FmFormView::BeginCompleteRedraw(), BeginDrawLayers(), and CompleteRedraw().
SdrPaintWindow * SdrPaintView::BeginDrawLayers | ( | OutputDevice * | pOut, |
const vcl::Region & | rReg, | ||
bool | bDisableIntersect = false |
||
) |
Definition at line 679 of file svdpntv.cxx.
References BeginCompleteRedraw(), mpPageView, OptimizeDrawLayersRegion(), pOut, and SdrPageWindow::PrepareRedraw().
|
virtual |
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, and SdrSnapView.
Definition at line 288 of file svdpntv.cxx.
Referenced by SdrSnapView::BrkAction(), and ClearPageView().
|
virtual |
Reimplemented in SdrMarkView.
Definition at line 346 of file svdpntv.cxx.
References BrkAction(), InvalidateAllWin(), and mpPageView.
Referenced by SdrMarkView::ClearPageView(), and ~SdrPaintView().
|
inlinevirtual |
Reimplemented in SdrObjEditView, and SdrView.
Definition at line 453 of file svdpntv.hxx.
Referenced by SdrObjEditView::Command().
|
virtual |
Definition at line 479 of file svdpntv.cxx.
References a, BeginCompleteRedraw(), count, DoCompleteRedraw(), EndCompleteRedraw(), vcl::Window::GetPaintRegion(), tools::Time::GetSystemTicks(), vcl::Region::Intersect(), vcl::Region::IsEmpty(), vcl::Window::IsInPaint(), OUTDEV_WINDOW, and pOut.
|
overrideprotected |
Definition at line 232 of file svdpntv.cxx.
References InvalidateAllWin(), and onChangeColorConfig().
Referenced by SdrView::ConfigurationChanged().
|
virtual |
Reimplemented in GraphCtrlView.
Definition at line 193 of file sdrpaintwindow.cxx.
References sdr::overlay::OverlayManager::create(), sdr::overlay::OverlayManagerBuffered::create(), OutputDevice::GetOutDevType(), OutputDevice::GetOwnerWindow(), InitOverlayManager(), vcl::Window::Invalidate(), comphelper::LibreOfficeKit::isActive(), IsBufferedOverlayAllowed(), OUTDEV_WINDOW, and vcl::Window::SupportsDoubleBuffering().
Referenced by GraphCtrlView::CreateOverlayManager(), and SdrPaintWindow::impCreateOverlayManager().
|
private |
|
virtual |
Reimplemented in FmFormView, and SdrObjEditView.
Definition at line 397 of file svdpntv.cxx.
References DeletePaintWindow(), FindPaintWindow(), and mpPageView.
Referenced by SdrObjEditView::DeleteDeviceFromPaintView().
|
protected |
Definition at line 80 of file svdpntv.cxx.
References maPaintWindows, and p.
Referenced by DeleteDeviceFromPaintView().
void SdrPaintView::DoCompleteRedraw | ( | SdrPaintWindow & | rPaintWindow, |
const vcl::Region & | rReg, | ||
sdr::contact::ViewObjectContactRedirector * | pRedirector = nullptr |
||
) |
|
virtual |
For Plugins Is called by the Paint of the OLE object.
Definition at line 1069 of file svdpntv.cxx.
Referenced by sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence().
|
virtual |
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, and SdrSnapView.
Definition at line 280 of file svdpntv.cxx.
Referenced by SdrSnapView::EndAction().
|
virtual |
Reimplemented in FmFormView.
Definition at line 613 of file svdpntv.cxx.
References SdrPaintWindow::DrawOverlay(), SdrViewIter::FirstView(), SdrPageView::GetPage(), SdrPaintWindow::GetRedrawRegion(), GetSdrPageView(), SdrPaintWindow::getTemporaryTarget(), ImpFormLayerDrawing(), comphelper::LibreOfficeKit::isActive(), SdrPage::IsMasterPage(), IsTextEdit(), mbPaintTextEdit, SdrViewIter::NextView(), and SdrPaintWindow::OutputPreRenderDevice().
Referenced by CompleteRedraw(), FmFormView::EndCompleteRedraw(), and EndDrawLayers().
void SdrPaintView::EndDrawLayers | ( | SdrPaintWindow & | rPaintWindow, |
bool | bPaintFormLayer | ||
) |
Definition at line 704 of file svdpntv.cxx.
References EndCompleteRedraw(), and mpPageView.
SdrPaintWindow * SdrPaintView::FindPaintWindow | ( | const OutputDevice & | rOut | ) | const |
Definition at line 55 of file svdpntv.cxx.
References SdrPaintWindow::getPatched(), and maPaintWindows.
Referenced by BeginCompleteRedraw(), DeleteDeviceFromPaintView(), and UpdateDrawLayersRegion().
|
protected |
Definition at line 246 of file svdpntv.cxx.
References maComeBackIdle, mbSomeObjChgdFlag, and Task::Stop().
Referenced by SdrMarkView::PickHandle(), and SdrObjEditView::SetAttributes().
|
inline |
Definition at line 420 of file svdpntv.hxx.
Referenced by SdrEditView::CombineMarkedTextObjects(), and FmFormShell::GetState().
void SdrPaintView::GetAttributes | ( | SfxItemSet & | rTargetSet, |
bool | bOnlyHardAttr | ||
) | const |
Definition at line 983 of file svdpntv.cxx.
References SfxStyleSheetBase::GetItemSet(), maDefaultAttr, MergeNotPersistDefaultAttr(), mpDefaultStyleSheet, and SfxItemSet::Put().
Referenced by SdrEditView::GetAttributes().
|
inline |
Definition at line 490 of file svdpntv.hxx.
|
inline |
Definition at line 434 of file svdpntv.hxx.
|
inline |
Definition at line 287 of file svdpntv.hxx.
Referenced by SdrView::MoveShapeHandle().
OutputDevice * SdrPaintView::GetFirstOutputDevice | ( | ) | const |
Definition at line 91 of file svdpntv.cxx.
References SdrPaintWindow::GetOutputDevice(), GetPaintWindow(), and PaintWindowCount().
Referenced by SvxXConnectionPreview::AdaptSize(), SdrMarkView::dumpGluePointsToJSON(), SdrPathObj::EndCreate(), SdrMarkView::ForceRefToMarked(), SdrMarkView::getPossibleGridOffsetForPosition(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrObjEditView::HideSdrPage(), SdrEdgeObj::ImpFindConnector(), ImpGetHitTolLogic(), ImpGetMinMovLogic(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), SdrMarkView::modelHasChangedLOKit(), ImpPathForDragAndCreate::MovCreate(), sdr::table::SvxTableController::onMouseButtonDown(), SdrView::PickAnything(), SdrMarkView::PickGluePoint(), SdrMarkView::SetMarkHandles(), SdrMarkView::SetMarkHandlesForLOKit(), SdrObjEditView::ShowSdrPage(), E3dView::Start3DCreation(), and sdr::table::SvxTableController::updateSelectionOverlay().
|
inline |
Definition at line 408 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence().
|
inline |
Definition at line 378 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence().
|
inline |
Definition at line 409 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence().
|
inline |
Definition at line 394 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible().
|
inline |
Definition at line 395 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible().
|
inline |
Definition at line 396 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible().
|
inline |
Definition at line 393 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible().
|
inline |
Definition at line 280 of file svdpntv.hxx.
|
inline |
Definition at line 283 of file svdpntv.hxx.
|
inline |
Definition at line 259 of file svdpntv.hxx.
References mrModel.
Referenced by SdrMarkView::AddDragModeHdl(), SdrEditView::AddUndo(), SdrEditView::AlignMarkedObjects(), SdrDragView::BegInsGluePoint(), SdrEditView::BegUndo(), FmFormView::ChangeDesignMode(), SdrEditView::CombineMarkedObjects(), SdrObjEditView::Command(), SdrEditView::CopyMarkedObj(), SdrEditView::CreateConnectorUndo(), SdrExchangeView::CreateMarkedObjModel(), SdrEditView::CrookMarkedObj(), SdrEditView::DeleteLayer(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrEditView::DeleteMarkedList(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DistortMarkedObj(), SdrEditView::DistributeMarkedObjects(), SdrEditView::DoImportMarkedMtf(), SdrDragObjOwn::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrEditView::EndTextEditAllViews(), SdrEditView::EndUndo(), SdrEditView::EqualizeMarkedObjects(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), svx::sidebar::PosSizePropertyPanel::executeSize(), E3dView::Get3DAttributes(), SdrEditView::GetAttrFromMarked(), E3dView::GetDefaultCamFocal(), E3dView::GetDefaultCamPosZ(), getExtrusionDepthState(), SdrEditView::GetGeoAttrFromMarked(), SvxGrafAttrHelper::GetGrafAttrState(), GalleryTheme::GetGraphic(), SdrExchangeView::GetMarkedObjBitmapEx(), SdrExchangeView::GetMarkedObjects(), SdrExchangeView::GetMarkedObjMetaFile(), SdrDragMove::GetSdrDragComment(), SdrDragDistort::GetSdrDragComment(), SdrDragCrop::GetSdrDragComment(), SdrEditView::GroupMarked(), SdrCreateView::ImpBegCreateObj(), SdrDragView::ImpBegInsObjPoint(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), SdrObjEditView::ImpChainingEventHdl(), E3dView::ImpChangeSomeAttributesFor3DConversion(), E3dView::ImpChangeSomeAttributesFor3DConversion2(), E3dView::ImpCloneAll3DObjectsToDestScene(), SdrEditView::ImpConvertOneObj(), SdrEditView::ImpCopyAttributes(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrEditView::ImpDelLayerDelObjs(), SdrEditView::ImpDismantleOneObject(), SdrGlueEditView::ImpDoMarkedGluePoints(), ImpFormLayerDrawing(), IMPL_LINK_NOARG(), SdrExchangeView::ImpPasteObject(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrPolyEditView::ImpTransformMarkedPoints(), FmFormView::Init(), svx::sidebar::PosSizePropertyPanel::Initialize(), SdrEditView::InsertNewLayer(), SdrEditView::InsertObjectAtView(), SdrEditView::IsUndoEnabled(), SdrObjEditView::KeyInput(), SdrView::KeyInput(), SdrEditView::MergeMarkedObjects(), MergeNotPersistDefaultAttr(), SdrEditView::MirrorMarkedObj(), SdrEditView::MoveMarkedObj(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), SdrObjEditView::Notify(), SdrExchangeView::Paste(), SdrEditView::PutMarkedBehindObj(), SdrEditView::PutMarkedInFrontOfObj(), SdrPageWindow::RedrawAll(), SdrPageWindow::RedrawLayer(), SdrEditView::ReplaceObjectAtView(), SdrEditView::ResizeMarkedObj(), SdrEditView::ResizeMultMarkedObj(), SdrEditView::ReverseOrderOfMarked(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrEditView::RotateMarkedObj(), SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::SdrEndTextEdit(), SdrPaintView(), E3dView::Set3DAttributes(), SdrObjEditView::SetAttributes(), SdrEditView::SetAttrToMarked(), SdrCreateView::SetCurrentObj(), SdrEditView::SetGeoAttrToMarked(), SdrEditView::SetMarkedObjRect(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SdrEditView::SetNotPersistAttrToMarked(), SetNotPersistDefaultAttr(), svx::sidebar::PosSizePropertyPanel::SetPosSizeMinMax(), SdrEditView::SetStyleSheetToMarked(), SdrEditView::SetUndoComment(), FmFormShell::SetView(), SdrEditView::ShearMarkedObj(), SdrObjEditView::TakeFormatPaintBrush(), SdrEditView::UnGroupMarked(), and svx::sidebar::PosSizePropertyPanel::UpdateUIScale().
SdrPaintWindow * SdrPaintView::GetPaintWindow | ( | sal_uInt32 | nIndex | ) | const |
Definition at line 75 of file svdpntv.cxx.
References maPaintWindows, and nIndex.
Referenced by ImpSdrCreateViewExtraData::CreateAndShowOverlay(), GetFirstOutputDevice(), SvxGraphCtrlAccessibleContext::GetVisibleArea(), GlueInvalidate(), SdrPageView::ImpInvalidateHelpLineArea(), ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(), SdrDropMarkerOverlay::ImplCreateOverlays(), ImplHelpLineOverlay::ImplHelpLineOverlay(), ImplMarkingOverlay::ImplMarkingOverlay(), ImplPageOriginOverlay::ImplPageOriginOverlay(), InvalidateAllWin(), MarkingSubSelectionOverlay::MarkingSubSelectionOverlay(), svxform::NavigatorTree::MarkViewObj(), SdrObjEditView::SdrBeginTextEdit(), SdrPageView::SdrPageView(), Impl3DMirrorConstructOverlay::SetMirrorAxis(), SdrCreateView::ShowCreateObj(), sdr::table::SvxTableController::updateSelectionOverlay(), and GraphCtrlView::~GraphCtrlView().
|
inline |
Definition at line 257 of file svdpntv.hxx.
References mrModel.
Referenced by SdrEditView::CombineMarkedTextObjects(), SvxXConnectionPreview::Construct(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrExchangeView::ImpPasteObject(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), SdrExchangeView::Paste(), and SdrMarkView::SetMarkHandlesForLOKit().
|
inline |
Definition at line 300 of file svdpntv.hxx.
Referenced by SdrSnapView::BegDragHelpLine(), SdrDragView::BegDragObj(), E3dView::BreakSingle3DObj(), FmFormView::ChangeDesignMode(), SdrEditView::CombineMarkedTextObjects(), E3dView::ConvertMarkedToPolyObj(), SdrHdl::CreateB2dIAObject(), svx::diagram::DiagramFrameHdl::CreateB2dIAObject(), SdrHdlColor::CreateB2dIAObject(), SdrHdlGradient::CreateB2dIAObject(), SdrHdlLine::CreateB2dIAObject(), SdrHdlBezWgt::CreateB2dIAObject(), E3dVolumeMarker::CreateB2dIAObject(), ImpEdgeHdl::CreateB2dIAObject(), ImpMeasureHdl::CreateB2dIAObject(), ImpTextframeHdl::CreateB2dIAObject(), SdrCropHdl::CreateB2dIAObject(), SdrCropViewHdl::CreateB2dIAObject(), sdr::table::TableEdgeHdl::CreateB2dIAObject(), sdr::table::TableBorderHdl::CreateB2dIAObject(), E3dView::CreateMarkedObjModel(), E3dDragMethod::CreateOverlayGeometry(), SdrDragObjOwn::createSdrDragEntries(), SdrDragMethod::createSdrDragEntries_SolidDrag(), SdrObjEditView::DeleteDeviceFromPaintView(), SdrEditView::DeleteMarkedObj(), svxform::NavigatorTree::DeleteSelection(), SvxGraphCtrlAccessibleContext::deselectAccessibleChild(), SdrMarkView::dumpGluePointsToJSON(), sdr::table::SvxTableController::EditCell(), EndCompleteRedraw(), SdrSnapView::EndDragHelpLine(), SdrSnapView::EndSetPageOrg(), SdrMarkView::EnterMarkedGroup(), SdrEditView::ForceMarkedObjToAnotherPage(), SvxGraphCtrlAccessibleContext::getAccessibleAtPoint(), FmFormView::GetCurPage(), FmFormShell::GetCurPage(), FmFormShell::GetFormControl(), SdrEditView::GetGeoAttrFromMarked(), FmFormShell::GetState(), SdrUnoObj::GetUnoControl(), SdrEditView::GroupMarked(), FmFormView::HideSdrPage(), SdrObjEditView::HideSdrPage(), SdrMarkView::HideSdrPage(), SdrCreateView::ImpBegCreateObj(), SdrViewIter::ImpFindView(), SdrExchangeView::ImpGetPasteLayer(), SdrExchangeView::ImpGetPasteObjList(), Impl3DMirrorConstructOverlay::Impl3DMirrorConstructOverlay(), FmPropBrw::impl_createPropertyBrowser_throw(), FmXFormView::implCreateFieldControl(), FmXFormView::implCreateXFormsControl(), SdrExchangeView::ImpPasteObject(), FmFormView::InsertControlContainer(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), SdrMarkView::MarkableObjectsExceed(), SdrMarkView::MarkAllObj(), SdrMarkView::MarkNextObj(), SdrMarkView::MarkObj(), svxform::NavigatorTree::MarkViewObj(), SdrObjEditView::ModelHasChanged(), SdrCreateView::MouseMove(), SdrDragCrook::MovAllPoints(), SdrDragDistort::MovAllPoints(), SdrDragView::MovDragObj(), SdrExchangeView::Paste(), SdrSnapView::PickHelpLine(), SdrMarkView::PickObj(), FmFormShell::PrepareClose(), FmXFormView::restoreMarkList(), SdrObjEditView::SdrBeginTextEdit(), SvxGraphCtrlAccessibleContext::selectAccessibleChild(), SdrMarkView::SetDesignMode(), SdrEditView::SetGeoAttrToMarked(), SdrMarkView::SetMarkHandlesForLOKit(), SdrMarkView::SetMarkRects(), SdrView::SetMasterPagePaintCaching(), svx::sidebar::PosSizePropertyPanel::SetPosSizeMinMax(), SdrDragView::ShowDragObj(), SdrSnapView::SnapPos(), SdrDragView::TakeActionRect(), and SdrExternalToolEdit::Update().
SfxStyleSheet * SdrPaintView::GetStyleSheet | ( | ) | const |
Definition at line 1003 of file svdpntv.cxx.
References mpDefaultStyleSheet.
Referenced by SdrEditView::GetStyleSheet().
|
protected |
Definition at line 789 of file svdpntv.cxx.
References SdrGluePointList::GetCount(), SdrObject::GetGluePointList(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrPaintWindow::GetOutputDevice(), OutputDevice::GetOwnerWindow(), GetPaintWindow(), SdrGluePointList::Invalidate(), comphelper::LibreOfficeKit::isActive(), mpPageView, SdrPaintWindow::OutputToWindow(), and PaintWindowCount().
Referenced by SdrPageView::EnterGroup(), SdrPageView::LeaveAllGroup(), and SdrPageView::LeaveOneGroup().
|
virtual |
Reimplemented in FmFormView, SdrObjEditView, and SdrMarkView.
Definition at line 377 of file svdpntv.cxx.
References mpPageView.
Referenced by SdrMarkView::HideSdrPage(), ModelHasChanged(), and Notify().
|
protected |
Definition at line 762 of file svdpntv.cxx.
References SdrLayerAdmin::GetControlLayerName(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetModel(), SdrPaintWindow::GetTargetOutputDevice(), and mpPageView.
Referenced by EndCompleteRedraw().
|
protected |
Definition at line 317 of file svdpntv.cxx.
References GetFirstOutputDevice(), pOut, and Width.
Referenced by SdrObjEditView::BegMacroObj(), SdrMarkView::IsMarkedObjHit(), SdrMarkView::MarkNextObj(), SdrMarkView::MarkObj(), SdrSnapView::PickHelpLine(), and SdrMarkView::PickObj().
|
protected |
Definition at line 303 of file svdpntv.cxx.
References GetFirstOutputDevice(), pOut, and Width.
Referenced by SdrSnapView::BegDragHelpLine(), SdrDragView::BegDragObj(), and SdrCreateView::ImpBegCreateObj().
|
inline |
Definition at line 239 of file svdpntv.hxx.
Referenced by sdr::contact::ObjectContactOfPageView::AreGluePointsVisible(), SdrPageView::LeaveAllGroup(), and SdrPageView::LeaveOneGroup().
|
inlineprotected |
Definition at line 234 of file svdpntv.hxx.
Referenced by SdrMarkView::SetEditMode().
|
inlineprotected |
Definition at line 235 of file svdpntv.hxx.
Referenced by SdrCreateView::SetCurrentObj(), and SdrMarkView::SetEditMode().
|
inlineprotected |
Definition at line 236 of file svdpntv.hxx.
Referenced by SdrMarkView::MarkListHasChanged().
|
staticprotected |
Definition at line 177 of file sdrpaintwindow.cxx.
References StyleSettings::GetHighlightColor(), Application::GetSettings(), SvtOptionsDrawinglayer::GetStripeColorA(), SvtOptionsDrawinglayer::GetStripeColorB(), SvtOptionsDrawinglayer::GetStripeLength(), AllSettings::GetStyleSettings(), and Color::Invert().
Referenced by CreateOverlayManager(), and GraphCtrlView::CreateOverlayManager().
void SdrPaintView::InvalidateAllWin | ( | ) |
Definition at line 822 of file svdpntv.cxx.
References a, SdrPaintWindow::GetOutputDevice(), GetPaintWindow(), InvalidateOneWin(), SdrPaintWindow::OutputToWindow(), and PaintWindowCount().
Referenced by ClearPageView(), ConfigurationChanged(), SdrEditView::ForceMarkedObjToAnotherPage(), SdrPageView::InvalidateAllWin(), SetLayerVisible(), and ShowSdrPage().
void SdrPaintView::InvalidateAllWin | ( | const tools::Rectangle & | rRect | ) |
Definition at line 837 of file svdpntv.cxx.
References a, OutputDevice::GetMapMode(), MapMode::GetOrigin(), SdrPaintWindow::GetOutputDevice(), OutputDevice::GetOutputSize(), GetPaintWindow(), InvalidateOneWin(), comphelper::LibreOfficeKit::isActive(), SdrPaintWindow::OutputToWindow(), tools::Rectangle::Overlaps(), PaintWindowCount(), and Point.
|
virtual |
If the View should not call Invalidate() on the windows, override the following 2 methods and do something else.
Reimplemented in GraphCtrlView.
Definition at line 863 of file svdpntv.cxx.
References OutputDevice::GetOwnerWindow(), and vcl::Window::Invalidate().
Referenced by InvalidateAllWin(), GraphCtrlView::InvalidateOneWin(), SdrPageWindow::InvalidatePageWindow(), MakeVisible(), SdrObjEditView::ModelHasChanged(), and SdrObjEditView::SdrEndTextEdit().
|
virtual |
Reimplemented in GraphCtrlView.
Definition at line 869 of file svdpntv.cxx.
References OutputDevice::GetOwnerWindow(), and vcl::Window::Invalidate().
|
virtual |
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, and SdrSnapView.
Definition at line 271 of file svdpntv.cxx.
Referenced by SdrSnapView::IsAction().
|
inline |
Enable/disable animations for Paint Is used by e.g.
SdrGrafObj, if it contains an animation Preventing automatic animation is needed for e.g. the presentation view
Definition at line 470 of file svdpntv.hxx.
References Animate.
|
inline |
Draw Border line or not.
Definition at line 364 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible().
bool SdrPaintView::IsBufferedOutputAllowed | ( | ) | const |
Definition at line 1157 of file svdpntv.cxx.
References SvtOptionsDrawinglayer::IsPaintBuffer(), and mbBufferedOutputAllowed.
Referenced by SdrPaintWindow::PreparePreRenderDevice().
bool SdrPaintView::IsBufferedOverlayAllowed | ( | ) | const |
Definition at line 1170 of file svdpntv.cxx.
References SvtOptionsDrawinglayer::IsOverlayBuffer(), and mbBufferedOverlayAllowed.
Referenced by CreateOverlayManager().
|
inline |
Draw Grid in front of objects or behind them.
Definition at line 370 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageGrid::isPrimitiveVisible().
|
inline |
Draw Grid or not.
Definition at line 367 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageGrid::isPrimitiveVisible().
bool SdrPaintView::IsGroupEntered | ( | ) | const |
Determine, whether Leave is useful or not.
Definition at line 891 of file svdpntv.cxx.
References mpPageView.
|
inline |
Draw Help line in front of the objects or behind them.
Definition at line 376 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageHelplines::isPrimitiveVisible(), and SdrView::PickAnything().
|
inline |
Draw Help line of the Page or not.
Definition at line 373 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageHelplines::isPrimitiveVisible(), and SdrView::PickAnything().
bool SdrPaintView::IsLayerLocked | ( | const OUString & | rName | ) | const |
Definition at line 440 of file svdpntv.cxx.
References mpPageView.
bool SdrPaintView::IsLayerPrintable | ( | const OUString & | rName | ) | const |
Definition at line 458 of file svdpntv.cxx.
References mpPageView.
bool SdrPaintView::IsLayerVisible | ( | const OUString & | rName | ) | const |
Definition at line 422 of file svdpntv.cxx.
References mpPageView.
|
inline |
Draw Page as a white area or not.
Definition at line 361 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfOuterPageBorder::isPrimitiveVisible().
|
inline |
Definition at line 203 of file svdpntv.hxx.
Referenced by SdrPageWindow::RedrawAll().
|
inline |
Draw Page shadow or not.
Definition at line 358 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageShadow::isPrimitiveVisible().
|
inline |
Draw Page as a white area or not.
Definition at line 355 of file svdpntv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageFill::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageShadow::isPrimitiveVisible(), and sdr::contact::ViewObjectContactOfOuterPageBorder::isPrimitiveVisible().
|
inline |
Definition at line 389 of file svdpntv.hxx.
Referenced by sdr::contact::ObjectContactOfPageView::ObjectContactOfPageView().
|
inline |
Definition at line 487 of file svdpntv.hxx.
Referenced by sdr::contact::ViewContactOfUnoControl::CreateObjectSpecificViewObjectContact(), and SdrPageWindow::GetControlContainer().
|
inline |
Execute a swap-in of e.g.
graphics asynchronously. This does not reload all graphics like Paint does, but kicks off the loading there. When such an object is done loading, it is displayed. TODO: Only works at the moment, if SwapGraphics is enabled in the model. The default = false flag is non-persistent
Definition at line 445 of file svdpntv.hxx.
|
virtual |
Reimplemented in SdrObjEditView.
Definition at line 298 of file svdpntv.cxx.
Referenced by EndCompleteRedraw(), SdrEditView::EndTextEditCurrentView(), SdrEditView::ReplaceObjectAtView(), and SdrMarkView::SetMarkHandles().
|
virtual |
Reimplemented in FmFormView, SdrObjEditView, and SdrView.
Definition at line 784 of file svdpntv.cxx.
Referenced by SdrObjEditView::KeyInput().
void SdrPaintView::LeaveAllGroup | ( | ) |
Leave all entered object groups of all visible Pages (like chdir \
in MS-DOS)
Definition at line 883 of file svdpntv.cxx.
References mpPageView.
void SdrPaintView::LeaveOneGroup | ( | ) |
Leave an object group of all visible Pages (like chdir ..
in MS-DOS)
Definition at line 875 of file svdpntv.cxx.
References mpPageView.
|
virtual |
Definition at line 1013 of file svdpntv.cxx.
References aMap, tools::Rectangle::Bottom(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), OutputDevice::GetOutputSize(), tools::Rectangle::GetSize(), Size::Height(), InvalidateOneWin(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsChart(), Size::IsEmpty(), tools::Rectangle::Left(), vcl::Window::PaintImmediately(), Point, Fraction::ReduceInaccurate(), tools::Rectangle::Right(), vcl::Window::Scroll(), vcl::Window::SetMapMode(), tools::Rectangle::Top(), u, and Size::Width().
Referenced by SdrObjEditView::ImpMakeTextCursorAreaVisible(), FormViewPageWindowAdapter::makeVisible(), and svxform::NavigatorTree::MarkViewObj().
void SdrPaintView::MergeNotPersistDefaultAttr | ( | SfxItemSet & | rAttr | ) | const |
Definition at line 922 of file svdpntv.cxx.
References SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetModel(), SdrCreateView::IsMeasureTool(), maActualLayer, maMeasureLayer, SfxItemSet::Put(), and SDRLAYER_NOTFOUND().
Referenced by GetAttributes().
|
protectedvirtual |
Reimplemented in SdrEditView, SdrObjEditView, and SdrMarkView.
Definition at line 255 of file svdpntv.cxx.
References HideSdrPage(), and mpPageView.
Referenced by SdrMarkView::ModelHasChanged().
|
inlinevirtual |
Reimplemented in FmFormView, SdrObjEditView, and SdrView.
Definition at line 449 of file svdpntv.hxx.
Referenced by SdrObjEditView::MouseButtonDown().
|
inlinevirtual |
Reimplemented in SdrObjEditView, and SdrView.
Definition at line 450 of file svdpntv.hxx.
Referenced by SdrObjEditView::MouseButtonUp().
|
inlinevirtual |
Reimplemented in SdrCreateView, SdrObjEditView, SdrMarkView, and SdrView.
Definition at line 451 of file svdpntv.hxx.
Referenced by SdrMarkView::MouseMove().
|
virtual |
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, SdrSnapView, and E3dView.
Definition at line 276 of file svdpntv.cxx.
Referenced by SdrSnapView::MovAction().
|
overrideprotectedvirtual |
Reimplemented from SfxListener.
Reimplemented in SdrObjEditView, and SdrMarkView.
Definition at line 195 of file svdpntv.cxx.
References SfxHint::GetId(), SdrHint::GetKind(), SdrHint::GetPage(), HideSdrPage(), SdrPage::IsInserted(), maComeBackIdle, mbSomeObjChgdFlag, mpDefaultStyleSheet, mpPageView, ObjectChange, ObjectInserted, ObjectRemoved, PageOrderChange, and Idle::Start().
Referenced by SdrMarkView::Notify().
void SdrPaintView::onChangeColorConfig | ( | ) |
Definition at line 1133 of file svdpntv.cxx.
References svtools::DRAWGRID, svtools::ColorConfig::GetColorValue(), maColorConfig, maGridColor, and svtools::ColorConfigValue::nColor.
Referenced by ConfigurationChanged(), and SdrPaintView().
|
staticprotected |
Definition at line 734 of file svdpntv.cxx.
References vcl::Window::GetPaintRegion(), vcl::Region::Intersect(), vcl::Region::IsEmpty(), vcl::Window::IsInPaint(), OUTDEV_WINDOW, and pOut.
Referenced by BeginDrawLayers(), and UpdateDrawLayersRegion().
|
inline |
Definition at line 218 of file svdpntv.hxx.
Referenced by ImpSdrCreateViewExtraData::CreateAndShowOverlay(), GetFirstOutputDevice(), SvxGraphCtrlAccessibleContext::GetVisibleArea(), GlueInvalidate(), SdrPageView::ImpInvalidateHelpLineArea(), ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(), SdrDropMarkerOverlay::ImplCreateOverlays(), ImplHelpLineOverlay::ImplHelpLineOverlay(), ImplMarkingOverlay::ImplMarkingOverlay(), ImplPageOriginOverlay::ImplPageOriginOverlay(), InvalidateAllWin(), MarkingSubSelectionOverlay::MarkingSubSelectionOverlay(), svxform::NavigatorTree::MarkViewObj(), SdrMarkView::modelHasChangedLOKit(), SdrObjEditView::SdrBeginTextEdit(), SdrPageView::SdrPageView(), SdrMarkView::SetMarkHandlesForLOKit(), Impl3DMirrorConstructOverlay::SetMirrorAxis(), SdrPageView::Show(), SdrCreateView::ShowCreateObj(), sdr::table::SvxTableController::updateSelectionOverlay(), and GraphCtrlView::~GraphCtrlView().
void SdrPaintView::PrePaint | ( | ) |
Definition at line 468 of file svdpntv.cxx.
References mpPageView.
|
inlinevirtual |
Reimplemented in SdrMarkView.
Definition at line 452 of file svdpntv.hxx.
Referenced by SdrMarkView::RequestHelp().
|
inline |
Definition at line 419 of file svdpntv.hxx.
void SdrPaintView::SetActualWin | ( | const OutputDevice * | pWin | ) |
Definition at line 339 of file svdpntv.cxx.
References mpActualOutDev, and TheresNewMapMode().
Referenced by SdrSnapView::SetActualWin().
void SdrPaintView::SetAnimationEnabled | ( | bool | bEnable = true | ) |
Definition at line 1073 of file svdpntv.cxx.
References Animate, Disable, and SetAnimationMode().
void SdrPaintView::SetAnimationMode | ( | const SdrAnimationMode | eMode | ) |
Mode when starting an animation in the Paint Handler:
Definition at line 1101 of file svdpntv.cxx.
References eMode, and meAnimationMode.
Referenced by SetAnimationEnabled().
void SdrPaintView::SetAnimationPause | ( | bool | bSet | ) |
Set/unset pause state for animations.
Definition at line 1078 of file svdpntv.cxx.
References SdrPageWindow::GetObjectContact(), sdr::contact::ObjectContact::getPrimitiveAnimator(), sdr::animation::Scheduler::IsPaused(), mbAnimationPause, mpPageView, and sdr::animation::Scheduler::SetPaused().
void SdrPaintView::SetAnimationTimer | ( | sal_uInt32 | nTime | ) |
Definition at line 1193 of file svdpntv.cxx.
References a, SdrPageWindow::GetObjectContact(), sdr::contact::ObjectContact::getPrimitiveAnimator(), mpPageView, and sdr::animation::Scheduler::SetTime().
Referenced by SdrEditView::SetAttrToMarked().
void SdrPaintView::SetApplicationBackgroundColor | ( | Color | aBackgroundColor | ) |
Definition at line 1140 of file svdpntv.cxx.
References mpPageView.
void SdrPaintView::SetApplicationDocumentColor | ( | Color | aDocumentColor | ) |
Definition at line 1149 of file svdpntv.cxx.
References mpPageView.
void SdrPaintView::SetAttributes | ( | const SfxItemSet & | rSet, |
bool | bReplaceAll | ||
) |
Definition at line 998 of file svdpntv.cxx.
References rSet, and SetDefaultAttr().
Referenced by SdrEditView::SetAttributes().
|
inline |
Definition at line 382 of file svdpntv.hxx.
void SdrPaintView::SetBufferedOutputAllowed | ( | bool | bNew | ) |
Definition at line 1162 of file svdpntv.cxx.
References mbBufferedOutputAllowed.
void SdrPaintView::SetBufferedOverlayAllowed | ( | bool | bNew | ) |
Definition at line 1175 of file svdpntv.cxx.
References mbBufferedOverlayAllowed.
void SdrPaintView::SetDefaultAttr | ( | const SfxItemSet & | rAttr, |
bool | bReplaceAll | ||
) |
Default attributes at the View Newly created objects are assigned these attributes by default when they are created.
Definition at line 934 of file svdpntv.cxx.
References Application::CreateMessageDialog(), EE_FEATURE_END(), EE_FEATURE_START(), SfxItemIter::GetCurItem(), IsInvalidItem(), maDefaultAttr, SfxItemIter::NextItem(), SfxItemSet::Put(), SfxItemSet::Set(), and SetNotPersistDefaultAttr().
Referenced by SetAttributes().
void SdrPaintView::SetDefaultStyleSheet | ( | SfxStyleSheet * | pStyleSheet, |
bool | bDontRemoveHardAttr | ||
) |
Definition at line 963 of file svdpntv.cxx.
References SfxItemSet::ClearItem(), SfxListener::EndListening(), SfxWhichIter::FirstWhich(), SfxStyleSheetBase::GetItemSet(), SfxWhichIter::GetItemState(), maDefaultAttr, mpDefaultStyleSheet, SfxWhichIter::NextWhich(), and SfxListener::StartListening().
Referenced by SdrPaintView(), and SetStyleSheet().
|
inline |
Definition at line 387 of file svdpntv.hxx.
|
inline |
Definition at line 402 of file svdpntv.hxx.
|
inline |
Definition at line 403 of file svdpntv.hxx.
References Size::Height(), Size::setHeight(), and Size::Width().
|
inline |
Definition at line 384 of file svdpntv.hxx.
|
inline |
Definition at line 383 of file svdpntv.hxx.
|
inline |
Definition at line 398 of file svdpntv.hxx.
|
inline |
Definition at line 399 of file svdpntv.hxx.
|
inline |
Definition at line 400 of file svdpntv.hxx.
|
inline |
Definition at line 397 of file svdpntv.hxx.
|
inline |
Definition at line 279 of file svdpntv.hxx.
|
inline |
Definition at line 386 of file svdpntv.hxx.
|
inline |
Definition at line 385 of file svdpntv.hxx.
void SdrPaintView::SetLayerLocked | ( | const OUString & | rName, |
bool | bLock = true |
||
) |
Definition at line 432 of file svdpntv.cxx.
References mpPageView.
void SdrPaintView::SetLayerPrintable | ( | const OUString & | rName, |
bool | bPrn | ||
) |
Definition at line 450 of file svdpntv.cxx.
References mpPageView.
void SdrPaintView::SetLayerVisible | ( | const OUString & | rName, |
bool | bShow | ||
) |
Definition at line 412 of file svdpntv.cxx.
References InvalidateAllWin(), and mpPageView.
|
inline |
Definition at line 278 of file svdpntv.hxx.
void SdrPaintView::SetNotPersistDefaultAttr | ( | const SfxItemSet & | rAttr | ) |
Definition at line 901 of file svdpntv.cxx.
References SfxItemSet::GetItemIfSet(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), GetModel(), SdrLayer::GetName(), SdrCreateView::IsMeasureTool(), maActualLayer, maMeasureLayer, SDRATTR_LAYERID(), and SDRATTR_LAYERNAME().
Referenced by SetDefaultAttr().
|
inline |
Definition at line 381 of file svdpntv.hxx.
void SdrPaintView::SetPagePaintingAllowed | ( | bool | bNew | ) |
Definition at line 1184 of file svdpntv.cxx.
References mbPagePaintingAllowed.
|
inline |
Definition at line 380 of file svdpntv.hxx.
|
inline |
Definition at line 379 of file svdpntv.hxx.
|
inline |
Definition at line 505 of file svdpntv.hxx.
|
inline |
Definition at line 390 of file svdpntv.hxx.
|
inline |
Definition at line 488 of file svdpntv.hxx.
void SdrPaintView::SetStyleSheet | ( | SfxStyleSheet * | pStyleSheet, |
bool | bDontRemoveHardAttr | ||
) |
Definition at line 1008 of file svdpntv.cxx.
References SetDefaultStyleSheet().
Referenced by SdrEditView::SetStyleSheet().
|
inline |
Definition at line 446 of file svdpntv.hxx.
|
virtual |
Reimplemented in FmFormView, and SdrObjEditView.
Definition at line 357 of file svdpntv.cxx.
References InvalidateAllWin(), mpPageView, and SdrPageView.
Referenced by SdrObjEditView::ShowSdrPage().
|
virtual |
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, and SdrSnapView.
Definition at line 292 of file svdpntv.cxx.
Referenced by SdrSnapView::TakeActionRect().
|
protected |
Definition at line 331 of file svdpntv.cxx.
References mnHitTolLog, mnHitTolPix, mnMinMovLog, mnMinMovPix, mpActualOutDev, and Width.
Referenced by SetActualWin().
void SdrPaintView::UpdateDrawLayersRegion | ( | const OutputDevice * | pOut, |
const vcl::Region & | rReg | ||
) |
Definition at line 716 of file svdpntv.cxx.
References FindPaintWindow(), SdrPageWindow::GetPaintWindow(), mpPageView, OptimizeDrawLayersRegion(), pOut, and SdrPaintWindow::SetRedrawRegion().
void SdrPaintView::VisAreaChanged | ( | ) |
Definition at line 1126 of file svdpntv.cxx.
References SfxBroadcaster::Broadcast().
Referenced by VisAreaChanged().
void SdrPaintView::VisAreaChanged | ( | const OutputDevice * | pOut | ) |
Must be called by the App when scrolling etc.
in order for an active FormControl to be moved too
Definition at line 1106 of file svdpntv.cxx.
References mpPageView, pOut, and VisAreaChanged().
|
friend |
Definition at line 118 of file svdpntv.hxx.
Referenced by SdrExchangeView::CreateMarkedObjModel().
|
friend |
Definition at line 117 of file svdpntv.hxx.
Referenced by ShowSdrPage().
|
protected |
Definition at line 129 of file svdpntv.hxx.
Referenced by SdrCreateView::EndCreateObj(), SdrCreateView::ImpBegCreateObj(), SdrExchangeView::ImpGetPasteLayer(), SdrEditView::InsertObjectAtView(), MergeNotPersistDefaultAttr(), SdrExchangeView::Paste(), and SetNotPersistDefaultAttr().
|
protected |
Definition at line 209 of file svdpntv.hxx.
Referenced by onChangeColorConfig(), SdrPaintView(), and ~SdrPaintView().
|
protected |
Definition at line 142 of file svdpntv.hxx.
Referenced by FlushComeBackTimer(), Notify(), and SdrPaintView().
|
protected |
Definition at line 141 of file svdpntv.hxx.
Referenced by GetAttributes(), SdrCreateView::ImpBegCreateObj(), SdrEditView::InsertObjectAtView(), SdrExchangeView::Paste(), SetDefaultAttr(), and SetDefaultStyleSheet().
|
protected |
Definition at line 139 of file svdpntv.hxx.
Referenced by SdrCreateView::BckCreateObj(), SdrSnapView::BegDragHelpLine(), SdrDragView::BegDragObj(), SdrDragView::BegInsGluePoint(), SdrMarkView::BegMarkGluePoints(), SdrMarkView::BegMarkObj(), SdrMarkView::BegMarkPoints(), SdrSnapView::BegSetPageOrg(), SdrCreateView::BrkCreateObj(), SdrView::DoMouseEvent(), SdrCreateView::EndCreateObj(), SdrSnapView::EndDragHelpLine(), SdrDragView::EndDragObj(), SdrDragView::EndInsObjPoint(), SdrMarkView::EndMarkGluePoints(), SdrMarkView::EndMarkObj(), SdrMarkView::EndMarkPoints(), SdrSnapView::EndSetPageOrg(), SdrView::GetStatusText(), SdrCreateView::HideCreateObj(), SdrDragView::HideDragObj(), SdrCreateView::ImpBegCreateObj(), SdrDragView::ImpBegInsObjPoint(), SdrView::MouseButtonDown(), SdrView::MouseButtonUp(), SdrView::MouseMove(), SdrCreateView::MovCreateObj(), SdrSnapView::MovDragHelpLine(), SdrMarkView::MovMarkGluePoints(), SdrMarkView::MovMarkObj(), SdrMarkView::MovMarkPoints(), SdrSnapView::MovSetPageOrg(), SdrView::PickAnything(), SdrDragView::SetDragStripes(), SdrDragView::SetNoDragXorPolys(), SdrCreateView::ShowCreateObj(), SdrDragView::ShowDragObj(), SdrCreateView::TakeActionRect(), SdrDragView::TakeActionRect(), SdrMarkView::TakeActionRect(), and SdrSnapView::TakeActionRect().
|
protected |
Definition at line 137 of file svdpntv.hxx.
Referenced by SdrPageView::DrawPageViewGrid().
|
protected |
Definition at line 210 of file svdpntv.hxx.
Referenced by onChangeColorConfig().
|
protected |
Definition at line 138 of file svdpntv.hxx.
Referenced by SdrPageView::DrawPageViewGrid().
|
protected |
Definition at line 140 of file svdpntv.hxx.
Referenced by SdrDragView::GetWorkArea(), and SdrExchangeView::ImpLimitToWorkArea().
|
protected |
Definition at line 130 of file svdpntv.hxx.
Referenced by SdrCreateView::ImpBegCreateObj(), MergeNotPersistDefaultAttr(), and SetNotPersistDefaultAttr().
|
protected |
Definition at line 135 of file svdpntv.hxx.
Referenced by AddDeviceToPaintView(), DeletePaintWindow(), FindPaintWindow(), GetPaintWindow(), and ~SdrPaintView().
|
protected |
Definition at line 169 of file svdpntv.hxx.
Referenced by SetAnimationPause().
|
protected |
Definition at line 154 of file svdpntv.hxx.
Referenced by SdrSnapView::SnapPos().
|
protected |
Definition at line 173 of file svdpntv.hxx.
Referenced by IsBufferedOutputAllowed(), and SetBufferedOutputAllowed().
|
protected |
Definition at line 178 of file svdpntv.hxx.
Referenced by IsBufferedOverlayAllowed(), and SetBufferedOverlayAllowed().
|
protected |
Definition at line 159 of file svdpntv.hxx.
|
protected |
Definition at line 160 of file svdpntv.hxx.
|
protected |
Definition at line 161 of file svdpntv.hxx.
|
protected |
Definition at line 162 of file svdpntv.hxx.
|
protected |
Definition at line 156 of file svdpntv.hxx.
|
protected |
Definition at line 155 of file svdpntv.hxx.
|
protected |
Definition at line 188 of file svdpntv.hxx.
|
protected |
Definition at line 189 of file svdpntv.hxx.
|
protected |
Definition at line 190 of file svdpntv.hxx.
|
protected |
Definition at line 187 of file svdpntv.hxx.
|
protected |
Definition at line 158 of file svdpntv.hxx.
|
protected |
Definition at line 157 of file svdpntv.hxx.
Referenced by SdrSnapView::SnapPos().
|
protected |
Definition at line 153 of file svdpntv.hxx.
|
protected |
Definition at line 181 of file svdpntv.hxx.
Referenced by SetPagePaintingAllowed().
|
protected |
Definition at line 152 of file svdpntv.hxx.
|
protected |
Definition at line 151 of file svdpntv.hxx.
|
protected |
Definition at line 191 of file svdpntv.hxx.
Referenced by EndCompleteRedraw().
|
protected |
Definition at line 184 of file svdpntv.hxx.
|
protected |
Definition at line 165 of file svdpntv.hxx.
|
protected |
Definition at line 163 of file svdpntv.hxx.
Referenced by SdrEditView::CheckPossibilities(), SdrDragView::EndDragObj(), FlushComeBackTimer(), Notify(), and SdrMarkView::PickHandle().
|
protected |
Definition at line 164 of file svdpntv.hxx.
|
protected |
Definition at line 144 of file svdpntv.hxx.
Referenced by SetAnimationMode().
|
protected |
Definition at line 148 of file svdpntv.hxx.
Referenced by SdrView::DoMouseEvent(), SdrView::GetPreferredPointer(), SdrView::PickAnything(), SdrMarkView::PickMarkedObj(), and TheresNewMapMode().
|
protected |
Definition at line 146 of file svdpntv.hxx.
Referenced by TheresNewMapMode().
|
protected |
Definition at line 149 of file svdpntv.hxx.
Referenced by SdrMarkView::BegMarkGluePoints(), SdrMarkView::BegMarkObj(), SdrMarkView::BegMarkPoints(), SdrView::DoMouseEvent(), and TheresNewMapMode().
|
protected |
Definition at line 147 of file svdpntv.hxx.
Referenced by TheresNewMapMode().
|
protected |
Definition at line 125 of file svdpntv.hxx.
Referenced by SdrView::DoMouseEvent(), FmFormView::GetActualOutDev(), SdrView::PickAnything(), SdrMarkView::PickGluePoint(), SetActualWin(), and TheresNewMapMode().
|
protected |
Definition at line 127 of file svdpntv.hxx.
Referenced by GetAttributes(), GetStyleSheet(), SdrCreateView::ImpBegCreateObj(), SdrEditView::InsertObjectAtView(), Notify(), SdrExchangeView::Paste(), SetDefaultStyleSheet(), and ~SdrPaintView().
|
protected |
Definition at line 126 of file svdpntv.hxx.
Referenced by SdrDragView::BegDragObj(), SdrDragView::EndInsObjPoint(), and SdrCreateView::ImpBegCreateObj().
|
private |
Definition at line 123 of file svdpntv.hxx.
Referenced by AddDeviceToPaintView(), BeginDrawLayers(), ClearPageView(), DeleteDeviceFromPaintView(), DoCompleteRedraw(), EndDrawLayers(), GlueInvalidate(), HideSdrPage(), ImpFormLayerDrawing(), IsGroupEntered(), IsLayerLocked(), IsLayerPrintable(), IsLayerVisible(), LeaveAllGroup(), LeaveOneGroup(), ModelHasChanged(), Notify(), PrePaint(), SetAnimationPause(), SetAnimationTimer(), SetApplicationBackgroundColor(), SetApplicationDocumentColor(), SetLayerLocked(), SetLayerPrintable(), SetLayerVisible(), ShowSdrPage(), UpdateDrawLayersRegion(), and VisAreaChanged().
|
private |
Definition at line 121 of file svdpntv.hxx.