LibreOffice Module svx (master)
1
|
#include <svdpagv.hxx>
Public Member Functions | |
sal_uInt32 | PageWindowCount () const |
SdrPageWindow * | FindPageWindow (SdrPaintWindow &rPaintWindow) const |
SdrPageWindow * | FindPageWindow (const OutputDevice &rOutDev) const |
SdrPageWindow * | GetPageWindow (sal_uInt32 nIndex) const |
const SdrPageWindow * | FindPatchedPageWindow (const OutputDevice &rOutDev) const |
Finds the page window whose PaintWindow belongs to the given output device In opposite to FindPageWindow, this method also cares possibly patched PaintWindow instances. More... | |
SdrPageView (SdrPage *pPage1, SdrView &rNewView) | |
~SdrPageView () | |
SdrPageView & | operator= (SdrPageView const &)=delete |
SdrPageView (SdrPageView const &)=delete | |
void | ModelHasChanged () |
Is called by PaintView, when modal changes have finished. More... | |
void | Show () |
void | Hide () |
void | AddPaintWindowToPageView (SdrPaintWindow &rPaintWindow) |
void | RemovePaintWindowFromPageView (SdrPaintWindow &rPaintWindow) |
SdrView & | GetView () |
const SdrView & | GetView () const |
css::uno::Reference< css::awt::XControlContainer > | GetControlContainer (const OutputDevice &_rDevice) const |
Looks up the control container belonging to given output device. More... | |
void | SetDesignMode (bool _bDesignMode) const |
Sets all elements in the view which support a design and an alive mode into the given mode. More... | |
bool | IsVisible () const |
void | InvalidateAllWin () |
Invalidates the Page's whole area. More... | |
void | PrePaint () |
PrePaint call forwarded from app windows. More... | |
void | CompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector) |
void | setPreparedPageWindow (SdrPageWindow *pKnownTarget) |
Write access to mpPreparedPageWindow. More... | |
void | DrawLayer (SdrLayerID nID, OutputDevice *pGivenTarget, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr, const tools::Rectangle &rRect=tools::Rectangle(), basegfx::B2IRectangle const *pPageFrame=nullptr) |
void | DrawPageViewGrid (OutputDevice &rOut, const tools::Rectangle &rRect, Color aColor=COL_BLACK) |
tools::Rectangle | GetPageRect () const |
SdrPage * | GetPage () const |
SdrObjList * | GetObjList () const |
Return current List. More... | |
SdrObject * | GetCurrentGroup () const |
Return current Group. More... | |
void | SetCurrentGroupAndList (SdrObject *pNewGroup, SdrObjList *pNewList) |
Set current Group and List. More... | |
bool | HasMarkedObjPageView () const |
void | SetHasMarkedObj (bool bOn) |
const tools::Rectangle & | MarkBound () const |
const tools::Rectangle & | MarkSnap () const |
tools::Rectangle & | MarkBound () |
tools::Rectangle & | MarkSnap () |
void | SetLayerVisible (const OUString &rName, bool bShow) |
bool | IsLayerVisible (const OUString &rName) const |
void | SetLayerLocked (const OUString &rName, bool bLock) |
bool | IsLayerLocked (const OUString &rName) const |
void | SetLayerPrintable (const OUString &rName, bool bPrn) |
bool | IsLayerPrintable (const OUString &rName) const |
bool | IsReadOnly () const |
PV represents a RefPage or a SubList of a RefObj, or the Model is ReadOnly. More... | |
const Point & | GetPageOrigin () const |
The Origin always refers to the upper left corner of the Page. More... | |
void | SetPageOrigin (const Point &rOrg) |
void | LogicToPagePos (Point &rPnt) const |
void | LogicToPagePos (tools::Rectangle &rRect) const |
void | PagePosToLogic (Point &rPnt) const |
void | SetVisibleLayers (const SdrLayerIDSet &rSet) |
const SdrLayerIDSet & | GetVisibleLayers () const |
void | SetPrintableLayers (const SdrLayerIDSet &rSet) |
const SdrLayerIDSet & | GetPrintableLayers () const |
void | SetLockedLayers (const SdrLayerIDSet &rSet) |
const SdrLayerIDSet & | GetLockedLayers () const |
const SdrHelpLineList & | GetHelpLines () const |
void | SetHelpLines (const SdrHelpLineList &rHLL) |
void | SetHelpLine (sal_uInt16 nNum, const SdrHelpLine &rNewHelpLine) |
void | DeleteHelpLine (sal_uInt16 nNum) |
void | InsertHelpLine (const SdrHelpLine &rHL) |
bool | IsObjMarkable (SdrObject const *pObj) const |
At least one member must be visible for the Group object and it must not be locked. More... | |
bool | EnterGroup (SdrObject *pObj) |
Entering (editing) an object group After that, we have direct access to all member objects of the group. More... | |
void | LeaveOneGroup () |
Leave an object group we entered previously. More... | |
void | LeaveAllGroup () |
Leave all object groups we entered previously. More... | |
sal_uInt16 | GetEnteredLevel () const |
Determine, how deep we descended (0 = Root(Page)) More... | |
void | SetApplicationBackgroundColor (Color aBackgroundColor) |
const Color & | GetApplicationBackgroundColor () const |
void | SetApplicationDocumentColor (Color aDocumentColor) |
const Color & | GetApplicationDocumentColor () const |
Private Member Functions | |
void | ImpInvalidateHelpLineArea (sal_uInt16 nNum) const |
void | SetLayer (const OUString &rName, SdrLayerIDSet &rBS, bool bJa) |
bool | IsLayer (const OUString &rName, const SdrLayerIDSet &rBS) const |
void | CheckCurrentGroup () |
Let's see if the current Group (pCurrentGroup) is still inserted. More... | |
void | AdjHdl () |
Private Attributes | |
SdrView & | mrView |
SdrPage * | mpPage |
Point | aPgOrg |
tools::Rectangle | aMarkBound |
tools::Rectangle | aMarkSnap |
bool | mbHasMarked |
bool | mbVisible |
SdrLayerIDSet | aLayerVisi |
SdrLayerIDSet | aLayerLock |
SdrLayerIDSet | aLayerPrn |
SdrObjList * | pCurrentList |
SdrObject * | pCurrentGroup |
SdrHelpLineList | aHelpLines |
Color | maDocumentColor |
Color | maBackgroundColor |
std::vector< std::unique_ptr< SdrPageWindow > > | maPageWindows |
SdrPageWindow * | mpPreparedPageWindow |
Definition at line 60 of file svdpagv.hxx.
Definition at line 87 of file svdpagv.cxx.
References a, AddPaintWindowToPageView(), aLayerPrn, aLayerVisi, aPgOrg, COL_AUTO(), SdrPage::GetLeftBorder(), SdrPaintView::GetPaintWindow(), SdrPage::GetUpperBorder(), maBackgroundColor, mbHasMarked, mbVisible, mpPage, mrView, SdrPaintView::PaintWindowCount(), pCurrentGroup, pCurrentList, SdrLayerIDSet::SetAll(), and SetCurrentGroupAndList().
SdrPageView::~SdrPageView | ( | ) |
Definition at line 119 of file svdpagv.cxx.
|
delete |
void SdrPageView::AddPaintWindowToPageView | ( | SdrPaintWindow & | rPaintWindow | ) |
Definition at line 123 of file svdpagv.cxx.
References FindPageWindow(), and maPageWindows.
Referenced by SdrPageView(), and Show().
|
private |
Definition at line 554 of file svdpagv.cxx.
References SdrMarkView::AdjustMarkHdl(), and GetView().
|
private |
Let's see if the current Group (pCurrentGroup) is still inserted.
Definition at line 855 of file svdpagv.cxx.
References EnterGroup(), GetCurrentGroup(), SdrObject::getParentSdrObjectFromSdrObject(), SdrObject::getParentSdrObjListFromSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrObject::IsInserted(), and LeaveAllGroup().
Referenced by ModelHasChanged().
void SdrPageView::CompleteRedraw | ( | SdrPaintWindow & | rPaintWindow, |
const vcl::Region & | rReg, | ||
sdr::contact::ViewObjectContactRedirector * | pRedirector | ||
) |
rReg | refers to the OutDev and not to the Page |
Definition at line 220 of file svdpagv.cxx.
References FindPageWindow(), GetPage(), SdrPageWindow::PrepareRedraw(), and SdrPageWindow::RedrawAll().
void SdrPageView::DeleteHelpLine | ( | sal_uInt16 | nNum | ) |
Definition at line 697 of file svdpagv.cxx.
References aHelpLines, SdrHelpLineList::Delete(), SdrHelpLineList::GetCount(), and ImpInvalidateHelpLineArea().
void SdrPageView::DrawLayer | ( | SdrLayerID | nID, |
OutputDevice * | pGivenTarget, | ||
sdr::contact::ViewObjectContactRedirector * | pRedirector = nullptr , |
||
const tools::Rectangle & | rRect = tools::Rectangle() , |
||
basegfx::B2IRectangle const * | pPageFrame = nullptr |
||
) |
Definition at line 250 of file svdpagv.cxx.
References a, FindPageWindow(), GetPage(), GetPageWindow(), SdrPageWindow::GetPaintWindow(), SdrPaintWindow::GetRedrawRegion(), vcl::Region::Intersect(), tools::Rectangle::IsEmpty(), vcl::Region::IsEmpty(), mpPreparedPageWindow, mrView, PageWindowCount(), SdrPageWindow::patchPaintWindow(), SdrPageWindow::RedrawLayer(), SdrPaintWindow::SetRedrawRegion(), and SdrPageWindow::unpatchPaintWindow().
void SdrPageView::DrawPageViewGrid | ( | OutputDevice & | rOut, |
const tools::Rectangle & | rRect, | ||
Color | aColor = COL_BLACK |
||
) |
Definition at line 349 of file svdpagv.cxx.
References a, aPgOrg, tools::Rectangle::Bottom(), OutputDevice::DrawGrid(), OutputDevice::EnableMapMode(), SdrPageGridFrameList::GetCount(), SdrPage::GetGridFrameList(), SdrPage::GetHeight(), SdrPage::GetLeftBorder(), OutputDevice::GetLineColor(), SdrPage::GetLowerBorder(), OutputDevice::GetOutputSizePixel(), GetPage(), SdrPageGridFrame::GetPaperRect(), SdrPage::GetRightBorder(), SdrPage::GetUpperBorder(), SdrPageGridFrame::GetUserArea(), GetView(), SdrPage::GetWidth(), Size::Height(), tools::Rectangle::IsEmpty(), OutputDevice::IsMapModeEnabled(), tools::Rectangle::Left(), SdrPaintView::maGridBig, SdrPaintView::maGridFin, OutputDevice::PixelToLogic(), Point, tools::Rectangle::Right(), OutputDevice::SetLineColor(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Size::Width().
bool SdrPageView::EnterGroup | ( | SdrObject * | pObj | ) |
Entering (editing) an object group After that, we have direct access to all member objects of the group.
All other objects are not editable in the meantime (until the next LeaveGroup())
Definition at line 726 of file svdpagv.cxx.
References SdrMarkView::AdjustMarkHdl(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), GetView(), SdrPaintView::GlueInvalidate(), InvalidateAllWin(), SdrObject::IsGroupObject(), SdrMarkView::MarkObj(), SetCurrentGroupAndList(), and SdrView::UnmarkAll().
Referenced by CheckCurrentGroup(), and SdrMarkView::EnterMarkedGroup().
SdrPageWindow * SdrPageView::FindPageWindow | ( | SdrPaintWindow & | rPaintWindow | ) | const |
Definition at line 42 of file svdpagv.cxx.
References a, and maPageWindows.
Referenced by AddPaintWindowToPageView(), CompleteRedraw(), DrawLayer(), SdrMarkView::getPossibleGridOffsetForPosition(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrUnoObj::GetUnoControl(), and FmFormShell::PrepareClose().
SdrPageWindow * SdrPageView::FindPageWindow | ( | const OutputDevice & | rOutDev | ) | const |
Definition at line 69 of file svdpagv.cxx.
References maPageWindows.
const SdrPageWindow * SdrPageView::FindPatchedPageWindow | ( | const OutputDevice & | rOutDev | ) | const |
Finds the page window whose PaintWindow belongs to the given output device In opposite to FindPageWindow, this method also cares possibly patched PaintWindow instances.
That is, a SdrPageWindow might have an original, and a patched SdrPaintWindow instance - if this is the case, then the original SdrPaintWindow is examined before the patched one.
Definition at line 55 of file svdpagv.cxx.
References maPageWindows.
Referenced by GetControlContainer().
|
inline |
Definition at line 252 of file svdpagv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence().
|
inline |
Definition at line 256 of file svdpagv.hxx.
Referenced by sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageFill::createPrimitive2DSequence(), and SdrPage::GetPageBackgroundColor().
css::uno::Reference< css::awt::XControlContainer > SdrPageView::GetControlContainer | ( | const OutputDevice & | _rDevice | ) | const |
Looks up the control container belonging to given output device.
Definition at line 141 of file svdpagv.cxx.
References FindPatchedPageWindow(), and SdrPageWindow::GetControlContainer().
|
inline |
Return current Group.
Definition at line 177 of file svdpagv.hxx.
Referenced by CheckCurrentGroup(), SdrEditView::DeleteMarkedObj(), SdrCreateView::EndCreateObj(), GetEnteredLevel(), LeaveAllGroup(), LeaveOneGroup(), and ModelHasChanged().
sal_uInt16 SdrPageView::GetEnteredLevel | ( | ) | const |
Determine, how deep we descended (0 = Root(Page))
Definition at line 844 of file svdpagv.cxx.
References GetCurrentGroup(), SdrObject::getParentSdrObjectFromSdrObject(), and nCount.
|
inline |
Definition at line 221 of file svdpagv.hxx.
Referenced by SdrSnapView::BegDragHelpLine(), sdr::contact::ViewObjectContactOfPageHelplines::createPrimitive2DSequence(), SdrSnapView::EndDragHelpLine(), SdrView::GetPreferredPointer(), SdrSnapView::PickHelpLine(), and SdrSnapView::SnapPos().
|
inline |
Definition at line 219 of file svdpagv.hxx.
Referenced by SdrCreateView::ImpBegCreateObj(), SdrExchangeView::ImpGetPasteLayer(), SdrEditView::InsertObjectAtView(), SdrView::PickAnything(), SdrMarkView::PickObj(), and SdrObjEditView::SdrBeginTextEdit().
|
inline |
Return current List.
Definition at line 174 of file svdpagv.hxx.
Referenced by SdrEditView::CopyMarkedObj(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::ForceMarkedObjToAnotherPage(), sdr::contact::ObjectContactOfPageView::getActiveViewContact(), SdrEditView::GroupMarked(), SdrEdgeObj::ImpFindConnector(), SdrExchangeView::ImpGetPasteObjList(), SdrExchangeView::ImpPasteObject(), SdrEditView::InsertObjectAtView(), SdrMarkList::InsertPageView(), IsReadOnly(), SdrMarkView::MarkableObjectsExceed(), SdrMarkView::MarkNextObj(), SdrMarkView::MarkObj(), SdrExchangeView::Paste(), SdrView::PickAnything(), SdrMarkView::PickObj(), SdrPolyEditView::RipUpAtMarkedPoints(), and SdrEditView::UnGroupMarked().
|
inline |
Definition at line 171 of file svdpagv.hxx.
Referenced by FmXFormView::addWindow(), CompleteRedraw(), svxform::NavigatorTree::DeleteSelection(), DrawLayer(), DrawPageViewGrid(), FormViewPageWindowAdapter::FormViewPageWindowAdapter(), FmFormShell::GetCurPage(), FmFormView::GetCurPage(), FmFormShell::GetFormControl(), GetPageRect(), GetTextEditBackgroundColor(), SdrUnoObj::GetUnoControl(), SdrCreateView::ImpBegCreateObj(), SdrViewIter::ImpCheckPageView(), IMPL_LINK_NOARG(), SdrEditView::InsertObjectAtView(), InvalidateAllWin(), IsLayer(), IsObjMarkable(), IsReadOnly(), LeaveAllGroup(), LeaveOneGroup(), svxform::NavigatorTree::MarkViewObj(), SdrMarkView::PickObj(), SdrObjEditView::SdrBeginTextEdit(), SetLayer(), SdrCreateView::SetupObjLayer(), SdrObjEditView::ShowSdrPage(), and SdrSnapView::SnapPos().
|
inline |
The Origin always refers to the upper left corner of the Page.
Definition at line 207 of file svdpagv.hxx.
References Point.
Referenced by SdrEditView::GetGeoAttrFromMarked(), and SdrSnapView::SnapPos().
tools::Rectangle SdrPageView::GetPageRect | ( | ) | const |
Definition at line 188 of file svdpagv.cxx.
References GetPage(), and Point.
Referenced by SdrEditView::ForceMarkedObjToAnotherPage().
SdrPageWindow * SdrPageView::GetPageWindow | ( | sal_uInt32 | nIndex | ) | const |
Definition at line 82 of file svdpagv.cxx.
References maPageWindows.
Referenced by FmFormView::ActivateControls(), sdr::table::TableEdgeHdl::CreateB2dIAObject(), sdr::table::TableBorderHdl::CreateB2dIAObject(), SdrHdl::CreateB2dIAObject(), SdrHdlColor::CreateB2dIAObject(), SdrHdlGradient::CreateB2dIAObject(), SdrHdlLine::CreateB2dIAObject(), SdrHdlBezWgt::CreateB2dIAObject(), E3dVolumeMarker::CreateB2dIAObject(), ImpEdgeHdl::CreateB2dIAObject(), ImpMeasureHdl::CreateB2dIAObject(), ImpTextframeHdl::CreateB2dIAObject(), SdrCropHdl::CreateB2dIAObject(), SdrCropViewHdl::CreateB2dIAObject(), FmFormView::DeactivateControls(), DrawLayer(), impCreateDragRaster(), FmPropBrw::impl_createPropertyBrowser_throw(), FmFormView::InsertControlContainer(), PrePaint(), SdrObjEditView::SdrBeginTextEdit(), SdrObjectPrimitiveHit(), SetDesignMode(), SdrView::SetMasterPagePaintCaching(), and SdrDragView::ShowDragObj().
|
inline |
Definition at line 217 of file svdpagv.hxx.
|
inline |
Definition at line 135 of file svdpagv.hxx.
Referenced by AdjHdl(), sdr::contact::ObjectContactOfPageView::AreGluePointsVisible(), sdr::contact::ViewContactOfUnoControl::CreateObjectSpecificViewObjectContact(), sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), DrawPageViewGrid(), EnterGroup(), SdrPageWindow::GetControlContainer(), SdrPageWindow::GetObjectContact(), SdrEdgeObj::ImpFindConnector(), ImpInvalidateHelpLineArea(), InsertHelpLine(), InvalidateAllWin(), SdrPageWindow::InvalidatePageWindow(), sdr::contact::ObjectContactOfPageView::IsGraphicAnimationAllowed(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageFill::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageShadow::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfOuterPageBorder::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageGrid::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageHelplines::isPrimitiveVisible(), IsReadOnly(), sdr::contact::ObjectContactOfPageView::IsTextAnimationAllowed(), LeaveAllGroup(), LeaveOneGroup(), SdrMarkView::ModelHasChanged(), sdr::contact::ObjectContactOfPageView::ObjectContactOfPageView(), SdrMarkView::SetMarkHandlesForLOKit(), SetPageOrigin(), Show(), and SdrPageWindow::~SdrPageWindow().
|
inline |
Definition at line 136 of file svdpagv.hxx.
|
inline |
Definition at line 215 of file svdpagv.hxx.
Referenced by sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), SdrMarkView::CheckSingleSdrObjectHit(), SdrObjEditView::EndMacroObj(), SdrView::GetPreferredPointer(), SdrCreateView::ImpBegCreateObj(), SdrViewIter::ImpCheckPageView(), SdrEdgeObj::ImpFindConnector(), SdrExchangeView::ImpGetPasteLayer(), SdrObjEditView::ImpMacroDown(), SdrObjEditView::ImpMacroUp(), SdrEditView::InsertObjectAtView(), SdrObjEditView::MovMacroObj(), SdrView::PickAnything(), and SdrMarkView::PickObj().
|
inline |
Definition at line 182 of file svdpagv.hxx.
Referenced by E3dDragMethod::CreateOverlayGeometry(), SdrDragCrook::MovAllPoints(), SdrDragDistort::MovAllPoints(), and SdrDragView::TakeActionRect().
void SdrPageView::Hide | ( | ) |
Definition at line 175 of file svdpagv.cxx.
References InvalidateAllWin(), comphelper::LibreOfficeKit::isActive(), IsVisible(), maPageWindows, and mbVisible.
|
private |
Definition at line 649 of file svdpagv.cxx.
References a, aHelpLines, SdrHelpLine::GetBoundRect(), SdrHelpLineList::GetCount(), SdrPaintWindow::GetOutputDevice(), SdrPaintView::GetPaintWindow(), GetView(), SdrPaintWindow::OutputToWindow(), SdrPaintView::PaintWindowCount(), and OutputDevice::PixelToLogic().
Referenced by DeleteHelpLine(), InsertHelpLine(), and SetHelpLine().
void SdrPageView::InsertHelpLine | ( | const SdrHelpLine & | rHL | ) |
Definition at line 705 of file svdpagv.cxx.
References aHelpLines, SdrHelpLineList::GetCount(), GetView(), ImpInvalidateHelpLineArea(), and SdrHelpLineList::Insert().
Referenced by SdrSnapView::EndDragHelpLine().
void SdrPageView::InvalidateAllWin | ( | ) |
Invalidates the Page's whole area.
Definition at line 194 of file svdpagv.cxx.
References GetPage(), GetView(), SdrPaintView::InvalidateAllWin(), IsVisible(), Point, and tools::Rectangle::Union().
Referenced by EnterGroup(), Hide(), LeaveAllGroup(), LeaveOneGroup(), SetHelpLines(), SdrView::SetMasterPagePaintCaching(), and SetPageOrigin().
|
private |
Definition at line 570 of file svdpagv.cxx.
References SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetPage(), SdrLayerIDSet::IsSet(), nId, and SDRLAYER_NOTFOUND().
|
inline |
Definition at line 198 of file svdpagv.hxx.
Referenced by SdrEditView::CombineMarkedTextObjects(), and FmFormShell::GetState().
|
inline |
Definition at line 201 of file svdpagv.hxx.
|
inline |
Definition at line 195 of file svdpagv.hxx.
bool SdrPageView::IsObjMarkable | ( | SdrObject const * | pObj | ) | const |
At least one member must be visible for the Group object and it must not be locked.
Definition at line 590 of file svdpagv.cxx.
References a, aLayerLock, aLayerVisi, SdrObject::GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), GetPage(), SdrObject::getSdrPageFromSdrObject(), SdrObject::Is3DObj(), SdrObject::IsInserted(), SdrObject::IsMarkProtect(), SdrLayerIDSet::IsSet(), and SdrObject::IsVisible().
Referenced by SdrMarkView::CheckMarked(), SdrMarkList::InsertPageView(), and SdrMarkView::IsObjMarkable().
bool SdrPageView::IsReadOnly | ( | ) | const |
PV represents a RefPage or a SubList of a RefObj, or the Model is ReadOnly.
Definition at line 157 of file svdpagv.cxx.
References GetObjList(), GetPage(), and GetView().
Referenced by SdrEditView::CheckPossibilities().
|
inline |
Definition at line 151 of file svdpagv.hxx.
References mbVisible.
Referenced by Hide(), InvalidateAllWin(), and Show().
void SdrPageView::LeaveAllGroup | ( | ) |
Leave all object groups we entered previously.
Definition at line 811 of file svdpagv.cxx.
References SdrMarkView::AdjustMarkHdl(), GetCurrentGroup(), GetPage(), SdrObject::getParentSdrObjectFromSdrObject(), GetView(), SdrPaintView::GlueInvalidate(), SdrPaintView::ImpIsGlueVisible(), InvalidateAllWin(), SdrMarkView::MarkObj(), SetCurrentGroupAndList(), and SdrView::UnmarkAll().
Referenced by CheckCurrentGroup().
void SdrPageView::LeaveOneGroup | ( | ) |
Leave an object group we entered previously.
Definition at line 775 of file svdpagv.cxx.
References SdrMarkView::AdjustMarkHdl(), GetCurrentGroup(), GetPage(), SdrObject::getParentSdrObjectFromSdrObject(), SdrObject::GetSubList(), GetView(), SdrPaintView::GlueInvalidate(), SdrPaintView::ImpIsGlueVisible(), InvalidateAllWin(), SdrMarkView::MarkObj(), SetCurrentGroupAndList(), and SdrView::UnmarkAll().
Referenced by SdrEditView::DeleteMarkedObj().
Definition at line 210 of file svdpagv.hxx.
Referenced by SdrEditView::GetGeoAttrFromMarked(), SdrEditView::SetGeoAttrToMarked(), and svx::sidebar::PosSizePropertyPanel::SetPosSizeMinMax().
|
inline |
Definition at line 211 of file svdpagv.hxx.
References tools::Rectangle::Move().
|
inline |
Definition at line 185 of file svdpagv.hxx.
Referenced by SdrMarkView::SetMarkRects().
|
inline |
Definition at line 187 of file svdpagv.hxx.
|
inline |
Definition at line 186 of file svdpagv.hxx.
Referenced by SdrMarkView::SetMarkRects().
|
inline |
Definition at line 188 of file svdpagv.hxx.
void SdrPageView::ModelHasChanged | ( | ) |
Is called by PaintView, when modal changes have finished.
Definition at line 152 of file svdpagv.cxx.
References CheckCurrentGroup(), and GetCurrentGroup().
|
delete |
Definition at line 212 of file svdpagv.hxx.
Referenced by SdrEditView::SetGeoAttrToMarked().
|
inline |
Definition at line 94 of file svdpagv.hxx.
Referenced by FmFormView::ActivateControls(), sdr::table::TableEdgeHdl::CreateB2dIAObject(), sdr::table::TableBorderHdl::CreateB2dIAObject(), SdrHdl::CreateB2dIAObject(), SdrHdlColor::CreateB2dIAObject(), SdrHdlGradient::CreateB2dIAObject(), SdrHdlLine::CreateB2dIAObject(), SdrHdlBezWgt::CreateB2dIAObject(), E3dVolumeMarker::CreateB2dIAObject(), ImpEdgeHdl::CreateB2dIAObject(), ImpMeasureHdl::CreateB2dIAObject(), ImpTextframeHdl::CreateB2dIAObject(), SdrCropHdl::CreateB2dIAObject(), SdrCropViewHdl::CreateB2dIAObject(), SdrDragObjOwn::createSdrDragEntries(), SdrDragMethod::createSdrDragEntries_SolidDrag(), FmFormView::DeactivateControls(), DrawLayer(), impCreateDragRaster(), Impl3DMirrorConstructOverlay::Impl3DMirrorConstructOverlay(), FmFormView::InsertControlContainer(), PrePaint(), SdrObjEditView::SdrBeginTextEdit(), SdrObjectPrimitiveHit(), SetDesignMode(), SdrView::SetMasterPagePaintCaching(), and SdrDragView::ShowDragObj().
void SdrPageView::PrePaint | ( | ) |
PrePaint call forwarded from app windows.
Definition at line 205 of file svdpagv.cxx.
References a, GetPageWindow(), nCount, PageWindowCount(), and SdrPageWindow::PrePaint().
void SdrPageView::RemovePaintWindowFromPageView | ( | SdrPaintWindow & | rPaintWindow | ) |
Definition at line 131 of file svdpagv.cxx.
References maPageWindows.
Definition at line 880 of file svdpagv.cxx.
References maBackgroundColor.
Definition at line 887 of file svdpagv.cxx.
References maDocumentColor.
void SdrPageView::SetCurrentGroupAndList | ( | SdrObject * | pNewGroup, |
SdrObjList * | pNewList | ||
) |
Set current Group and List.
Definition at line 714 of file svdpagv.cxx.
References pCurrentGroup, and pCurrentList.
Referenced by EnterGroup(), LeaveAllGroup(), LeaveOneGroup(), and SdrPageView().
void SdrPageView::SetDesignMode | ( | bool | _bDesignMode | ) | const |
Sets all elements in the view which support a design and an alive mode into the given mode.
Definition at line 339 of file svdpagv.cxx.
References GetPageWindow(), i, PageWindowCount(), and SdrPageWindow::SetDesignMode().
Referenced by SdrMarkView::SetDesignMode().
|
inline |
Definition at line 183 of file svdpagv.hxx.
Referenced by SdrMarkView::SetMarkRects().
void SdrPageView::SetHelpLine | ( | sal_uInt16 | nNum, |
const SdrHelpLine & | rNewHelpLine | ||
) |
Definition at line 679 of file svdpagv.cxx.
References aHelpLines, SdrHelpLineList::GetCount(), SdrHelpLine::GetKind(), SdrHelpLine::GetPos(), Horizontal, ImpInvalidateHelpLineArea(), and Vertical.
Referenced by SdrSnapView::EndDragHelpLine().
void SdrPageView::SetHelpLines | ( | const SdrHelpLineList & | rHLL | ) |
Definition at line 673 of file svdpagv.cxx.
References aHelpLines, and InvalidateAllWin().
|
private |
Definition at line 559 of file svdpagv.cxx.
References SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetPage(), SDRLAYER_NOTFOUND(), and SdrLayerIDSet::Set().
|
inline |
Definition at line 197 of file svdpagv.hxx.
|
inline |
Definition at line 200 of file svdpagv.hxx.
|
inline |
Definition at line 190 of file svdpagv.hxx.
|
inline |
Definition at line 218 of file svdpagv.hxx.
Definition at line 639 of file svdpagv.cxx.
References aPgOrg, GetView(), and InvalidateAllWin().
Referenced by SdrSnapView::EndSetPageOrg().
void SdrPageView::setPreparedPageWindow | ( | SdrPageWindow * | pKnownTarget | ) |
Write access to mpPreparedPageWindow.
Definition at line 244 of file svdpagv.cxx.
References mpPreparedPageWindow.
|
inline |
Definition at line 216 of file svdpagv.hxx.
|
inline |
Definition at line 214 of file svdpagv.hxx.
void SdrPageView::Show | ( | ) |
Definition at line 162 of file svdpagv.cxx.
References a, AddPaintWindowToPageView(), GetView(), IsVisible(), mbVisible, and SdrPaintView::PaintWindowCount().
|
private |
Definition at line 79 of file svdpagv.hxx.
Referenced by DeleteHelpLine(), ImpInvalidateHelpLineArea(), InsertHelpLine(), SetHelpLine(), and SetHelpLines().
|
private |
Definition at line 73 of file svdpagv.hxx.
Referenced by IsObjMarkable().
|
private |
Definition at line 74 of file svdpagv.hxx.
Referenced by SdrPageView().
|
private |
Definition at line 72 of file svdpagv.hxx.
Referenced by IsObjMarkable(), and SdrPageView().
|
private |
Definition at line 67 of file svdpagv.hxx.
|
private |
Definition at line 68 of file svdpagv.hxx.
|
private |
Definition at line 65 of file svdpagv.hxx.
Referenced by DrawPageViewGrid(), SdrPageView(), and SetPageOrigin().
|
private |
Definition at line 85 of file svdpagv.hxx.
Referenced by SetApplicationBackgroundColor().
|
private |
Definition at line 82 of file svdpagv.hxx.
Referenced by SetApplicationDocumentColor().
|
private |
Definition at line 87 of file svdpagv.hxx.
Referenced by AddPaintWindowToPageView(), FindPageWindow(), FindPatchedPageWindow(), GetPageWindow(), Hide(), and RemovePaintWindowFromPageView().
|
private |
Definition at line 69 of file svdpagv.hxx.
Referenced by SdrPageView().
|
private |
Definition at line 70 of file svdpagv.hxx.
Referenced by Hide(), SdrPageView(), and Show().
|
private |
Definition at line 64 of file svdpagv.hxx.
Referenced by SdrPageView().
|
private |
Definition at line 91 of file svdpagv.hxx.
Referenced by DrawLayer(), and setPreparedPageWindow().
|
private |
Definition at line 63 of file svdpagv.hxx.
Referenced by DrawLayer().
|
private |
Definition at line 77 of file svdpagv.hxx.
Referenced by SdrPageView(), and SetCurrentGroupAndList().
|
private |
Definition at line 76 of file svdpagv.hxx.
Referenced by SdrPageView(), and SetCurrentGroupAndList().