LibreOffice Module sw (master) 1
|
SfxShell subclass that is used while interacting with the editeng-based text of a shape. More...
#include <drwtxtsh.hxx>
Public Member Functions | |
SwView & | GetView () |
SwWrtShell & | GetShell () |
SwDrawTextShell (SwView &rView) | |
virtual | ~SwDrawTextShell () override |
virtual SfxUndoManager * | GetUndoManager () override |
void | Execute (SfxRequest &) |
void | ExecDraw (SfxRequest &) |
void | GetStatePropPanelAttr (SfxItemSet &) |
void | GetState (SfxItemSet &) |
void | GetDrawTextCtrlState (SfxItemSet &) |
void | ExecFontWork (SfxRequest const &rReq) |
void | StateFontWork (SfxItemSet &rSet) |
void | ExecFormText (SfxRequest const &rReq) |
void | GetFormTextState (SfxItemSet &rSet) |
void | ExecDrawLingu (SfxRequest const &rReq) |
void | ExecUndo (SfxRequest &rReq) |
void | StateUndo (SfxItemSet &rSet) |
void | ExecClpbrd (SfxRequest const &rReq) |
void | StateClpbrd (SfxItemSet &rSet) |
void | StateInsert (SfxItemSet &rSet) |
void | ExecTransliteration (SfxRequest const &) |
void | ExecRotateTransliteration (SfxRequest const &) |
void | Init () |
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 Public Member Functions | |
static void | StateDisableItems (SfxItemSet &) |
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 &) |
Private Member Functions | |
void | SetAttrToMarked (const SfxItemSet &rAttr) |
void | InsertSymbol (SfxRequest &rReq) |
bool | IsTextEdit () const |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
SwView & | m_rView |
RotateTransliteration | m_aRotateCase |
SdrView * | m_pSdrView |
Additional Inherited Members | |
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 &) |
SfxShell subclass that is used while interacting with the editeng-based text of a shape.
Definition at line 31 of file drwtxtsh.hxx.
SwDrawTextShell::SwDrawTextShell | ( | SwView & | rView | ) |
Definition at line 118 of file drwtxtsh.cxx.
References vcl::EnumContext::DrawText, SwViewShell::GetAttrPool(), vcl::EnumContext::GetContextName(), SfxItemPool::GetSecondaryPool(), GetShell(), Init(), SfxShell::SetContextName(), SfxShell::SetName(), and SfxShell::SetPool().
|
overridevirtual |
Definition at line 132 of file drwtxtsh.cxx.
References GetView(), m_rView, and SwView::ResetSubShell().
void SwDrawTextShell::ExecClpbrd | ( | SfxRequest const & | rReq | ) |
Definition at line 1046 of file drwtxtex.cxx.
References OutlinerView::Copy(), SvxAbstractDialogFactory::Create(), TransferableDataHelper::CreateFromSystemClipboard(), OutlinerView::Cut(), SfxRequest::GetArgs(), GetFrameWeld(), SfxItemSet::GetItemState(), OutlinerView::GetSelection(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutlinerView(), TransferableDataHelper::GetTransferable(), GetView(), IsTextEdit(), m_pSdrView, ESelection::nEndPara, ESelection::nEndPos, nId, ESelection::nStartPara, ESelection::nStartPos, OutlinerView::Paste(), and OutlinerView::PasteSpecial().
void SwDrawTextShell::ExecDraw | ( | SfxRequest & | rReq | ) |
Definition at line 354 of file drwtxtsh.cxx.
References SdrMarkView::AreObjectsMarked(), CHAR_HARDBLANK, CHAR_HARDHYPHEN, CHAR_LRM, CHAR_NNBSP, CHAR_RLM, CHAR_SOFTHYPHEN, CHAR_WJ, CHAR_ZWSP, SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateTextTabDialog(), SfxRequest::Done(), SwWrtShell::Edit(), SwFEShell::EndTextEdit(), SwView::ExitDraw(), FN_DRAWTEXT_ATTR_DLG, FN_ESCAPE, FN_INSERT_STRING, SfxRequest::GetArgs(), SdrView::GetAttributes(), SfxViewFrame::GetBindings(), SwViewShell::GetDrawView(), EditView::GetEditEngine(), OutlinerView::GetEditView(), GetFrameWeld(), SdrModel::GetItemPool(), SfxItemSet::GetItemState(), SdrPaintView::GetModel(), OutlinerView::GetOutliner(), GetShell(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), GetValue, GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), InsertSymbol(), OutlinerView::InsertText(), SfxBindings::InvalidateAll(), Outliner::IsModified(), IsTextEdit(), SdrObjEditView::IsTextEdit(), m_pSdrView, SfxItemSet::Put(), OutlinerView::RemoveAttribsKeepLanguages(), EditEngine::RemoveFields(), RET_OK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, OutlinerView::SelectRange(), SdrView::SetAttributes(), and SwEditShell::SetModified().
void SwDrawTextShell::ExecDrawLingu | ( | SfxRequest const & | rReq | ) |
Definition at line 264 of file drwtxtsh.cxx.
References Exception, OutputDevice::GetDefaultFont(), SwViewShell::GetDrawView(), SfxRequest::GetFrameWeld(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), comphelper::getProcessComponentContext(), GetShell(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutlinerView(), comphelper::InitAnyPropertySequence(), LANGUAGE_CHINESE_SIMPLIFIED, LANGUAGE_CHINESE_TRADITIONAL, LANGUAGE_KOREAN, m_pSdrView, RET_OK, OutlinerView::StartTextConversion(), and OutlinerView::StartThesaurus().
void SwDrawTextShell::ExecFontWork | ( | SfxRequest const & | rReq | ) |
Definition at line 173 of file drwtxtsh.cxx.
References Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), GetDfltMetric(), GetShell(), GetValue, GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), SfxViewFrame::SetChildWindow(), SW_MOD, and SfxViewFrame::ToggleChildWindow().
void SwDrawTextShell::ExecFormText | ( | SfxRequest const & | rReq | ) |
Definition at line 199 of file drwtxtsh.cxx.
References SfxRequest::GetArgs(), SwViewShell::GetDrawView(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), GetShell(), GetView(), SdrObjEditView::IsTextEdit(), rSet, SdrObjEditView::SdrEndTextEdit(), and SdrView::SetAttributes().
void SwDrawTextShell::ExecRotateTransliteration | ( | SfxRequest const & | rReq | ) |
Definition at line 654 of file drwtxtsh.cxx.
References RotateTransliteration::getNextMode(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutlinerView(), m_aRotateCase, m_pSdrView, and OutlinerView::TransliterateText().
void SwDrawTextShell::ExecTransliteration | ( | SfxRequest const & | rReq | ) |
Definition at line 598 of file drwtxtsh.cxx.
References SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutlinerView(), m_pSdrView, and OutlinerView::TransliterateText().
void SwDrawTextShell::ExecUndo | ( | SfxRequest & | rReq | ) |
Definition at line 492 of file drwtxtsh.cxx.
References SfxShell::ExecuteSlot(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SfxShell::GetInterface(), SfxItemSet::GetItemState(), SfxRequest::GetSlot(), GetUndoManager(), CntUInt16Item::GetValue(), GetView(), SfxViewShell::GetViewFrame(), SfxBindings::InvalidateAll(), IsTextEdit(), nId, SfxUndoManager::Redo(), and SfxUndoManager::Undo().
void SwDrawTextShell::Execute | ( | SfxRequest & | rReq | ) |
! JP 16.03.2001: why?? pSdrView = rSh.GetDrawView(); ! JP 16.03.2001: why?? pOutliner = pSdrView->GetTextEditOutliner();
Definition at line 85 of file drwtxtex.cxx.
References SwView::BeginTextEdit(), EditView::ChangeFontSize(), SfxItemSet::Clone(), vcl::unohelper::TextDataObject::CopyStringTo(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwCharDlg(), SwAbstractDialogFactory::CreateSwParaDlg(), SfxObjectShell::Current(), SfxRequest::Done(), Draw, EE_CHAR_BKGCOLOR(), EE_CHAR_COLOR(), EE_CHAR_ESCAPEMENT(), EE_CHAR_FONTWIDTH(), EE_CHAR_KERNING(), EE_CHAR_LANGUAGE(), EE_CHAR_OUTLINE(), EE_CHAR_OVERLINE(), EE_CHAR_PAIRKERNING(), EE_CHAR_RELIEF(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WLM(), EE_FEATURE_FIELD(), EE_ITEMS_END(), EE_ITEMS_START(), EE_PARA_JUST(), EE_PARA_LRSPACE(), EE_PARA_SBL(), EE_PARA_ULSPACE(), EE_PARA_WRITINGDIR(), SwView::ExecFormatFootnote(), SwView::ExecNumberingOutline(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), SfxShell::ExecuteSlot(), FN_FORMAT_FOOTNOTE_DLG, FN_GROW_FONT_SIZE, FN_NUMBERING_OUTLINE_DLG, FN_SET_SUB_SCRIPT, FN_SET_SUPER_SCRIPT, FN_SHRINK_FONT_SIZE, FN_WORDCOUNT_DIALOG, Get(), SfxItemSet::Get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), SfxViewFrame::GetBindings(), vcl::Window::GetClipboard(), GetDfltMetric(), SfxViewFrame::GetDispatcher(), OutlinerView::GetEditView(), SwView::GetEditWin(), SvxFieldItem::GetField(), OutlinerView::GetFieldAtCursor(), OutlinerView::GetFieldAtSelection(), SvxFontListItem::GetFontList(), SfxViewShell::GetFrameWeld(), GetFrameWeld(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SvxTextLineItem::GetLineStyle(), SvxULSpaceItem::GetLower(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SvxHyperlinkItem::GetName(), OutlinerView::GetOutliner(), SfxShell::GetPool(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), SdrPaintView::GetSdrPageView(), SfxItemPool::GetSecondaryPool(), OutlinerView::GetSelectedScriptType(), EditView::GetSelection(), OutlinerView::GetSelection(), GetShell(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetTargetFrame(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), SvxULSpaceItem::GetUpper(), SvxHyperlinkItem::GetURL(), CntUnencodedStringItem::GetValue(), GetValue, GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), GetWhich, SfxItemPool::GetWhich(), SfxShell::HandleOpenXmlFilterSettings(), EditView::HasSelection(), OutlinerView::InsertField(), SfxBindings::InvalidateAll(), Outliner::IsModified(), IsTextEdit(), LINE_SPACE_DEFAULT_HEIGHT, LINESTYLE_NONE, LINESTYLE_SINGLE, m_pSdrView, m_rView, nAdjust, ESelection::nEndPos, nFirstLineOffset, SfxItemSet::Put(), SvxScriptSetItem::PutItemForScriptType(), URLFieldHelper::RemoveURLField(), ReplaceTextWithSynonym(), RES_BREAK(), RES_CHRATR_KERNING(), RES_PARATR_HYPHENZONE(), RES_PARATR_ORPHANS(), RES_PARATR_SPLIT(), RES_PARATR_WIDOWS(), RET_OK, SDRATTR_TEXTDIRECTION(), SdrObjEditView::SdrEndTextEdit(), EditView::SelectCurrentWord(), OutlinerView::SelectFieldAtCursor(), SwLangHelper::SelectPara(), SdrView::SetAttributes(), SetAttrToMarked(), SvxEscapementItem::SetEscapement(), SwLangHelper::SetLanguageStatus(), SvxULSpaceItem::SetLower(), SwEditShell::SetModified(), SvxLineSpacingItem::SetPropLineSpace(), SvxLRSpaceItem::SetRight(), OutlinerView::SetSelection(), EditView::SetSelection(), SvxURLField::SetTargetFrame(), SvxLRSpaceItem::SetTextFirstLineOffset(), SvxLRSpaceItem::SetTextLeft(), SvxULSpaceItem::SetUpper(), SW_MOD, and SwView::UpdateWordCount().
void SwDrawTextShell::GetDrawTextCtrlState | ( | SfxItemSet & | rSet | ) |
Definition at line 957 of file drwtxtex.cxx.
References SfxPoolItem::CloneSetWhich(), SfxItemSet::DisableItem(), EE_CHAR_BKGCOLOR(), EE_CHAR_COLOR(), EE_CHAR_ESCAPEMENT(), EE_CHAR_FONTWIDTH(), EE_CHAR_KERNING(), EE_CHAR_LANGUAGE(), EE_CHAR_OUTLINE(), EE_CHAR_OVERLINE(), EE_CHAR_PAIRKERNING(), EE_CHAR_RELIEF(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WLM(), SfxWhichIter::FirstWhich(), FN_GROW_FONT_SIZE, FN_SHRINK_FONT_SIZE, SfxItemSet::Get(), OutlinerView::GetAttribs(), SvxFontHeightItem::GetHeight(), SvxScriptSetItem::GetItemOfScript(), SfxShell::GetPool(), SfxItemSet::GetPool(), SfxItemPool::GetSecondaryPool(), OutlinerView::GetSelectedScriptType(), SfxItemPool::GetSlotId(), SfxShell::GetSlotState(), SdrObjEditView::GetTextEditOutlinerView(), GetValue, SfxItemSet::InvalidateItem(), IsTextEdit(), m_pSdrView, m_rView, SfxWhichIter::NextWhich(), SfxItemSet::Put(), and rSet.
void SwDrawTextShell::GetFormTextState | ( | SfxItemSet & | rSet | ) |
Definition at line 227 of file drwtxtsh.cxx.
References SfxItemSet::DisableItem(), DynCastSdrTextObj(), SdrView::GetAttributes(), SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), 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().
SwWrtShell & SwDrawTextShell::GetShell | ( | ) |
Definition at line 138 of file drwtxtsh.cxx.
References SwView::GetWrtShell(), and m_rView.
Referenced by ExecDraw(), ExecDrawLingu(), ExecFontWork(), ExecFormText(), Execute(), GetFormTextState(), GetState(), GetStatePropPanelAttr(), GetUndoManager(), Init(), SetAttrToMarked(), and SwDrawTextShell().
void SwDrawTextShell::GetState | ( | SfxItemSet & | rSet | ) |
avoid putting the same item as SfxBoolItem at the end of this function
Definition at line 631 of file drwtxtex.cxx.
References LanguageTag::convertToLocale(), SfxItemSet::DisableItem(), EE_CHAR_ESCAPEMENT(), EE_PARA_JUST(), EE_PARA_LRSPACE(), EE_PARA_SBL(), EE_PARA_ULSPACE(), EE_PARA_WRITINGDIR(), eMode, SfxWhichIter::FirstWhich(), FN_SET_SUB_SCRIPT, FN_SET_SUPER_SCRIPT, SfxItemSet::Get(), SvxAdjustItem::GetAdjust(), GetAppLanguage(), OutlinerView::GetAttribs(), SfxViewFrame::GetBindings(), SwDoc::GetDefault(), SwViewShell::GetDoc(), OutlinerView::GetEditView(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwLangHelper::GetLanguage(), SwLangHelper::GetLanguageStatus(), SvxULSpaceItem::GetLower(), SfxShell::GetPool(), SvxLineSpacingItem::GetPropLineSpace(), GetShell(), SfxItemPool::GetSlotId(), GetStatusValueForThesaurusFromContext(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), GetThesaurus(), SvxULSpaceItem::GetUpper(), GetView(), SfxViewShell::GetViewFrame(), GetWhichOfScript(), SfxItemSet::InvalidateItem(), SvtCJKOptions::IsAnyEnabled(), SvtCJKOptions::IsChangeCaseMapEnabled(), SvtCTLOptions::IsCTLFontEnabled(), URLFieldHelper::IsCursorAtURLField(), IsInvalidItem(), IsTextEdit(), SvtCJKOptions::IsVerticalTextEnabled(), LANGUAGE_NONE, m_pSdrView, SfxWhichIter::NextWhich(), nLang, SfxItemSet::Put(), RES_CHRATR_LANGUAGE(), rSet, SDRATTR_TEXTDIRECTION(), and SfxBindings::SetVisibleState().
void SwDrawTextShell::GetStatePropPanelAttr | ( | SfxItemSet & | rSet | ) |
Definition at line 797 of file drwtxtsh.cxx.
References SfxWhichIter::FirstWhich(), SfxItemSet::Get(), SdrView::GetAttributes(), SwViewShell::GetDrawView(), SdrModel::GetItemPool(), SfxItemSet::GetItemState(), SdrPaintView::GetModel(), SfxShell::GetPool(), GetShell(), SfxItemPool::GetSlotId(), SfxItemPool::IsWhich(), m_pSdrView, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SDRATTR_TEXT_CONTOURFRAME(), SDRATTR_TEXT_VERTADJUST(), SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, and SDRTEXTVERTADJUST_TOP.
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 789 of file drwtxtsh.cxx.
References SwViewShell::GetDrawView(), GetShell(), SdrObjEditView::GetTextEditOutliner(), and m_pSdrView.
Referenced by ExecUndo(), and StateUndo().
|
inline |
Definition at line 50 of file drwtxtsh.hxx.
References m_rView.
Referenced by ExecClpbrd(), ExecDraw(), ExecFontWork(), ExecFormText(), ExecUndo(), Execute(), GetState(), StateClpbrd(), StateFontWork(), StateInsert(), StateUndo(), and ~SwDrawTextShell().
void SwDrawTextShell::Init | ( | void | ) |
Definition at line 90 of file drwtxtsh.cxx.
References SwViewShell::GetDrawView(), GetShell(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), SwViewShell::GetViewOptions(), SwViewOption::IsOnlineSpell(), m_pSdrView, SfxShell::SetUndoManager(), and OutlinerView::ShowCursor().
Referenced by SwDrawTextShell().
|
staticprivate |
SfxInterface initializer.
Definition at line 80 of file drwtxtsh.cxx.
References SFX_OBJECTBAR_OBJECT.
|
private |
Definition at line 672 of file drwtxtsh.cxx.
References SfxRequest::AppendItem(), SfxPoolItem::Clone(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateCharMapDialog(), SfxRequest::Done(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), g_pBreakIt, SfxItemSet::Get(), SwBreakIt::GetAllScriptsOfText(), GetAppLanguage(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), vcl::Font::GetCharSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxViewShell::GetFrameWeld(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), SfxItemSet::GetItemIfSet(), SvxScriptSetItem::GetItemOfScript(), vcl::Font::GetPitch(), SfxShell::GetPool(), SfxItemSet::GetPool(), OutlinerView::GetSelectedScriptType(), OutlinerView::GetSelection(), vcl::Font::GetStyleName(), SwViewOption::GetSymbolFont(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), CntUnencodedStringItem::GetValue(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), GetWhichOfScript(), SwView::GetWrtShell(), OutlinerView::HideCursor(), OutlinerView::InsertText(), m_pSdrView, m_rView, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, SfxItemSet::Put(), RES_CHRATR_FONT(), OutlinerView::SetAttribs(), OutlinerView::SetSelection(), OutlinerView::ShowCursor(), and xFrame.
Referenced by ExecDraw().
|
private |
Definition at line 168 of file drwtxtsh.cxx.
References SdrObjEditView::IsTextEdit(), and m_pSdrView.
Referenced by ExecClpbrd(), ExecDraw(), ExecUndo(), Execute(), GetDrawTextCtrlState(), GetState(), StateClpbrd(), StateInsert(), and StateUndo().
|
private |
Definition at line 157 of file drwtxtsh.cxx.
References SwViewShell::GetDrawView(), OutlinerView::GetOutputArea(), GetShell(), SdrObjEditView::GetTextEditOutlinerView(), m_pSdrView, and SdrView::SetAttributes().
Referenced by Execute().
void SwDrawTextShell::StateClpbrd | ( | SfxItemSet & | rSet | ) |
Definition at line 1126 of file drwtxtex.cxx.
References SvxClipboardFormatItem::AddClipbrdFormat(), TransferableDataHelper::CreateFromSystemClipboard(), SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SfxShell::GetObjectShell(), OutlinerView::GetSelection(), SdrObjEditView::GetTextEditOutlinerView(), GetView(), TransferableDataHelper::HasFormat(), IsTextEdit(), m_pSdrView, ESelection::nEndPara, ESelection::nEndPos, SfxWhichIter::NextWhich(), ESelection::nStartPara, ESelection::nStartPos, SfxItemSet::Put(), and rSet.
|
static |
Definition at line 145 of file drwtxtsh.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SfxWhichIter::NextWhich(), and rSet.
void SwDrawTextShell::StateFontWork | ( | SfxItemSet & | rSet | ) |
Definition at line 191 of file drwtxtsh.cxx.
References GetView(), nId, SfxItemSet::Put(), and rSet.
void SwDrawTextShell::StateInsert | ( | SfxItemSet & | rSet | ) |
Definition at line 1186 of file drwtxtex.cxx.
References SfxWhichIter::FirstWhich(), SvxFieldItem::GetField(), OutlinerView::GetFieldAtSelection(), GetHtmlMode(), SvxHyperlinkItem::GetInsertMode(), SvxURLField::GetRepresentation(), OutlinerView::GetSelected(), SvxURLField::GetTargetFrame(), SdrObjEditView::GetTextEditOutlinerView(), SvxURLField::GetURL(), GetView(), HLINK_FIELD, HLINK_HTMLMODE, HTMLMODE_ON, IsTextEdit(), m_pSdrView, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SvxHyperlinkItem::SetInsertMode(), SvxHyperlinkItem::SetName(), SvxHyperlinkItem::SetTargetFrame(), SvxHyperlinkItem::SetURL(), and comphelper::string::stripEnd().
void SwDrawTextShell::StateUndo | ( | SfxItemSet & | rSet | ) |
Definition at line 536 of file drwtxtsh.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SfxShell::GetInterface(), SfxUndoManager::GetRedoActionComment(), SfxUndoManager::GetRedoActionCount(), SfxShell::GetSlotState(), SfxUndoManager::GetUndoActionComment(), SfxUndoManager::GetUndoActionCount(), GetUndoManager(), GetView(), SfxViewShell::GetViewFrame(), IsTextEdit(), n, nCount, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SfxStringListItem::SetString(), and SfxUndoManager::TopLevel.
|
private |
Definition at line 34 of file drwtxtsh.hxx.
Referenced by ExecRotateTransliteration().
|
private |
Definition at line 36 of file drwtxtsh.hxx.
Referenced by ExecClpbrd(), ExecDraw(), ExecDrawLingu(), ExecRotateTransliteration(), ExecTransliteration(), Execute(), GetDrawTextCtrlState(), GetState(), GetStatePropPanelAttr(), GetUndoManager(), Init(), InsertSymbol(), IsTextEdit(), SetAttrToMarked(), StateClpbrd(), and StateInsert().
|
private |
Definition at line 33 of file drwtxtsh.hxx.
Referenced by Execute(), GetDrawTextCtrlState(), GetShell(), GetView(), InsertSymbol(), and ~SwDrawTextShell().