LibreOffice Module svx (master)
1
|
#include <fmpage.hxx>
Public Member Functions | |
FmFormPage (FmFormModel &rModel, bool bMasterPage=false) | |
virtual | ~FmFormPage () override |
virtual SdrPage * | CloneSdrPage (SdrModel &rTargetModel) const override |
virtual void | InsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) override |
virtual SdrObject * | RemoveObject (size_t nObjNum) override |
const css::uno::Reference< css::form::XForms > & | GetForms (bool _bForceCreate=true) const |
FmFormPageImpl & | GetImpl () const |
const OUString & | GetName () const |
void | SetName (const OUString &rName) |
![]() | |
void | AddPageUser (sdr::PageUser &rNewUser) |
void | RemovePageUser (sdr::PageUser &rOldUser) |
SdrModel & | getSdrModelFromSdrPage () const |
const sdr::contact::ViewContact & | GetViewContact () const |
sdr::contact::ViewContact & | GetViewContact () |
void | ActionChanged () |
SdrPageProperties & | getSdrPageProperties () |
const SdrPageProperties & | getSdrPageProperties () const |
const SdrPageProperties * | getCorrectSdrPageProperties () const |
SdrPage (SdrModel &rModel, bool bMasterPage=false) | |
virtual | ~SdrPage () override |
bool | IsMasterPage () const |
void | SetInserted (bool bNew=true) |
bool | IsInserted () const |
void | SetChanged () |
virtual SdrPage * | getSdrPageFromSdrObjList () const override |
void | SetPageNum (sal_uInt16 nNew) |
sal_uInt16 | GetPageNum () const |
void | setPageBorderOnlyLeftRight (bool bNew) |
bool | getPageBorderOnlyLeftRight () const |
virtual void | SetSize (const Size &aSiz) |
Size | GetSize () const |
virtual void | SetOrientation (Orientation eOri) |
virtual Orientation | GetOrientation () const |
sal_Int32 | GetWidth () const |
sal_Int32 | GetHeight () const |
virtual void | SetBorder (sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr) |
virtual void | SetLeftBorder (sal_Int32 nBorder) |
virtual void | SetUpperBorder (sal_Int32 nBorder) |
virtual void | SetRightBorder (sal_Int32 nBorder) |
virtual void | SetLowerBorder (sal_Int32 nBorder) |
sal_Int32 | GetLeftBorder () const |
sal_Int32 | GetUpperBorder () const |
sal_Int32 | GetRightBorder () const |
sal_Int32 | GetLowerBorder () const |
bool | TRG_HasMasterPage () const |
void | TRG_SetMasterPage (SdrPage &rNew) |
void | TRG_ClearMasterPage () |
SdrPage & | TRG_GetMasterPage () const |
const SdrLayerIDSet & | TRG_GetMasterPageVisibleLayers () const |
void | TRG_SetMasterPageVisibleLayers (const SdrLayerIDSet &rNew) |
sdr::contact::ViewContact & | TRG_GetMasterPageDescriptorViewContact () const |
void | MakePageObjectsNamesUnique () |
const SdrLayerAdmin & | GetLayerAdmin () const |
changing the layers does not set the modified-flag! More... | |
SdrLayerAdmin & | GetLayerAdmin () |
virtual OUString | GetLayoutName () const |
virtual const SdrPageGridFrameList * | GetGridFrameList (const SdrPageView *pPV, const tools::Rectangle *pRect) const |
for snap-to-grid in Writer, also for AlignObjects if 1 object is marked if pRect != null, then the pages that are intersected by this Rect, otherwise the visible pages More... | |
css::uno::Reference< css::uno::XInterface > const & | getUnoPage () |
virtual SfxStyleSheet * | GetTextStyleSheetForObject (SdrObject *pObj) const |
Color | GetPageBackgroundColor () const |
deprecated returns an averaged background color of this page More... | |
Color | GetPageBackgroundColor (SdrPageView const *pView, bool bScreenDisplay=true) const |
deprecated returns an averaged background color of this page More... | |
virtual bool | checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit) |
this method returns true if the object from the ViewObjectContact should be visible on this page while rendering. More... | |
![]() | |
virtual SdrObject * | getSdrObjectFromSdrObjList () const |
void | CopyObjects (const SdrObjList &rSrcList) |
void | ClearSdrObjList () |
void | RecalcObjOrdNums () |
recalculate order numbers / ZIndex More... | |
bool | IsObjOrdNumsDirty () const |
virtual void | NbcInsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) |
void | sort (std::vector< sal_Int32 > &sortOrder) |
void | InsertObjectThenMakeNameUnique (SdrObject *pObj) |
void | InsertObjectThenMakeNameUnique (SdrObject *pObj, std::unordered_set< rtl::OUString > &rNameSet, size_t nPos=SAL_MAX_SIZE) |
virtual SdrObject * | NbcRemoveObject (size_t nObjNum) |
remove from list without delete More... | |
virtual SdrObject * | ReplaceObject (SdrObject *pNewObj, size_t nObjNum) |
Replace existing object by different one. More... | |
virtual SdrObject * | SetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum) |
Modify ZOrder of an SdrObject. More... | |
void | SetSdrObjListRectsDirty () |
const tools::Rectangle & | GetAllObjSnapRect () const |
const tools::Rectangle & | GetAllObjBoundRect () const |
void | NbcReformatAllTextObjects () |
reformat all text objects, e.g. when changing printer More... | |
void | ReformatAllTextObjects () |
void | ReformatAllEdgeObjects () |
#103122# reformats all edge objects that are connected to other objects More... | |
void | BurnInStyleSheetAttributes () |
convert attributes of the style to hard formatting More... | |
size_t | GetObjCount () const |
SdrObject * | GetObj (size_t nNum) const |
virtual bool | IsReadOnly () const |
linked page or linked group object More... | |
void | FlattenGroups () |
Makes the object list flat, i.e. More... | |
void | UnGroupObj (size_t nObjNum) |
Ungroup the object at the given index. More... | |
bool | HasObjectNavigationOrder () const |
Return whether there is an explicit, user defined, object navigation order. More... | |
void | SetObjectNavigationPosition (SdrObject &rObject, const sal_uInt32 nNewNavigationPosition) |
Set the navigation position of the given object to the specified value. More... | |
SdrObject * | GetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const |
Return the object for the given navigation position. More... | |
void | ClearObjectNavigationOrder () |
Restore the navigation order to that defined by the z-order. More... | |
bool | RecalcNavigationPositions () |
Set the navigation position of all SdrObjects to their position in the mxNavigationOrder list. More... | |
void | SetNavigationOrder (const css::uno::Reference< css::container::XIndexAccess > &rxOrder) |
Set the navigation order to the one defined by the given list of XShape objects. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
![]() | |
WeakBase () | |
virtual | ~WeakBase () |
void | clearWeak () |
Static Public Member Functions | |
static bool | RequestHelp (vcl::Window *pWin, SdrView const *pView, const HelpEvent &rEvt) |
Protected Member Functions | |
void | lateInit (const FmFormPage &rPage) |
![]() | |
std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () |
void | SetUnoPage (css::uno::Reference< css::drawing::XDrawPage > const &) |
virtual css::uno::Reference< css::uno::XInterface > | createUnoPage () |
void | lateInit (const SdrPage &rSrcPage) |
void | TRG_ImpMasterPageRemoved (const SdrPage &rRemovedPage) |
![]() | |
void | RecalcRects () |
SdrObjList () | |
virtual | ~SdrObjList () |
Private Member Functions | |
FmFormPage & | operator= (const FmFormPage &)=delete |
FmFormPage (const FmFormPage &)=delete | |
Private Attributes | |
std::unique_ptr< FmFormPageImpl > | m_pImpl |
OUString | m_sPageName |
Friends | |
class | FmFormObj |
Additional Inherited Members | |
![]() | |
std::unique_ptr< sdr::MasterPageDescriptor > | mpMasterPageDescriptor |
sal_uInt16 | nPageNum |
bool | mbMaster: 1 |
bool | mbInserted: 1 |
bool | mbObjectsNotPersistent: 1 |
bool | mbPageBorderOnlyLeftRight: 1 |
Definition at line 39 of file fmpage.hxx.
|
privatedelete |
Referenced by CloneSdrPage().
|
explicit |
Definition at line 44 of file fmpage.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 61 of file fmpage.cxx.
Reimplemented from SdrPage.
Definition at line 65 of file fmpage.cxx.
References FmFormPage(), SdrPage::IsMasterPage(), and lateInit().
const Reference< css::form::XForms > & FmFormPage::GetForms | ( | bool | _bForceCreate = true | ) | const |
Definition at line 84 of file fmpage.cxx.
References m_pImpl.
Referenced by FmXUndoEnvironment::dispose(), FormViewPageWindowAdapter::FormViewPageWindowAdapter(), SvxFmDrawPage::getForms(), svxform::NavigatorTreeModel::GetForms(), SvxFmDrawPage::hasForms(), IMPL_LINK_NOARG(), svxform::NavigatorTree::implAcceptDataTransfer(), svxform::NavigatorTree::implExecuteDataTransfer(), FmXUndoEnvironment::Inserted(), FmXUndoEnvironment::ModeChanged(), FmFormModel::RemoveMasterPage(), FmFormModel::RemovePage(), and svxform::NavigatorTreeModel::UpdateContent().
|
inline |
Definition at line 62 of file fmpage.hxx.
Referenced by FmPropBrw::impl_createPropertyBrowser_throw(), FmXUndoEnvironment::Inserted(), and lateInit().
|
inline |
Definition at line 65 of file fmpage.hxx.
Reimplemented from SdrObjList.
Definition at line 77 of file fmpage.cxx.
References SdrPage::getSdrModelFromSdrPage(), and SdrObjList::InsertObject().
Referenced by Svx3DPreviewControl::Construct().
|
protected |
Definition at line 50 of file fmpage.cxx.
References GetImpl(), SdrPage::lateInit(), m_pImpl, and m_sPageName.
Referenced by CloneSdrPage().
|
privatedelete |
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 162 of file fmpage.cxx.
References SdrPage::getSdrModelFromSdrPage(), and SdrObjList::RemoveObject().
|
static |
Definition at line 96 of file fmpage.cxx.
References tools::Rectangle::BottomRight(), tools::Rectangle::Center(), DEEP, FM_PROP_HELPTEXT, FM_PROP_TARGET_URL, FmFormObj, SdrObject::GetCurrentBoundRect(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), comphelper::getString(), comphelper::hasProperty(), i, SdrCreateView::IsAction(), OutputDevice::LogicToPixel(), vcl::Window::OutputToScreenPixel(), SdrMarkView::PickObj(), OutputDevice::PixelToLogic(), Point, vcl::Window::ScreenToOutputPixel(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Help::ShowBalloon(), Help::ShowQuickHelp(), tools::Rectangle::TopLeft(), and INetURLObject::Unambiguous.
|
inline |
Definition at line 66 of file fmpage.hxx.
|
friend |
Definition at line 44 of file fmpage.hxx.
Referenced by RequestHelp().
|
private |
Definition at line 45 of file fmpage.hxx.
Referenced by GetForms(), and lateInit().
|
private |
Definition at line 46 of file fmpage.hxx.
Referenced by lateInit().