| 
    LibreOffice Module sw (master) 1
    
   | 
 
#include <drawsh.hxx>
Public Member Functions | |
| SwDrawShell (SwView &rView) | |
| void | Execute (SfxRequest &) | 
| void | GetState (SfxItemSet &) | 
| void | ExecDrawDlg (SfxRequest &rReq) | 
| void | ExecDrawAttrArgs (SfxRequest const &rReq) | 
| void | GetDrawAttrState (SfxItemSet &rSet) | 
| void | ExecFormText (SfxRequest const &rReq) | 
| void | GetFormTextState (SfxItemSet &rSet) | 
| SdrObject * | IsSingleFillableNonOLESelected () | 
| void | InsertPictureFromFile (SdrObject &rObject) | 
  Public Member Functions inherited from SwDrawBaseShell | |
| SwDrawBaseShell (SwView &rShell) | |
| virtual | ~SwDrawBaseShell () override | 
| void | Execute (SfxRequest const &) | 
| void | GetState (SfxItemSet &) | 
| void | GetDrawAttrStateForIFBX (SfxItemSet &rSet) | 
| void | DisableState (SfxItemSet &rSet) | 
| bool | Disable (SfxItemSet &rSet, sal_uInt16 nWhich=0) | 
  Public Member Functions inherited from SwBaseShell | |
| SwBaseShell (SwView &rShell) | |
| virtual | ~SwBaseShell () override | 
| void | ExecDelete (SfxRequest &) | 
| void | ExecClpbrd (SfxRequest &) | 
| void | StateClpbrd (SfxItemSet &) | 
| void | ExecUndo (SfxRequest &) | 
| void | StateUndo (SfxItemSet &) | 
| void | Execute (SfxRequest &) | 
| void | GetState (SfxItemSet &) | 
| void | StateStyle (SfxItemSet &) | 
| void | ExecuteGallery (SfxRequest &) | 
| void | GetGalleryState (SfxItemSet &) | 
| void | ExecDlg (SfxRequest &) | 
| void | ExecTextCtrl (SfxRequest &rReq) | 
| void | GetTextFontCtrlState (SfxItemSet &rSet) | 
| void | GetTextCtrlState (SfxItemSet &rSet) | 
| void | GetBorderState (SfxItemSet &rSet) | 
| void | GetBckColState (SfxItemSet &rSet) | 
| void | ExecBckCol (SfxRequest &rReq) | 
| void | SetWrapMode (sal_uInt16 nSlot) | 
| void | EditRegionDialog (SfxRequest const &rReq) | 
| void | InsertRegionDialog (SfxRequest &rReq) | 
| void | ExecField (SfxRequest const &rReq) | 
  Public Member Functions inherited from SfxShell | |
| virtual | ~SfxShell () override | 
| virtual SfxInterface * | GetInterface () const | 
| void | SetName (const OUString &rName) | 
| const OUString & | GetName () const | 
| SfxViewShell * | GetViewShell () const | 
| const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) | 
| const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) | 
| void | ExecuteSlot (SfxRequest &rReq, bool bAsync) | 
| SfxItemPool & | GetPool () const | 
| void | SetPool (SfxItemPool *pNewPool) | 
| virtual SfxUndoManager * | GetUndoManager () | 
| void | SetUndoManager (SfxUndoManager *pNewUndoMgr) | 
| SfxRepeatTarget * | GetRepeatTarget () const | 
| void | SetRepeatTarget (SfxRepeatTarget *pTarget) | 
| virtual void | Invalidate (sal_uInt16 nId=0) | 
| virtual bool | IsDesignMode () const | 
| bool | IsActive () const | 
| virtual void | Activate (bool bMDI) | 
| virtual void | Deactivate (bool bMDI) | 
| SfxDispatcher * | GetDispatcher () const | 
| SfxViewFrame * | GetFrame () const | 
| virtual bool | HasUIFeature (SfxShellFeature nFeature) const | 
| void | UIFeatureChanged () | 
| const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const | 
| const T * | GetItem (TypedWhichId< T > nWhich) const | 
| void | PutItem (const SfxPoolItem &rItem) | 
| void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) | 
| const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const | 
| void | VerbExec (SfxRequest &) | 
| SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const | 
| virtual SfxObjectShell * | GetObjectShell () | 
| void | SetDisableFlags (SfxDisableFlags nFlags) | 
| SfxDisableFlags | GetDisableFlags () const | 
| virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) | 
| virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) | 
| void | SetContextName (const OUString &rsContextName) | 
| void | BroadcastContextForActivation (const bool bIsActivated) | 
| bool | SetContextBroadcasterEnabled (const bool bIsEnabled) | 
| SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) | 
| virtual bool | IsConditionalFastCall (const SfxRequest &rReq) | 
| SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) | 
| SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) | 
Static Private Member Functions | |
| static void | InitInterface_Impl () | 
| SfxInterface initializer.  More... | |
Additional Inherited Members | |
  Static Public Member Functions inherited from SwBaseShell | |
| static void | StateDisableItems (SfxItemSet &) | 
| static void | SetFrameMode (FlyMode eMode, SwWrtShell *pShell) | 
| static void | SetFrameMode_ (FlyMode eMode) | 
| static FlyMode | GetFrameMode () | 
| static std::shared_ptr< std::vector< std::unique_ptr< SwPaM > > > | CopyPaMRing (SwPaM &rOrig) | 
  Static Public Member Functions inherited from SfxShell | |
| static SfxInterface * | GetStaticInterface () | 
| static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) | 
| static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) | 
| static void | VerbState (SfxItemSet &) | 
  Protected Member Functions inherited from SwBaseShell | |
| SwWrtShell & | GetShell () | 
| SwWrtShell * | GetShellPtr () | 
| SwView & | GetView () | 
| void | SetGetStateSet (SfxItemSet *p) | 
| bool | AddGrfUpdateSlot (sal_uInt16 nSlot) | 
| DECL_DLLPRIVATE_LINK (InsertDBTextHdl, void *, void) | |
| void | InsertURLButton (const OUString &rURL, const OUString &rTarget, const OUString &rText) | 
| void | InsertTable (SfxRequest &_rRequest) | 
  Protected Member Functions inherited from SfxShell | |
| SfxShell () | |
| SfxShell (SfxViewShell *pViewSh) | |
| void | SetViewShell_Impl (SfxViewShell *pView) | 
| SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) | 
  Static Protected Member Functions inherited from SfxShell | |
| static void | HandleOpenXmlFilterSettings (SfxRequest &) | 
Definition at line 28 of file drawsh.hxx.
| SwDrawShell::SwDrawShell | ( | SwView & | rView | ) | 
Definition at line 544 of file drawsh.cxx.
References svx::checkForSelectedFontWork(), vcl::EnumContext::Draw, vcl::EnumContext::DrawFontwork, vcl::EnumContext::GetContextName(), SwViewShell::GetDrawView(), SwBaseShell::GetShell(), SfxShell::SetContextName(), and SfxShell::SetName().
| void SwDrawShell::ExecDrawAttrArgs | ( | SfxRequest const & | rReq | ) | 
Definition at line 245 of file drawdlg.cxx.
References SdrMarkView::AreObjectsMarked(), SfxItemSet::Clone(), SfxDispatcher::Execute(), SfxRequest::GetArgs(), SfxViewFrame::GetDispatcher(), SwViewShell::GetDrawView(), SdrPaintView::GetModel(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), SwBaseShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SdrModel::IsChanged(), SwView::NoRotate(), SdrEditView::SetAttrToMarked(), SdrModel::SetChanged(), SdrPaintView::SetDefaultAttr(), and SwEditShell::SetModified().
| void SwDrawShell::ExecDrawDlg | ( | SfxRequest & | rReq | ) | 
Definition at line 46 of file drawdlg.cxx.
References SdrMarkView::AreObjectsMarked(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSfxDialog(), SvxAbstractDialogFactory::CreateSvxAreaTabDialog(), SvxAbstractDialogFactory::CreateSvxLineTabDialog(), SvxAbstractDialogFactory::CreateTextTabDialog(), SfxRequest::Done(), SwCursorShell::EndAction(), FN_DRAWTEXT_ATTR_DLG, SdrView::GetAttributes(), GetBindings(), SwViewShell::GetDrawView(), SfxRequest::GetFrameWeld(), SdrModel::GetItemPool(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrExchangeView::GetMarkedObjects(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), SwBaseShell::GetView(), SwTextBoxHelper::hasTextFrame(), SfxBindings::Invalidate(), SfxShell::Invalidate(), SdrModel::IsChanged(), SwView::NoRotate(), RET_OK, SdrView::SetAttributes(), SdrEditView::SetAttrToMarked(), SdrModel::SetChanged(), SdrPaintView::SetDefaultAttr(), SwEditShell::SetModified(), SwCursorShell::StartAction(), and SwTextBoxHelper::updateTextBoxMargin().
| void SwDrawShell::ExecFormText | ( | SfxRequest const & | rReq | ) | 
Definition at line 562 of file drawsh.cxx.
References SfxRequest::GetArgs(), SwViewShell::GetDrawView(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrPaintView::GetModel(), SwBaseShell::GetShell(), SwBaseShell::GetView(), SdrModel::IsChanged(), SdrObjEditView::IsTextEdit(), rSet, SdrObjEditView::SdrEndTextEdit(), SdrView::SetAttributes(), SdrModel::SetChanged(), and SwEditShell::SetModified().
| void SwDrawShell::Execute | ( | SfxRequest & | rReq | ) | 
Definition at line 171 of file drawsh.cxx.
References SfxItemSet::Count(), SwTextBoxHelper::create(), SwTextBoxHelper::destroy(), SfxRequest::Done(), END, SwEditShell::EndUndo(), SwView::ExecFormatFootnote(), SwView::ExecNumberingOutline(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SwFEShell::FindAnchorPos(), FindFrameFormat(), SwView::FlipDrawRotate(), SwView::FlipDrawSelMode(), FN_ADD_TEXT_BOX, FN_FORMAT_FOOTNOTE_DLG, FN_FRAME_WRAPTHRU, FN_FRAME_WRAPTHRU_TRANSP, FN_NUMBERING_OUTLINE_DLG, FN_REMOVE_TEXT_BOX, FN_TOOL_HIERARCHIE, FN_WORDCOUNT_DIALOG, SfxItemSet::Get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), GetDfltMetric(), SwViewShell::GetDrawView(), SdrHdlList::GetHdl(), SdrMarkView::GetHdlList(), SfxItemSet::GetItemState(), SdrHdl::GetKind(), SwFEShell::GetLayerId(), SdrPaintView::GetModel(), SfxShell::GetPool(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), CntUInt32Item::GetValue(), SfxBoolItem::GetValue(), SwBaseShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SfxShell::HandleOpenXmlFilterSettings(), SfxRequest::Ignore(), InsertPictureFromFile(), SfxBindings::Invalidate(), SdrModel::IsChanged(), SwFEShell::IsObjSelected(), SdrEditView::IsRotateAllowed(), IsSingleFillableNonOLESelected(), SwFEShell::MirrorSelection(), SdrObjEditView::ModelHasChanged(), SdrView::MoveShapeHandle(), SwFEShell::SelectionToHeaven(), SwFEShell::SelectionToHell(), SdrModel::SetChanged(), SfxViewFrame::SetChildWindow(), SwFEShell::SetDragMode(), SdrMarkView::SetFrameDragSingles(), SwEditShell::SetModified(), SwBaseShell::SetWrapMode(), START, SwEditShell::StartUndo(), SW_MOD, SfxViewFrame::ToggleChildWindow(), and SwView::UpdateWordCount().
| void SwDrawShell::GetDrawAttrState | ( | SfxItemSet & | rSet | ) | 
Definition at line 332 of file drawdlg.cxx.
References SdrMarkView::AreObjectsMarked(), SwDrawBaseShell::Disable(), SdrView::GetAttributes(), SdrPaintView::GetDefaultAttr(), SwViewShell::GetDrawView(), SfxItemSet::GetItemState(), SwBaseShell::GetShell(), comphelper::LibreOfficeKit::isActive(), lcl_unifyFillTransparencyItems(), SfxItemSet::MergeRange(), SfxItemSet::Put(), rSet, SDRATTR_TEXTCOLUMNS_NUMBER(), and SDRATTR_TEXTCOLUMNS_SPACING().
| void SwDrawShell::GetFormTextState | ( | SfxItemSet & | rSet | ) | 
Definition at line 592 of file drawsh.cxx.
References SfxItemSet::DisableItem(), DynCastSdrTextObj(), SdrView::GetAttributes(), SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwBaseShell::GetShell(), SdrTextObj::HasText(), rSet, XATTR_FORMTXTADJUST(), XATTR_FORMTXTDISTANCE(), XATTR_FORMTXTHIDEFORM(), XATTR_FORMTXTMIRROR(), XATTR_FORMTXTOUTLINE(), XATTR_FORMTXTSHADOW(), XATTR_FORMTXTSHDWCOLOR(), XATTR_FORMTXTSHDWXVAL(), XATTR_FORMTXTSHDWYVAL(), XATTR_FORMTXTSTART(), and XATTR_FORMTXTSTYLE().
| void SwDrawShell::GetState | ( | SfxItemSet & | rSet | ) | 
Definition at line 404 of file drawsh.cxx.
References Content, SwDrawBaseShell::Disable(), SfxItemSet::DisableItem(), FindFrameFormat(), SfxWhichIter::FirstWhich(), FN_ADD_TEXT_BOX, FN_REMOVE_TEXT_BOX, FN_TOOL_HIERARCHIE, SwViewShell::GetDrawViewWithValidMarkList(), SwFEShell::GetLayerId(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), SwBaseShell::GetShell(), svx::ExtrusionBar::getState(), svx::FontworkBar::getState(), SwBaseShell::GetView(), SwView::IsDrawRotate(), SdrEditView::IsMirrorAllowed(), SwFEShell::IsObjSelected(), SdrEditView::IsRotateAllowed(), SwFEShell::IsSelObjProtected(), IsSingleFillableNonOLESelected(), SwTextBoxHelper::isTextBox(), SfxWhichIter::NextWhich(), nId, NONE, Parent, SfxItemSet::Put(), RES_DRAWFRMFMT(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and SwFormat::Which().
      
  | 
  staticprivate | 
SfxInterface initializer.
Definition at line 63 of file drawsh.cxx.
References SFX_OBJECTBAR_OBJECT.
| void SwDrawShell::InsertPictureFromFile | ( | SdrObject & | rObject | ) | 
Definition at line 110 of file drawsh.cxx.
References SdrEditView::AddUndo(), SdrObject::Clone(), END, SwEditShell::EndUndo(), ERRCODE_NONE, SvxOpenGraphicDialog::Execute(), SwViewShell::GetDrawView(), GetFrameWeld(), SvxOpenGraphicDialog::GetGraphic(), SdrModel::GetItemPool(), SdrPaintView::GetModel(), SvxOpenGraphicDialog::GetPath(), SdrPaintView::GetSdrPageView(), SwBaseShell::GetShell(), SwBaseShell::GetView(), SvxOpenGraphicDialog::IsAsLink(), SdrMarkView::MarkObj(), PASTE_CLIPBOARD, SfxItemSet::Put(), SdrEditView::ReplaceObjectAtView(), SdrObject::SetMergedItemSetAndBroadcast(), SwEditShell::StartUndo(), and SwResId().
Referenced by Execute().
| SdrObject * SwDrawShell::IsSingleFillableNonOLESelected | ( | ) | 
Definition at line 74 of file drawsh.cxx.
References SwViewShell::GetDrawView(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SwBaseShell::GetShell(), and SdrObject::IsClosedObj().
Referenced by Execute(), and GetState().