LibreOffice Module sw (master) 1
|
#include <tabsh.hxx>
Public Member Functions | |
void | Execute (SfxRequest &) |
void | GetState (SfxItemSet &) |
void | GetFrameBorderState (SfxItemSet &rSet) |
void | GetLineStyleState (SfxItemSet &rSet) |
void | ExecTableStyle (SfxRequest &rReq) |
void | ExecNumberFormat (SfxRequest const &rReq) |
SwTableShell (SwView &rView) | |
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 &) |
SwTableShell::SwTableShell | ( | SwView & | rView | ) |
Definition at line 1554 of file tabsh.cxx.
References vcl::EnumContext::GetContextName(), SfxShell::SetContextName(), SfxShell::SetName(), and vcl::EnumContext::Table.
void SwTableShell::ExecNumberFormat | ( | SfxRequest const & | rReq | ) |
Definition at line 1617 of file tabsh.cxx.
References FN_NUMBER_CURRENCY, FN_NUMBER_DATE, FN_NUMBER_FORMAT, FN_NUMBER_PERCENT, FN_NUMBER_SCIENTIFIC, FN_NUMBER_STANDARD, FN_NUMBER_TIME, FN_NUMBER_TWODEC, SfxRequest::GetArgs(), SwEditShell::GetCurLang(), SvNumberFormatter::GetEntryKey(), SfxItemSet::GetItemState(), SwEditShell::GetNumberFormatter(), SfxShell::GetPool(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), SvNumberFormatter::GetStandardFormat(), GetValue, GetWhich, NF_NUMBER_1000DEC2, nType, NUMBERFORMAT_ENTRY_NOT_FOUND, SfxItemSet::Put(), SvNumberFormatter::PutEntry(), and SwEditShell::SetTableBoxFormulaAttrs().
void SwTableShell::ExecTableStyle | ( | SfxRequest & | rReq | ) |
Definition at line 1571 of file tabsh.cxx.
References SfxRequest::Done(), SfxItemSet::Get(), SfxRequest::GetArgs(), SvxLineItem::GetLine(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), SvxColorItem::GetValue(), and SwFEShell::SetTabLineStyle().
void SwTableShell::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 482 of file tabsh.cxx.
References SwFEShell::AdjustCellWidth(), SfxRequest::AppendItem(), aUITableAttrRange, SwFEShell::BalanceRowHeight(), BorderCopy, BoxAttrAllCopy, BoxAttrCopy, SwEditShell::CanMergeTable(), SvxBoxItem::Clone(), SwTableFUNC::ColWidthDlg(), ContentCopy, SwBaseShell::CopyPaMRing(), SvxAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), Application::CreateMessageDialog(), SwAbstractDialogFactory::CreateNumFormatDialog(), SwAbstractDialogFactory::CreateSplitTableDialog(), SvxAbstractDialogFactory::CreateSvxInsRowColDlg(), SvxAbstractDialogFactory::CreateSvxSplitTableDialog(), SwAbstractDialogFactory::CreateSwAutoFormatDlg(), SwAbstractDialogFactory::CreateSwTableHeightDialog(), SwAbstractDialogFactory::CreateSwTableTabDlg(), SwAbstractDialogFactory::CreateTableMergeDialog(), SwFEShell::DeleteCol(), SvNumberFormatter::DeleteEntry(), SwFEShell::DeleteRow(), SwFEShell::DeleteTable(), SfxRequest::Done(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), EMPTY, SwCursorShell::EndAction(), SwWrtShell::EndSelect(), SwEditShell::EndUndo(), SwWrtShell::EnterStdMode(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), FixedWidthChangeAbs, FixedWidthChangeProp, FN_CALC_TABLE, FN_EDIT_FORMULA, FN_END_TABLE, FN_FORMAT_TABLE_DLG, FN_GOTO_NEXT_CELL, FN_GOTO_PREV_CELL, FN_INSERT_TABLE, FN_NUM_FORMAT_TABLE_DLG, FN_NUMBER_BULLETS, FN_PARAM_INSERT_AFTER, FN_START_TABLE, FN_TABLE_ADJUST_CELLS, FN_TABLE_AUTOSUM, FN_TABLE_BALANCE_CELLS, FN_TABLE_BALANCE_ROWS, FN_TABLE_DELETE_COL, FN_TABLE_DELETE_ROW, FN_TABLE_DELETE_TABLE, FN_TABLE_HEADLINE_REPEAT, FN_TABLE_INSERT_COL, FN_TABLE_INSERT_COL_AFTER, FN_TABLE_INSERT_COL_BEFORE, FN_TABLE_INSERT_COL_DLG, FN_TABLE_INSERT_ROW, FN_TABLE_INSERT_ROW_AFTER, FN_TABLE_INSERT_ROW_BEFORE, FN_TABLE_INSERT_ROW_DLG, FN_TABLE_MERGE_CELLS, FN_TABLE_MERGE_TABLE, FN_TABLE_MODE_FIX, FN_TABLE_MODE_FIX_PROP, FN_TABLE_MODE_VARIABLE, FN_TABLE_OPTIMAL_HEIGHT, FN_TABLE_ROW_SPLIT, FN_TABLE_SELECT_ALL, FN_TABLE_SELECT_CELL, FN_TABLE_SELECT_COL, FN_TABLE_SELECT_ROW, FN_TABLE_SET_COL_WIDTH, FN_TABLE_SET_READ_ONLY_CELLS, FN_TABLE_SET_ROW_HEIGHT, FN_TABLE_SPLIT_CELLS, FN_TABLE_SPLIT_TABLE, FN_TABLE_UNSET_READ_ONLY_CELLS, fnTableEnd, fnTableStart, Frame, SfxItemSet::Get(), GetActiveView(), SwFEShell::GetAnyCurRect(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SwFEShell::GetAutoSum(), SfxViewFrame::GetBindings(), SvxBoxItem::GetBottom(), SwFEShell::GetBoxBackground(), SfxSlot::GetCommand(), SwTableFUNC::GetCurColNum(), SwCursorShell::GetCursor(), SvxNumberInfoItem::GetDelFormats(), GetDfltMetric(), SfxViewFrame::GetDispatcher(), SvxBoxItem::GetDistance(), SwViewShell::GetDoc(), SvNumberFormatter::GetFormatIndex(), GetFrameWeld(), SvxBoxInfoItem::GetHori(), GetHtmlMode(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SvxBoxItem::GetLeft(), SwEditShell::GetNumberFormatter(), SvxNumberInfoItem::GetNumberFormatter(), SfxShell::GetPool(), SvxBoxItem::GetRight(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSelectionFromTop(), SwFEShell::GetRowSplit(), SwFEShell::GetRowsToRepeat(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), SfxInterface::GetSlot(), SfxShell::GetStaticInterface(), SwFEShell::GetTabBorders(), SwFEShell::GetTableAttr(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), SwCursorShell::GetTableCrs(), GetTableSel(), SvxBoxItem::GetTop(), CntInt32Item::GetValue(), CntUInt16Item::GetValue(), CntUInt32Item::GetValue(), SfxBoolItem::GetValue(), GetValue, SvxBoxInfoItem::GetVert(), SwBaseShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), GetWhich, SwCursorShell::GoNextCell(), SwCursorShell::GoPrevCell(), GotoCurrTable(), SwWrtShell::HasSelection(), i, if(), SfxRequest::Ignore(), SwTableFUNC::InitTabCols(), SwFEShell::InsertCol(), SwFEShell::InsertRow(), SwBaseShell::InsertTable(), SfxBindings::Invalidate(), SfxItemSet::InvalidateItem(), SwFEShell::IsAdjustCellWidthAllowed(), SfxRequest::IsAPI(), SwFEShell::IsInRepeatedHeadline(), SwWrtShell::IsSplitVerticalByDefault(), SwCursorShell::IsTableMode(), SwFEShell::IsTableVertical(), ItemSetToTableParam(), LANGUAGE_SYSTEM, lcl_SetAttr(), lcl_TabGetMaxLineWidth(), lcl_TableParamToItemSet(), SwFEShell::MergeTab(), SwEditShell::MergeTable(), MIN_BORDER_DIST, Minimum, MINLAY, SwCursorShell::MoveTable(), nCount, NF_TEXT, nId, SwPostItHelper::NONE, NONE, NoSelection, Ok, SwFEShell::ProtectCells(), SfxItemSet::Put(), RES_BACKGROUND(), RES_BOX(), RES_BOXATR_FORMAT(), RES_BOXATR_VALUE(), RES_HORI_ORIENT(), RES_KEEP(), RES_LR_SPACE(), RES_UL_SPACE(), SwWrtShell::ResetSelect(), RET_OK, SDRATTR_TABLE_BORDER_INNER(), SwWrtShell::SelectTableCell(), SwWrtShell::SelectTableCol(), SwWrtShell::SelectTableRow(), SwCursorShell::SelTableBox(), SwFEShell::SetBoxAlign(), SwTableFUNC::SetColWidth(), SwInputChild::SetFormula(), SfxRequest::SetReturnValue(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetRowsToRepeat(), SwCursorShell::SetSelection(), SwWrtShell::SetSplitVerticalByDefault(), SwFEShell::SetTabBorders(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwEditShell::SetTableChgMode(), SID_ATTR_TABLE_COLUMN_WIDTH, SID_ATTR_TABLE_ROW_HEIGHT, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwFEShell::SplitTab(), SwEditShell::SplitTable(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwWrtShell::SttSelect(), SW_MOD, SwResId(), TABLE_INSCOL, TABLE_INSROW, SwCursorShell::TableCursorToCursor(), TooComplex, SwFEShell::UnProtectCells(), SfxBindings::Update(), SwEditShell::UpdateTable(), Variable, VarWidthChangeAbs, SvxBorderLineWidth::VeryThin, SwRect::Width(), Point::X(), and Point::Y().
void SwTableShell::GetFrameBorderState | ( | SfxItemSet & | rSet | ) |
Definition at line 1561 of file tabsh.cxx.
References SfxShell::GetPool(), SwBaseShell::GetShell(), SwFEShell::GetTabBorders(), SfxItemSet::Put(), RES_BOX(), and rSet.
void SwTableShell::GetLineStyleState | ( | SfxItemSet & | rSet | ) |
Definition at line 1600 of file tabsh.cxx.
References SfxShell::GetPool(), SwBaseShell::GetShell(), SwFEShell::GetTabBorders(), SvxBoxItem::GetTop(), SfxItemSet::Put(), rBoxItem, RES_BOX(), rSet, and SvxLineItem::SetLine().
void SwTableShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 1305 of file tabsh.cxx.
References SwFEShell::BalanceRowHeight(), SwEditShell::CanMergeTable(), SwFEShell::CanUnProtectCells(), Col, SwCursorShell::CursorInsideInputField(), SfxItemSet::DisableItem(), SwIterator< TElementType, TSource, eMode >::First(), SfxWhichIter::FirstWhich(), FixedWidthChangeAbs, FixedWidthChangeProp, FN_INSERT_TABLE, FN_OPTIMIZE_TABLE, FN_TABLE_ADJUST_CELLS, FN_TABLE_BALANCE_CELLS, FN_TABLE_BALANCE_ROWS, FN_TABLE_DELETE_COL, FN_TABLE_DELETE_ROW, FN_TABLE_DELETE_TABLE, FN_TABLE_HEADLINE_REPEAT, FN_TABLE_INSERT_COL_AFTER, FN_TABLE_INSERT_COL_BEFORE, FN_TABLE_INSERT_ROW, FN_TABLE_INSERT_ROW_AFTER, FN_TABLE_INSERT_ROW_DLG, FN_TABLE_MERGE_CELLS, FN_TABLE_MERGE_TABLE, FN_TABLE_MODE_FIX, FN_TABLE_MODE_FIX_PROP, FN_TABLE_MODE_VARIABLE, FN_TABLE_OPTIMAL_HEIGHT, FN_TABLE_SELECT_CELL, FN_TABLE_SPLIT_TABLE, FN_TABLE_UNSET_READ_ONLY_CELLS, SwFEShell::GetBoxAlign(), SwTableFUNC::GetColWidth(), SwTableFUNC::GetCurColNum(), SwFormat::GetFrameDir(), SwFormat::GetKeep(), SwFormat::GetLayoutSplit(), SwFormat::GetLRSpace(), GetMetricText(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSelectionFromTop(), SwFEShell::GetRowSplit(), SwFEShell::GetRowsToRepeat(), SwBaseShell::GetShell(), SwEditShell::GetTableChgMode(), SwEditShell::GetTableFormat(), GetTableSel(), SwFormat::GetULSpace(), SfxBoolItem::GetValue(), SfxShell::GetViewShell(), SwFEShell::HasBoxSelection(), HasProtectedCells(), SwTableFUNC::InitTabCols(), SfxItemSet::InvalidateItem(), comphelper::LibreOfficeKit::isActive(), SwFEShell::IsAdjustCellWidthAllowed(), SwFEShell::IsInHeadline(), SwFEShell::IsInRepeatedHeadline(), SvtModuleOptions::IsMath(), SwCursorShell::IsTableComplexForChart(), SwCursorShell::IsTableMode(), lcl_BoxesInTrackedRows(), lcl_CursorInDeletedTable(), SfxViewShell::libreOfficeKitViewCallback(), SfxWhichIter::NextWhich(), SwPostItHelper::NONE, OUStringToOString(), SfxItemSet::Put(), RES_LR_SPACE(), RES_ROW_SPLIT(), RES_UL_SPACE(), Row, rSet, SfxImageItem::SetMirrored(), CntUInt32Item::SetValue(), SID_ATTR_TABLE_COLUMN_WIDTH, SID_ATTR_TABLE_ROW_HEIGHT, Variable, and VarWidthChangeAbs.
|
staticprivate |