LibreOffice Module svx (master) 1
|
#include <svdpagv.hxx>
Public Member Functions | |
sal_uInt32 | PageWindowCount () const |
SdrPageWindow * | FindPageWindow (const 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 | maPageOrigin |
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 55 of file svdpagv.hxx.
Definition at line 88 of file svdpagv.cxx.
References a, AddPaintWindowToPageView(), aLayerPrn, aLayerVisi, COL_AUTO(), SdrPage::GetLeftBorder(), SdrPaintView::GetPaintWindow(), SdrPage::GetUpperBorder(), maBackgroundColor, maPageOrigin, mbHasMarked, mbVisible, mpPage, mrView, SdrPaintView::PaintWindowCount(), pCurrentGroup, pCurrentList, SdrLayerIDSet::SetAll(), SetCurrentGroupAndList(), Point::setX(), and Point::setY().
SdrPageView::~SdrPageView | ( | ) |
Definition at line 120 of file svdpagv.cxx.
|
delete |
References Hide.
void SdrPageView::AddPaintWindowToPageView | ( | SdrPaintWindow & | rPaintWindow | ) |
Definition at line 124 of file svdpagv.cxx.
References FindPageWindow(), and maPageWindows.
Referenced by SdrPageView(), and Show().
|
private |
Definition at line 555 of file svdpagv.cxx.
References SdrMarkView::AdjustMarkHdl(), and GetView().
|
private |
Let's see if the current Group (pCurrentGroup) is still inserted.
Definition at line 858 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 221 of file svdpagv.cxx.
References FindPageWindow(), GetPage(), SdrPageWindow::PrepareRedraw(), and SdrPageWindow::RedrawAll().
void SdrPageView::DeleteHelpLine | ( | sal_uInt16 | nNum | ) |
Definition at line 700 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 251 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 350 of file svdpagv.cxx.
References a, 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, maPageOrigin, OutputDevice::PixelToLogic(), tools::Rectangle::Right(), OutputDevice::SetLineColor(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().
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 729 of file svdpagv.cxx.
References SdrMarkView::AdjustMarkHdl(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), GetView(), SdrPaintView::GlueInvalidate(), InvalidateAllWin(), SdrObject::isDiagram(), SdrObject::IsGroupObject(), SdrMarkView::MarkObj(), SetCurrentGroupAndList(), and SdrView::UnmarkAll().
Referenced by CheckCurrentGroup(), and SdrMarkView::EnterMarkedGroup().
SdrPageWindow * SdrPageView::FindPageWindow | ( | const OutputDevice & | rOutDev | ) | const |
Definition at line 70 of file svdpagv.cxx.
References maPageWindows.
SdrPageWindow * SdrPageView::FindPageWindow | ( | const SdrPaintWindow & | rPaintWindow | ) | const |
Definition at line 43 of file svdpagv.cxx.
References a, and maPageWindows.
Referenced by AddPaintWindowToPageView(), CompleteRedraw(), DrawLayer(), SdrMarkView::getPossibleGridOffsetForPosition(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrUnoObj::GetUnoControl(), and FmFormShell::PrepareClose().
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 56 of file svdpagv.cxx.
References SdrPaintWindow::GetOutputDevice(), and maPageWindows.
Referenced by GetControlContainer().
|
inline |
Definition at line 247 of file svdpagv.hxx.
References maBackgroundColor.
Referenced by sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence().
|
inline |
Definition at line 251 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 142 of file svdpagv.cxx.
References FindPatchedPageWindow(), and SdrPageWindow::GetControlContainer().
|
inline |
Return current Group.
Definition at line 172 of file svdpagv.hxx.
Referenced by CheckCurrentGroup(), SdrCreateView::EndCreateObj(), GetEnteredLevel(), LeaveAllGroup(), LeaveOneGroup(), and ModelHasChanged().
sal_uInt16 SdrPageView::GetEnteredLevel | ( | ) | const |
Determine, how deep we descended (0 = Root(Page))
Definition at line 847 of file svdpagv.cxx.
References GetCurrentGroup(), SdrObject::getParentSdrObjectFromSdrObject(), and nCount.
|
inline |
Definition at line 216 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 214 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 169 of file svdpagv.hxx.
Referenced by SdrEditView::CopyMarkedObj(), SdrPolyEditView::DeleteMarkedPoints(), SdrMarkView::dumpGluePointsToJSON(), 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(), SdrEditView::ReverseOrderOfMarked(), SdrPolyEditView::RipUpAtMarkedPoints(), and SdrEditView::UnGroupMarked().
|
inline |
Definition at line 166 of file svdpagv.hxx.
References mpPage.
Referenced by FmXFormView::addWindow(), CompleteRedraw(), svxform::NavigatorTree::DeleteSelection(), DrawLayer(), DrawPageViewGrid(), sdr::table::SvxTableController::EditCell(), SdrPaintView::EndCompleteRedraw(), FormViewPageWindowAdapter::FormViewPageWindowAdapter(), FmFormView::GetCurPage(), FmFormShell::GetCurPage(), FmFormShell::GetFormControl(), GetPageRect(), sdr::contact::ObjectContactOfPageView::GetSdrPage(), GetTextEditBackgroundColor(), SdrUnoObj::GetUnoControl(), SdrCreateView::ImpBegCreateObj(), ImpCheckPageView(), IMPL_LINK_NOARG(), SdrEditView::InsertObjectAtView(), InvalidateAllWin(), IsLayer(), IsObjMarkable(), IsReadOnly(), LeaveAllGroup(), LeaveOneGroup(), svxform::NavigatorTree::MarkViewObj(), SdrMarkView::PickObj(), SdrObjEditView::SdrBeginTextEdit(), SdrEditView::SetGeoAttrToMarked(), SetLayer(), SdrCreateView::SetupObjLayer(), SdrObjEditView::ShowSdrPage(), and SdrSnapView::SnapPos().
|
inline |
The Origin always refers to the upper left corner of the Page.
Definition at line 202 of file svdpagv.hxx.
Referenced by SdrEditView::GetGeoAttrFromMarked(), and SdrSnapView::SnapPos().
tools::Rectangle SdrPageView::GetPageRect | ( | ) | const |
Definition at line 189 of file svdpagv.cxx.
References GetPage().
Referenced by SdrEditView::ForceMarkedObjToAnotherPage().
SdrPageWindow * SdrPageView::GetPageWindow | ( | sal_uInt32 | nIndex | ) | const |
Definition at line 83 of file svdpagv.cxx.
References maPageWindows, and nIndex.
Referenced by FmFormView::ActivateControls(), 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(), FmFormView::DeactivateControls(), DrawLayer(), impCreateDragRaster(), FmPropBrw::impl_createPropertyBrowser_throw(), FmFormView::InsertControlContainer(), PrePaint(), SdrObjEditView::SdrBeginTextEdit(), SdrObjectPrimitiveHit(), SetDesignMode(), SdrView::SetMasterPagePaintCaching(), and SdrDragView::ShowDragObj().
|
inline |
Definition at line 212 of file svdpagv.hxx.
|
inline |
Definition at line 130 of file svdpagv.hxx.
References mrView.
Referenced by AdjHdl(), sdr::contact::ObjectContactOfPageView::AreGluePointsVisible(), sdr::contact::ViewContactOfUnoControl::CreateObjectSpecificViewObjectContact(), sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), DrawPageViewGrid(), SdrMarkView::dumpGluePointsToJSON(), EnterGroup(), SdrPageWindow::GetControlContainer(), SdrPageWindow::GetObjectContact(), SdrEdgeObj::ImpFindConnector(), ImpInvalidateHelpLineArea(), InsertHelpLine(), InvalidateAllWin(), SdrPageWindow::InvalidatePageWindow(), sdr::contact::ObjectContactOfPageView::isMasterPageActive(), sdr::contact::ObjectContactOfPageView::isPageDecorationActive(), 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(), LeaveAllGroup(), LeaveOneGroup(), SdrMarkView::modelHasChangedLOKit(), sdr::contact::ObjectContactOfPageView::ObjectContactOfPageView(), SdrPageWindow::RedrawLayer(), SdrMarkView::SetMarkHandlesForLOKit(), SetPageOrigin(), Show(), and SdrPageWindow::~SdrPageWindow().
|
inline |
Definition at line 131 of file svdpagv.hxx.
References mrView.
|
inline |
Definition at line 210 of file svdpagv.hxx.
Referenced by sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), SdrMarkView::CheckSingleSdrObjectHit(), SdrObjEditView::EndMacroObj(), SdrView::GetPreferredPointer(), SdrCreateView::ImpBegCreateObj(), ImpCheckPageView(), SdrEdgeObj::ImpFindConnector(), SdrExchangeView::ImpGetPasteLayer(), SdrObjEditView::ImpMacroDown(), SdrObjEditView::ImpMacroUp(), SdrEditView::InsertObjectAtView(), SdrObjEditView::MovMacroObj(), SdrView::PickAnything(), and SdrMarkView::PickObj().
|
inline |
Definition at line 177 of file svdpagv.hxx.
Referenced by E3dDragMethod::CreateOverlayGeometry(), SdrDragCrook::MovAllPoints(), SdrDragDistort::MovAllPoints(), and SdrDragView::TakeActionRect().
void SdrPageView::Hide | ( | ) |
Definition at line 176 of file svdpagv.cxx.
References InvalidateAllWin(), comphelper::LibreOfficeKit::isActive(), IsVisible(), maPageWindows, and mbVisible.
|
private |
Definition at line 652 of file svdpagv.cxx.
References a, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aHelpLines, SdrHelpLine::GetBoundRect(), SdrHelpLineList::GetCount(), SdrPaintWindow::GetOutputDevice(), SdrPaintView::GetPaintWindow(), GetView(), Size::Height(), SdrPaintWindow::OutputToWindow(), SdrPaintView::PaintWindowCount(), OutputDevice::PixelToLogic(), and Size::Width().
Referenced by DeleteHelpLine(), InsertHelpLine(), and SetHelpLine().
void SdrPageView::InsertHelpLine | ( | const SdrHelpLine & | rHL | ) |
Definition at line 708 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 195 of file svdpagv.cxx.
References GetPage(), GetView(), SdrPaintView::InvalidateAllWin(), IsVisible(), and tools::Rectangle::Union().
Referenced by EnterGroup(), Hide(), LeaveAllGroup(), LeaveOneGroup(), SetHelpLines(), SdrView::SetMasterPagePaintCaching(), and SetPageOrigin().
|
private |
Definition at line 571 of file svdpagv.cxx.
References SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetPage(), SdrLayerIDSet::IsSet(), nId, and SDRLAYER_NOTFOUND().
|
inline |
Definition at line 193 of file svdpagv.hxx.
Referenced by SdrEditView::CombineMarkedTextObjects(), and FmFormShell::GetState().
|
inline |
Definition at line 196 of file svdpagv.hxx.
|
inline |
Definition at line 190 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 591 of file svdpagv.cxx.
References a, aLayerLock, aLayerVisi, SdrObject::GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), GetPage(), SdrObject::getSdrPageFromSdrObject(), SdrObject::Is3DObj(), SdrObject::IsInserted(), SdrObject::IsMarkProtect(), IsObjMarkable(), SdrLayerIDSet::IsSet(), and SdrObject::IsVisible().
Referenced by SdrMarkView::CheckMarked(), SdrMarkList::InsertPageView(), IsObjMarkable(), 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 158 of file svdpagv.cxx.
References GetObjList(), GetPage(), GetView(), and IsReadOnly().
Referenced by SdrEditView::CheckPossibilities(), and IsReadOnly().
|
inline |
Definition at line 146 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 814 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 778 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().
|
inline |
Definition at line 205 of file svdpagv.hxx.
Referenced by SdrEditView::GetGeoAttrFromMarked(), SdrEditView::SetGeoAttrToMarked(), and svx::sidebar::PosSizePropertyPanel::SetPosSizeMinMax().
|
inline |
Definition at line 206 of file svdpagv.hxx.
References tools::Rectangle::Move(), Point::X(), and Point::Y().
|
inline |
Definition at line 182 of file svdpagv.hxx.
|
inline |
Definition at line 180 of file svdpagv.hxx.
Referenced by SdrMarkView::SetMarkRects().
|
inline |
Definition at line 183 of file svdpagv.hxx.
|
inline |
Definition at line 181 of file svdpagv.hxx.
Referenced by SdrMarkView::SetMarkRects().
void SdrPageView::ModelHasChanged | ( | ) |
Is called by PaintView, when modal changes have finished.
Definition at line 153 of file svdpagv.cxx.
References CheckCurrentGroup(), and GetCurrentGroup().
|
delete |
|
inline |
Definition at line 207 of file svdpagv.hxx.
Referenced by SdrEditView::SetGeoAttrToMarked().
|
inline |
Definition at line 89 of file svdpagv.hxx.
Referenced by FmFormView::ActivateControls(), 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(), 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 206 of file svdpagv.cxx.
References a, GetPageWindow(), nCount, PageWindowCount(), and SdrPageWindow::PrePaint().
void SdrPageView::RemovePaintWindowFromPageView | ( | SdrPaintWindow & | rPaintWindow | ) |
Definition at line 132 of file svdpagv.cxx.
References maPageWindows.
void SdrPageView::SetApplicationBackgroundColor | ( | Color | aBackgroundColor | ) |
Definition at line 883 of file svdpagv.cxx.
References maBackgroundColor.
void SdrPageView::SetApplicationDocumentColor | ( | Color | aDocumentColor | ) |
Definition at line 890 of file svdpagv.cxx.
References maDocumentColor.
void SdrPageView::SetCurrentGroupAndList | ( | SdrObject * | pNewGroup, |
SdrObjList * | pNewList | ||
) |
Set current Group and List.
Definition at line 717 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 340 of file svdpagv.cxx.
References GetPageWindow(), i, PageWindowCount(), and SdrPageWindow::SetDesignMode().
Referenced by SdrMarkView::SetDesignMode().
|
inline |
Definition at line 178 of file svdpagv.hxx.
Referenced by SdrMarkView::SetMarkRects().
void SdrPageView::SetHelpLine | ( | sal_uInt16 | nNum, |
const SdrHelpLine & | rNewHelpLine | ||
) |
Definition at line 682 of file svdpagv.cxx.
References aHelpLines, SdrHelpLineList::GetCount(), SdrHelpLine::GetKind(), SdrHelpLine::GetPos(), Horizontal, ImpInvalidateHelpLineArea(), Vertical, X, Point::X(), Y, and Point::Y().
Referenced by SdrSnapView::EndDragHelpLine().
void SdrPageView::SetHelpLines | ( | const SdrHelpLineList & | rHLL | ) |
Definition at line 676 of file svdpagv.cxx.
References aHelpLines, and InvalidateAllWin().
|
private |
Definition at line 560 of file svdpagv.cxx.
References SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), GetPage(), SDRLAYER_NOTFOUND(), and SdrLayerIDSet::Set().
|
inline |
Definition at line 192 of file svdpagv.hxx.
|
inline |
Definition at line 195 of file svdpagv.hxx.
|
inline |
Definition at line 185 of file svdpagv.hxx.
|
inline |
Definition at line 213 of file svdpagv.hxx.
References rSet.
void SdrPageView::SetPageOrigin | ( | const Point & | rOrg | ) |
Definition at line 640 of file svdpagv.cxx.
References GetView(), InvalidateAllWin(), and maPageOrigin.
Referenced by SdrSnapView::EndSetPageOrg().
void SdrPageView::setPreparedPageWindow | ( | SdrPageWindow * | pKnownTarget | ) |
Write access to mpPreparedPageWindow.
Definition at line 245 of file svdpagv.cxx.
References mpPreparedPageWindow.
|
inline |
Definition at line 211 of file svdpagv.hxx.
References rSet.
|
inline |
Definition at line 209 of file svdpagv.hxx.
References rSet.
void SdrPageView::Show | ( | ) |
Definition at line 163 of file svdpagv.cxx.
References a, AddPaintWindowToPageView(), GetView(), IsVisible(), mbVisible, and SdrPaintView::PaintWindowCount().
|
private |
Definition at line 74 of file svdpagv.hxx.
Referenced by DeleteHelpLine(), ImpInvalidateHelpLineArea(), InsertHelpLine(), SetHelpLine(), and SetHelpLines().
|
private |
Definition at line 68 of file svdpagv.hxx.
Referenced by IsObjMarkable().
|
private |
Definition at line 69 of file svdpagv.hxx.
Referenced by SdrPageView().
|
private |
Definition at line 67 of file svdpagv.hxx.
Referenced by IsObjMarkable(), and SdrPageView().
|
private |
Definition at line 62 of file svdpagv.hxx.
|
private |
Definition at line 63 of file svdpagv.hxx.
|
private |
Definition at line 80 of file svdpagv.hxx.
Referenced by SetApplicationBackgroundColor().
|
private |
Definition at line 77 of file svdpagv.hxx.
Referenced by SetApplicationDocumentColor().
|
private |
Definition at line 60 of file svdpagv.hxx.
Referenced by DrawPageViewGrid(), SdrPageView(), and SetPageOrigin().
|
private |
Definition at line 82 of file svdpagv.hxx.
Referenced by AddPaintWindowToPageView(), FindPageWindow(), FindPatchedPageWindow(), GetPageWindow(), Hide(), and RemovePaintWindowFromPageView().
|
private |
Definition at line 64 of file svdpagv.hxx.
Referenced by SdrPageView().
|
private |
Definition at line 65 of file svdpagv.hxx.
Referenced by Hide(), SdrPageView(), and Show().
|
private |
Definition at line 59 of file svdpagv.hxx.
Referenced by SdrPageView().
|
private |
Definition at line 86 of file svdpagv.hxx.
Referenced by DrawLayer(), and setPreparedPageWindow().
|
private |
Definition at line 58 of file svdpagv.hxx.
Referenced by DrawLayer().
|
private |
Definition at line 72 of file svdpagv.hxx.
Referenced by SdrPageView(), and SetCurrentGroupAndList().
|
private |
Definition at line 71 of file svdpagv.hxx.
Referenced by SdrPageView(), and SetCurrentGroupAndList().