LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwAnnotationShell Class Referencefinal

#include <annotsh.hxx>

Inheritance diagram for SwAnnotationShell:
[legend]
Collaboration diagram for SwAnnotationShell:
[legend]

Public Member Functions

 SwAnnotationShell (SwView &)
 
virtual ~SwAnnotationShell () override
 
void Exec (SfxRequest &)
 
void GetState (SfxItemSet &)
 
void StateInsert (SfxItemSet &rSet)
 
void NoteExec (SfxRequest const &)
 
void GetNoteState (SfxItemSet &)
 
void ExecLingu (SfxRequest &rReq)
 
void GetLinguState (SfxItemSet &)
 
void ExecClpbrd (SfxRequest const &rReq)
 
void StateClpbrd (SfxItemSet &rSet)
 
void ExecTransliteration (SfxRequest const &)
 
void ExecRotateTransliteration (SfxRequest const &)
 
void ExecUndo (SfxRequest &rReq)
 
void StateUndo (SfxItemSet &rSet)
 
void InsertSymbol (SfxRequest &rReq)
 
void ExecSearch (SfxRequest &)
 
void StateSearch (SfxItemSet &)
 
virtual SfxUndoManagerGetUndoManager () override
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
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)
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (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 SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (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 void StateStatusLine (SfxItemSet &rSet)
 
static SfxItemPoolGetAnnotationPool (SwView const &rV)
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

SwViewm_rView
 
RotateTransliteration m_aRotateCase
 

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 &)
 

Detailed Description

Definition at line 28 of file annotsh.hxx.

Constructor & Destructor Documentation

◆ SwAnnotationShell()

SwAnnotationShell::SwAnnotationShell ( SwView r)

◆ ~SwAnnotationShell()

SwAnnotationShell::~SwAnnotationShell ( )
overridevirtual

Member Function Documentation

◆ Exec()

void SwAnnotationShell::Exec ( SfxRequest rReq)

Definition at line 154 of file annotsh.cxx.

References Ann, EditView::ChangeFontSize(), CHAR_HARDBLANK, CHAR_HARDHYPHEN, CHAR_LRM, CHAR_NNBSP, CHAR_RLM, CHAR_SOFTHYPHEN, CHAR_WJ, CHAR_ZWSP, SfxPoolItem::CloneSetWhich(), SfxItemSet::Count(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwCharDlg(), SwAbstractDialogFactory::CreateSwParaDlg(), SfxObjectShell::Current(), SwPostItHelper::DELETED, SfxRequest::Done(), 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(), SfxShell::ExecuteSlot(), FN_FORMAT_FOOTNOTE_DLG, FN_GROW_FONT_SIZE, FN_INSERT_STRING, FN_NUMBERING_OUTLINE_DLG, FN_SET_SUB_SCRIPT, FN_SET_SUPER_SCRIPT, FN_SHRINK_FONT_SIZE, FN_WORDCOUNT_DIALOG, Get(), SfxItemSet::Get(), SwPostItMgr::GetActiveSidebarWin(), SfxRequest::GetArg(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), SfxViewFrame::GetBindings(), SfxViewFrame::GetDispatcher(), OutlinerView::GetEditView(), SvxFieldItem::GetField(), OutlinerView::GetFieldAtSelection(), SvxFontListItem::GetFontList(), SfxViewShell::GetFrameWeld(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), sw::annotation::SwAnnotationWin::GetLayoutStatus(), SvxULSpaceItem::GetLower(), SvxHyperlinkItem::GetName(), OutlinerView::GetOutliner(), sw::annotation::SwAnnotationWin::GetOutlinerView(), OutlinerView::GetOutputArea(), Outliner::GetParagraphCount(), SfxShell::GetPool(), SfxItemSet::GetPool(), SwView::GetPostItMgr(), SfxItemSet::GetRanges(), SfxItemPool::GetSecondaryPool(), OutlinerView::GetSelectedScriptType(), OutlinerView::GetSelection(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetTargetFrame(), SvxULSpaceItem::GetUpper(), SvxHyperlinkItem::GetURL(), CntUnencodedStringItem::GetValue(), GetValue, SfxViewShell::GetViewFrame(), GetWhich, SfxItemPool::GetWhich(), SwView::GetWrtShell(), SfxShell::HandleOpenXmlFilterSettings(), SwPostItMgr::HasActiveSidebarWin(), OutlinerView::InsertField(), InsertSymbol(), OutlinerView::InsertText(), SfxBindings::InvalidateAll(), Outliner::IsModified(), LINE_SPACE_DEFAULT_HEIGHT, LINESTYLE_NONE, LINESTYLE_SINGLE, m_rView, nAdjust, ESelection::nEndPos, SfxItemSet::Put(), SvxScriptSetItem::PutItemForScriptType(), RES_BREAK(), RES_CHRATR_KERNING(), RES_PARATR_HYPHENZONE(), RES_PARATR_ORPHANS(), RES_PARATR_SPLIT(), RES_PARATR_WIDOWS(), sw::annotation::SwAnnotationWin::ResetAttributes(), RET_OK, OutlinerView::SelectRange(), OutlinerView::SetAttribs(), SvxEscapementItem::SetEscapement(), SvxULSpaceItem::SetLower(), SwEditShell::SetModified(), SvxLineSpacingItem::SetPropLineSpace(), OutlinerView::SetSelection(), SvxURLField::SetTargetFrame(), SvxULSpaceItem::SetUpper(), and SwView::UpdateWordCount().

◆ ExecClpbrd()

void SwAnnotationShell::ExecClpbrd ( SfxRequest const &  rReq)

◆ ExecLingu()

void SwAnnotationShell::ExecLingu ( SfxRequest rReq)

◆ ExecRotateTransliteration()

void SwAnnotationShell::ExecRotateTransliteration ( SfxRequest const &  rReq)

◆ ExecSearch()

void SwAnnotationShell::ExecSearch ( SfxRequest rReq)

Definition at line 876 of file annotsh.cxx.

References SwView::ExecSearch(), and m_rView.

◆ ExecTransliteration()

void SwAnnotationShell::ExecTransliteration ( SfxRequest const &  rReq)

◆ ExecUndo()

void SwAnnotationShell::ExecUndo ( SfxRequest rReq)

◆ GetAnnotationPool()

SfxItemPool * SwAnnotationShell::GetAnnotationPool ( SwView const &  rV)
static

◆ GetLinguState()

void SwAnnotationShell::GetLinguState ( SfxItemSet rSet)

◆ GetNoteState()

void SwAnnotationShell::GetNoteState ( SfxItemSet rSet)

◆ GetState()

void SwAnnotationShell::GetState ( SfxItemSet rSet)

◆ GetUndoManager()

SfxUndoManager * SwAnnotationShell::GetUndoManager ( )
overridevirtual

◆ InitInterface_Impl()

void SwAnnotationShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 115 of file annotsh.cxx.

References SFX_OBJECTBAR_OBJECT.

◆ InsertSymbol()

void SwAnnotationShell::InsertSymbol ( SfxRequest rReq)

Definition at line 1730 of file annotsh.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(), SwPostItMgr::GetActiveSidebarWin(), 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(), OutlinerView::GetOutliner(), sw::annotation::SwAnnotationWin::GetOutlinerView(), vcl::Font::GetPitch(), SfxShell::GetPool(), SfxItemSet::GetPool(), SwView::GetPostItMgr(), OutlinerView::GetSelectedScriptType(), OutlinerView::GetSelection(), vcl::Font::GetStyleName(), SwViewOption::GetSymbolFont(), CntUnencodedStringItem::GetValue(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), GetWhichOfScript(), SwView::GetWrtShell(), SwPostItMgr::HasActiveSidebarWin(), OutlinerView::HideCursor(), OutlinerView::InsertText(), m_rView, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, SfxItemSet::Put(), RES_CHRATR_FONT(), OutlinerView::SetAttribs(), OutlinerView::SetSelection(), Outliner::SetUpdateLayout(), OutlinerView::ShowCursor(), and xFrame.

Referenced by Exec().

◆ NoteExec()

void SwAnnotationShell::NoteExec ( SfxRequest const &  rReq)

◆ StateClpbrd()

void SwAnnotationShell::StateClpbrd ( SfxItemSet rSet)

◆ StateDisableItems()

void SwAnnotationShell::StateDisableItems ( SfxItemSet rSet)
static

◆ StateInsert()

void SwAnnotationShell::StateInsert ( SfxItemSet rSet)

◆ StateSearch()

void SwAnnotationShell::StateSearch ( SfxItemSet rSet)

Definition at line 881 of file annotsh.cxx.

References m_rView, rSet, and SwView::StateSearch().

◆ StateStatusLine()

void SwAnnotationShell::StateStatusLine ( SfxItemSet rSet)
static

◆ StateUndo()

void SwAnnotationShell::StateUndo ( SfxItemSet rSet)

Member Data Documentation

◆ m_aRotateCase

RotateTransliteration SwAnnotationShell::m_aRotateCase
private

Definition at line 31 of file annotsh.hxx.

Referenced by ExecRotateTransliteration().

◆ m_rView

SwView& SwAnnotationShell::m_rView
private

The documentation for this class was generated from the following files: