| 
    LibreOffice Module sw (master) 1
    
   | 
 
#include <hintids.hxx>#include <svl/imageitm.hxx>#include <svl/numformat.hxx>#include <svl/zforlist.hxx>#include <svl/stritem.hxx>#include <svl/whiter.hxx>#include <unotools/moduleoptions.hxx>#include <editeng/lrspitem.hxx>#include <editeng/ulspitem.hxx>#include <editeng/brushitem.hxx>#include <editeng/boxitem.hxx>#include <editeng/shaditem.hxx>#include <editeng/spltitem.hxx>#include <editeng/keepitem.hxx>#include <editeng/lineitem.hxx>#include <editeng/colritem.hxx>#include <editeng/frmdiritem.hxx>#include <svx/numinf.hxx>#include <svx/svddef.hxx>#include <svx/svxdlg.hxx>#include <sfx2/bindings.hxx>#include <vcl/weld.hxx>#include <sfx2/request.hxx>#include <sfx2/dispatch.hxx>#include <sfx2/objface.hxx>#include <sfx2/viewfrm.hxx>#include <vcl/EnumContext.hxx>#include <o3tl/enumrange.hxx>#include <comphelper/lok.hxx>#include <LibreOfficeKit/LibreOfficeKitEnums.h>#include <editeng/itemtype.hxx>#include <osl/diagnose.h>#include <fmtornt.hxx>#include <fmtlsplt.hxx>#include <fmtrowsplt.hxx>#include <fmtfsize.hxx>#include <swmodule.hxx>#include <wrtsh.hxx>#include <rootfrm.hxx>#include <wview.hxx>#include <frmatr.hxx>#include <uitool.hxx>#include <inputwin.hxx>#include <uiitems.hxx>#include <tabsh.hxx>#include <swtablerep.hxx>#include <tablemgr.hxx>#include <cellatr.hxx>#include <frmfmt.hxx>#include <swundo.hxx>#include <swtable.hxx>#include <docsh.hxx>#include <tblsel.hxx>#include <viewopt.hxx>#include <tabfrm.hxx>#include <strings.hrc>#include <cmdid.h>#include <unobaseclass.hxx>#include <sfx2/msg.hxx>#include <swslots.hxx>#include <swabstdlg.hxx>#include <memory>Go to the source code of this file.
Macros | |
| #define | ShellClass_SwTableShell | 
Functions | |
| const WhichRangesContainer & | SwuiGetUITableAttrRange () | 
| static void | lcl_SetAttr (SwWrtShell &rSh, const SfxPoolItem &rItem) | 
| static std::shared_ptr< SwTableRep > | lcl_TableParamToItemSet (SfxItemSet &rSet, SwWrtShell &rSh) | 
| void | ItemSetToTableParam (const SfxItemSet &rSet, SwWrtShell &rSh) | 
| static void | lcl_TabGetMaxLineWidth (const SvxBorderLine *pBorderLine, SvxBorderLine &rBorderLine) | 
| static bool | lcl_BoxesInTrackedRows (SwWrtShell &rSh, const SwSelBoxes &rBoxes) | 
| static bool | lcl_CursorInDeletedTable (SwWrtShell &rSh) | 
Variables | |
| const WhichRangesContainer | aUITableAttrRange (svl::Items< RES_LR_SPACE, RES_UL_SPACE, RES_PAGEDESC, RES_BREAK, RES_BACKGROUND, RES_BACKGROUND, RES_BOX, RES_SHADOW, RES_KEEP, RES_KEEP, RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT, RES_FRAMEDIR, RES_FRAMEDIR, RES_ROW_SPLIT, RES_ROW_SPLIT, RES_COLLAPSING_BORDERS, RES_COLLAPSING_BORDERS, XATTR_FILL_FIRST, XATTR_FILL_LAST, SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_SHADOW, SID_RULER_BORDERS, SID_RULER_BORDERS, SID_ATTR_BRUSH_ROW, SID_ATTR_BRUSH_TABLE, FN_TABLE_REP, FN_TABLE_REP, FN_TABLE_SET_VERT_ALIGN, FN_TABLE_SET_VERT_ALIGN, FN_TABLE_BOX_TEXTORIENTATION, FN_TABLE_BOX_TEXTORIENTATION, FN_PARAM_TABLE_NAME, FN_PARAM_TABLE_NAME, FN_PARAM_TABLE_HEADLINE, FN_PARAM_TABLE_HEADLINE >) | 
| void ItemSetToTableParam | ( | const SfxItemSet & | rSet, | 
| SwWrtShell & | rSh | ||
| ) | 
Definition at line 272 of file tabsh.cxx.
References aDirection, SwCursorShell::ClearMark(), SvxBrushItem::Clone(), SwCursorShell::DeleteCurrent, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SfxDispatcher::Execute(), SwTableRep::FillTabCols(), FN_PARAM_TABLE_HEADLINE, FN_PARAM_TABLE_NAME, FN_TABLE_BOX_TEXTORIENTATION, FN_TABLE_REP, FN_TABLE_SELECT_ALL, FN_TABLE_SET_VERT_ALIGN, SwTableRep::GetAlign(), SwViewShell::GetAttrPool(), SfxViewFrame::GetDispatcher(), SwFormat::GetHoriOrient(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwTableRep::GetLeftSpace(), SwTableRep::GetRightSpace(), SwFEShell::GetTabCols(), SwEditShell::GetTableFormat(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwTableRep::GetWidth(), SwTableRep::GetWidthPercent(), SwTableRep::HasColsChanged(), SwCursorShell::IsTableMode(), SwPostItHelper::NONE, SwWrtShell::Pop(), SwCursorShell::Push(), RES_BACKGROUND(), RES_BOX(), RES_BREAK(), RES_COLLAPSING_BORDERS(), RES_FRAMEDIR(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_KEEP(), RES_LAYOUT_SPLIT(), RES_LR_SPACE(), RES_PAGEDESC(), RES_ROW_SPLIT(), RES_SHADOW(), RES_UL_SPACE(), rSet, SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SwFormatHoriOrient::SetHoriOrient(), SvxLRSpaceItem::SetLeft(), SvxLRSpaceItem::SetRight(), SwFEShell::SetRowBackground(), SwFEShell::SetRowSplit(), SwFEShell::SetRowsToRepeat(), SwFEShell::SetTabBackground(), SwFEShell::SetTabBorders(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwViewOption::SetTableDest(), SwEditShell::SetTableName(), SwFormatFrameSize::SetWidthPercent(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SW_MOD, TABLE_ATTR, and Variable.
Referenced by SwTableShell::Execute(), and SwInsertDBColAutoPilot::SetTabSet().
      
  | 
  static | 
Definition at line 449 of file tabsh.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwCursorShell::GetCursor(), SwPaM::GetPointNode(), SwNode::GetTableBox(), SwTableBox::GetUpper(), i, SwTableLine::IsTracked(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwTableShell::GetState().
      
  | 
  static | 
Definition at line 472 of file tabsh.cxx.
References SwNode::FindTableNode(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwTable::IsDeleted(), and SwRootFrame::IsHideRedlines().
Referenced by SwTableShell::GetState().
      
  | 
  static | 
Definition at line 131 of file tabsh.cxx.
References SfxShell::GetPool(), SwWrtShell::GetView(), SfxItemSet::Put(), SwFEShell::SetTableAttr(), and SfxPoolItem::Which().
Referenced by SwTableShell::Execute().
      
  | 
  static | 
Definition at line 440 of file tabsh.cxx.
Referenced by SwTableShell::Execute().
      
  | 
  static | 
Definition at line 138 of file tabsh.cxx.
References abs(), SwCursorShell::ClearMark(), SwCursorShell::DeleteCurrent, SwEditShell::EndAllAction(), SfxDispatcher::Execute(), SwCursorShell::ExtendedSelectedAll(), FN_PARAM_TABLE_HEADLINE, FN_PARAM_TABLE_NAME, FN_TABLE_BOX_TEXTORIENTATION, FN_TABLE_REP, FN_TABLE_SELECT_ALL, FN_TABLE_SET_VERT_ALIGN, SwFEShell::GetBoxAlign(), SwFEShell::GetBoxDirection(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorCnt(), SfxViewFrame::GetDispatcher(), SwFormat::GetFrameDir(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SvxLRSpaceItem::GetLeft(), SwFormat::GetLRSpace(), SwFormat::GetName(), SvxLRSpaceItem::GetRight(), SwTabCols::GetRightMax(), SwFEShell::GetRowBackground(), SwFEShell::GetRowSplit(), SwFEShell::GetRowsToRepeat(), SwWrtShell::GetSelectionType(), SwFormat::GetShadow(), SwFEShell::GetTabBackground(), SwFEShell::GetTabBorders(), SwFEShell::GetTabCols(), SwViewOption::GetTableDest(), SwEditShell::GetTableFormat(), GetTableWidth(), SwFormat::GetULSpace(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwFEShell::HasWholeTabSelection(), SfxItemSet::InvalidateItem(), SwCursorShell::IsTableMode(), MIN_BORDER_DIST, SwPostItHelper::NONE, SwWrtShell::Pop(), SwCursorShell::Push(), SfxItemSet::Put(), RES_BACKGROUND(), RES_FRAMEDIR(), rSet, SvxBoxInfoItem::SetDefDist(), SvxBoxInfoItem::SetDist(), SvxBoxInfoItem::SetMinDist(), SvxBoxInfoItem::SetTable(), SvxBoxInfoItem::SetValid(), SwEditShell::StartAllAction(), SwCursorShell::StartsWith_(), SwCursorShell::Table, Table, and Text.
Referenced by SwTableShell::Execute().
| const WhichRangesContainer & SwuiGetUITableAttrRange | ( | ) | 
Definition at line 126 of file tabsh.cxx.
References aUITableAttrRange.
Referenced by IMPL_LINK_NOARG().
Referenced by SwTableShell::Execute(), and SwuiGetUITableAttrRange().