LibreOffice Module sw (master)
1
|
#include <drawsh.hxx>
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Additional Inherited Members | |
![]() | |
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 SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
![]() | |
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) |
![]() | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
![]() | |
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 274 of file drawdlg.cxx.
References SdrMarkView::AreObjectsMarked(), SfxItemSet::Clone(), SfxDispatcher::Execute(), SfxRequest::GetArgs(), SfxViewFrame::GetDispatcher(), SwViewShell::GetDrawView(), SdrPaintView::GetModel(), GetShell(), SfxRequest::GetSlot(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SdrModel::IsChanged(), SdrEditView::SetAttrToMarked(), SdrModel::SetChanged(), and SdrPaintView::SetDefaultAttr().
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(), SwViewShell::GetDrawView(), SfxRequest::GetFrameWeld(), SdrModel::GetItemPool(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrExchangeView::GetMarkedObjects(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SfxAbstractDialog::GetOutputItemSet(), GetShell(), SfxRequest::GetSlot(), SwTextBoxHelper::hasTextFrame(), SfxBindings::Invalidate(), SdrModel::IsChanged(), RET_OK, SdrView::SetAttributes(), SdrEditView::SetAttrToMarked(), SdrModel::SetChanged(), SdrPaintView::SetDefaultAttr(), SwCursorShell::StartAction(), SfxBindings::Update(), 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(), 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::ExtrusionBar::execute(), svx::FontworkBar::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(), SwBaseShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SfxShell::HandleOpenXmlFilterSettings(), SfxRequest::Ignore(), InsertPictureFromFile(), SfxBindings::Invalidate(), SdrModel::IsChanged(), SwView::IsDrawRotate(), SwFEShell::IsObjSelected(), SdrEditView::IsRotateAllowed(), IsSingleFillableNonOLESelected(), SwFEShell::MirrorSelection(), SdrObjEditView::ModelHasChanged(), SdrView::MoveShapeHandle(), Point, 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 361 of file drawdlg.cxx.
References SdrMarkView::AreObjectsMarked(), SfxPoolItem::CloneSetWhich(), Disable, SdrView::GetAttributes(), SdrPaintView::GetDefaultAttr(), SfxItemSet::GetItemState(), GetShell(), comphelper::LibreOfficeKit::isActive(), lcl_unifyFillTransparencyItems(), SfxItemSet::MergeRange(), SfxItemSet::Put(), SDRATTR_TEXTCOLUMNS_NUMBER(), and SDRATTR_TEXTCOLUMNS_SPACING().
void SwDrawShell::GetFormTextState | ( | SfxItemSet & | rSet | ) |
Definition at line 592 of file drawsh.cxx.
References SfxItemSet::DisableItem(), SdrView::GetAttributes(), SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwBaseShell::GetShell(), SdrTextObj::HasText(), 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(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), and SwFormat::Which().
|
staticprivate |
SfxInterface initializer.
Definition at line 63 of file drawsh.cxx.
References SFX_OBJECTBAR_OBJECT.
Definition at line 110 of file drawsh.cxx.
References SdrEditView::AddUndo(), 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(), SdrGrafObj::SetGraphic(), SdrGrafObj::SetGraphicLink(), 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().