|
LibreOffice Module sd (master) 1
|
#include <fupage.hxx>
Public Member Functions | |
| virtual void | DoExecute (SfxRequest &rReq) override |
| virtual void | Activate () override |
| activates the function More... | |
| virtual void | Deactivate () override |
| deactivates the function More... | |
| const SfxItemSet * | ExecuteDialog (weld::Window *pParent, const SfxRequest &rReq) |
Public Member Functions inherited from sd::FuPoor | |
| virtual void | DoExecute (SfxRequest &rReq) |
| void | SetMouseButtonCode (sal_uInt16 nNew) |
| sal_uInt16 | GetMouseButtonCode () const |
| DrawDocShell * | GetDocSh () |
| virtual void | DoCut () |
| Cut object to clipboard. More... | |
| virtual void | DoCopy () |
| Copy object to clipboard. More... | |
| virtual void | DoPaste () |
| Paste object from clipboard. More... | |
| virtual void | DoPasteUnformatted () |
| Paste unformatted text from clipboard. More... | |
| virtual bool | KeyInput (const KeyEvent &rKEvt) |
| handle keyboard events More... | |
| virtual bool | MouseMove (const MouseEvent &) |
| virtual bool | MouseButtonUp (const MouseEvent &rMEvt) |
| virtual bool | MouseButtonDown (const MouseEvent &rMEvt) |
| virtual bool | Command (const CommandEvent &rCEvt) |
| virtual bool | RequestHelp (const HelpEvent &rHEvt) |
| virtual void | ReceiveRequest (SfxRequest &rReq) |
| virtual void | Activate () |
| activates the function More... | |
| virtual void | Deactivate () |
| deactivates the function More... | |
| void | SetWindow (::sd::Window *pWin) |
| virtual void | SelectionHasChanged () |
| sal_uInt16 | GetSlotID () const |
| void | StartDelayToScrollTimer () |
| virtual rtl::Reference< SdrObject > | CreateDefaultObject (const sal_uInt16 nID, const ::tools::Rectangle &rRectangle) |
| virtual bool | cancel () |
| is called when the current function should be aborted. More... | |
| virtual bool | doConstructOrthogonal () const |
| Decide if the object to be created should be created orthogonal. More... | |
Public Member Functions inherited from sd::SimpleReferenceComponent | |
| SimpleReferenceComponent () | |
| void | acquire () |
| @ATTENTION The results are undefined if, for any individual instance of SimpleReferenceComponent, the total number of calls to acquire() exceeds the total number of calls to release() by a platform dependent amount (which, hopefully, is quite large). More... | |
| void | release () |
| void | Dispose () |
| bool | isDisposed () const |
Static Public Member Functions | |
| static rtl::Reference< FuPoor > | Create (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) |
Protected Member Functions | |
| virtual | ~FuPage () override |
Protected Member Functions inherited from sd::FuPoor | |
| FuPoor (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
| virtual | ~FuPoor () override |
| DECL_LINK (DelayHdl, Timer *, void) | |
| void | SwitchLayer (sal_Int32 nOffset) |
| Switch to another layer. More... | |
| DECL_LINK (ScrollHdl, Timer *, void) | |
| void | ForceScroll (const Point &aPixPos) |
| scroll when approached the border of the window; is called by MouseMove More... | |
| DECL_LINK (DragHdl, Timer *, void) | |
Protected Member Functions inherited from sd::SimpleReferenceComponent | |
| virtual void | disposing () |
| virtual | ~SimpleReferenceComponent () |
Private Member Functions | |
| FuPage (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
| void | ApplyItemSet (const SfxItemSet *pArgs) |
Private Attributes | |
| SfxRequest & | mrReq |
| const SfxItemSet * | mpArgs |
| std::unique_ptr< SdBackgroundObjUndoAction > | mpBackgroundObjUndoAction |
| Size | maSize |
| bool | mbPageBckgrdDeleted |
| bool | mbMasterPage |
| bool | mbDisplayBackgroundTabPage |
| SdPage * | mpPage |
| DrawViewShell * | mpDrawViewShell |
Additional Inherited Members | |
Static Public Attributes inherited from sd::FuPoor | |
| static const int | HITPIX = 2 |
| static const int | HITLOG = 53 |
| static const int | DRGLOG = 53 |
Static Protected Member Functions inherited from sd::FuPoor | |
| static void | ImpForceQuadratic (::tools::Rectangle &rRect) |
Protected Attributes inherited from sd::FuPoor | |
| ::sd::View * | mpView |
| ViewShell * | mpViewShell |
| VclPtr< ::sd::Window > | mpWindow |
| DrawDocShell * | mpDocSh |
| SdDrawDocument * | mpDoc |
| sal_uInt16 | nSlotId |
| Timer | aScrollTimer |
| for auto-scrolling More... | |
| Timer | aDragTimer |
| for Drag&Drop More... | |
| bool | bIsInDragMode |
| Point | aMDPos |
| position of MouseButtonDown More... | |
| bool | bNoScrollUntilInside |
| Flag to prevent auto-scrolling until one drags from outside into the window. More... | |
| Timer | aDelayToScrollTimer |
| timer to delay scrolling (~ 1 sec) when dragging out of the window More... | |
| bool | bScrollable |
| bool | bDelayActive |
| bool | bFirstMouseMove |
Definition at line 33 of file fupage.hxx.
|
overrideprotectedvirtual |
Definition at line 152 of file fupage.cxx.
|
private |
|
overridevirtual |
|
private |
Definition at line 496 of file fupage.cxx.
References SfxUndoManager::AddUndoAction(), sdr::properties::CleanupFillProperties(), SdrPageProperties::ClearItem(), model::Theme::FromAny(), sd::DrawViewShell::GetActualPage(), SdDrawDocument::GetDocumentType(), SfxGrabBagItem::GetGrabBag(), SdrPageProperties::GetItemSet(), SfxItemSet::GetItemState(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SvxPageItem::GetNumType(), SdPage::GetOrientation(), sd::DrawViewShell::GetPageKind(), SdPage::GetPaperBin(), SdDrawDocument::GetPool(), SdrPage::GetRightBorder(), SdDrawDocument::GetSdPage(), SdrPage::getSdrPageProperties(), SdrPage::GetSize(), sd::DrawDocShell::GetUndoManager(), SdrPage::GetUpperBorder(), GetValue, SfxItemPool::GetWhich(), Size::Height(), Impress, SdrPage::IsBackgroundFullSize(), SdrPage::IsMasterPage(), maSize, mbDisplayBackgroundTabPage, mbMasterPage, mbPageBckgrdDeleted, mpBackgroundObjUndoAction, sd::FuPoor::mpDoc, sd::FuPoor::mpDocSh, mpDrawViewShell, mpPage, SdrPageProperties::PutItemSet(), sd::DrawViewShell::ResetActualPage(), SAL_WARN, SdrModel::SetMaxObjSize(), SdDrawDocument::SetPageNumType(), sd::ViewShell::SetPageSizeAndBorder(), SdrPageProperties::SetTheme(), SdrPage::TRG_GetMasterPage(), sd::ViewShell::UpdatePreview(), and Size::Width().
Referenced by DoExecute().
|
static |
Definition at line 114 of file fupage.cxx.
References FuPage().
Referenced by sd::DrawViewShell::FuTemporary().
|
overridevirtual |
|
overridevirtual |
Reimplemented from sd::FuPoor.
Definition at line 121 of file fupage.cxx.
References ApplyItemSet(), DBG_ASSERT, ExecuteDialog(), sd::DrawViewShell::getCurrentPage(), sd::DrawViewShell::GetEditMode(), SfxItemSet::GetItemState(), sd::DrawViewShell::GetPageKind(), MasterPage, mbDisplayBackgroundTabPage, mbMasterPage, mpArgs, mpDrawViewShell, mpPage, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, sd::FuPoor::nSlotId, sd::View::SdrEndTextEdit(), and Standard.
| const SfxItemSet * sd::FuPage::ExecuteDialog | ( | weld::Window * | pParent, |
| const SfxRequest & | rReq | ||
| ) |
Definition at line 199 of file fupage.cxx.
References SfxUndoManager::AddUndoAction(), SdStyleSheet::AdjustToFontHeight(), sdr::properties::CleanupFillProperties(), SdrPageProperties::ClearItem(), SdAbstractDialogFactory::Create(), SdAbstractDialogFactory::CreateSdTabPageDialog(), SfxRequest::Done(), Draw, EE_PARA_WRITINGDIR(), ERRCODE_GRFILTER_OPENERROR, ERRCODE_NONE, SvxOpenGraphicDialog::Execute(), GraphicHelper::ExportGraphic(), SfxItemSet::Get(), SfxRequest::GetArgs(), SdDrawDocument::GetDefaultWritingMode(), sd::ViewShell::GetDoc(), SdDrawDocument::GetDocumentType(), sd::ViewShell::GetFrameWeld(), SfxGrabBagItem::GetGrabBag(), XFillGradientItem::GetGradientValue(), GraphicObject::GetGraphic(), SvxOpenGraphicDialog::GetGraphic(), GraphicFilter::GetGraphicFilter(), XFillBitmapItem::GetGraphicObject(), XFillHatchItem::GetHatchValue(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SdrPageProperties::GetItemSet(), SdStyleSheet::GetItemSet(), SfxItemSet::GetItemState(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), NameOrIndex::GetName(), SdPage::GetName(), SdPage::GetOrientation(), SdDrawDocument::GetPageNumType(), SdPage::GetPaperBin(), SdDrawDocument::GetPool(), SdPage::getPresentationStyle(), SdrPage::GetRightBorder(), SdrPage::getSdrPageProperties(), SdrPage::GetSize(), sd::FuPoor::GetSlotID(), SdrPageProperties::GetStyleSheet(), SdrPageProperties::GetTheme(), sd::DrawDocShell::GetUndoManager(), SdrPage::GetUpperBorder(), GetValue, SfxItemPool::GetWhich(), i, idx, Impress, SdrPage::IsBackgroundFullSize(), SdrPage::IsMasterPage(), GraphicFilter::LoadGraphic(), maSize, MAXHEIGHT, MAXWIDTH, mbDisplayBackgroundTabPage, mbMasterPage, mbPageBckgrdDeleted, sd::mergeItemSetsImpl(), sd::MergePageBackgroundFilling(), SdrModel::MigrateItemSet(), mpBackgroundObjUndoAction, sd::FuPoor::mpDoc, sd::FuPoor::mpDocSh, mpDrawViewShell, mpPage, sd::FuPoor::mpViewShell, mrReq, nId, SfxItemSet::Put(), SdrPageProperties::PutItem(), RET_OK, SdResId(), SdDrawDocument::SetChanged(), SdDrawDocument::SetDefaultWritingMode(), SvxPageItem::SetDescName(), SvxPageItem::SetLandscape(), SvxPageItem::SetNumType(), SvxPageItem::SetPageUsage(), WhichRangesContainer::size(), SdrPage::TRG_GetMasterPage(), XATTR_FILL_FIRST(), XATTR_FILL_LAST(), XATTR_FILLBITMAP(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
Referenced by DoExecute().
|
private |
Definition at line 63 of file fupage.hxx.
Referenced by ApplyItemSet(), and ExecuteDialog().
|
private |
Definition at line 66 of file fupage.hxx.
Referenced by ApplyItemSet(), DoExecute(), and ExecuteDialog().
|
private |
Definition at line 65 of file fupage.hxx.
Referenced by ApplyItemSet(), DoExecute(), and ExecuteDialog().
|
private |
Definition at line 64 of file fupage.hxx.
Referenced by ApplyItemSet(), and ExecuteDialog().
|
private |
Definition at line 60 of file fupage.hxx.
Referenced by DoExecute().
|
private |
Definition at line 62 of file fupage.hxx.
Referenced by ApplyItemSet(), and ExecuteDialog().
|
private |
Definition at line 68 of file fupage.hxx.
Referenced by ApplyItemSet(), DoExecute(), and ExecuteDialog().
|
private |
Definition at line 67 of file fupage.hxx.
Referenced by ApplyItemSet(), DoExecute(), and ExecuteDialog().
|
private |
Definition at line 59 of file fupage.hxx.
Referenced by ExecuteDialog().