LibreOffice Module sw (master)  1
Macros | Functions | Variables
tabsh.cxx File Reference
#include <hintids.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 <fmtornt.hxx>
#include <fmtlsplt.hxx>
#include <fmtrowsplt.hxx>
#include <fmtfsize.hxx>
#include <swmodule.hxx>
#include <wrtsh.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 <strings.hrc>
#include <cmdid.h>
#include <unobaseclass.hxx>
#include <sfx2/msg.hxx>
#include <swslots.hxx>
#include <swabstdlg.hxx>
#include <memory>
Include dependency graph for tabsh.cxx:

Go to the source code of this file.

Macros

#define ShellClass_SwTableShell
 

Functions

const sal_uInt16 * SwuiGetUITableAttrRange ()
 
static void lcl_SetAttr (SwWrtShell &rSh, const SfxPoolItem &rItem)
 
static std::shared_ptr< SwTableReplcl_TableParamToItemSet (SfxItemSet &rSet, SwWrtShell &rSh)
 
void ItemSetToTableParam (const SfxItemSet &rSet, SwWrtShell &rSh)
 
static void lcl_TabGetMaxLineWidth (const SvxBorderLine *pBorderLine, SvxBorderLine &rBorderLine)
 

Variables

const sal_uInt16 aUITableAttrRange []
 

Macro Definition Documentation

#define ShellClass_SwTableShell

Definition at line 76 of file tabsh.cxx.

Function Documentation

void ItemSetToTableParam ( const SfxItemSet rSet,
SwWrtShell rSh 
)

Definition at line 270 of file tabsh.cxx.

References aDirection, SwCursorShell::ClearMark(), SfxPoolItem::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::GetItemState(), SwTableRep::GetLeftSpace(), SwTableRep::GetRightSpace(), SwFEShell::GetTabCols(), SwEditShell::GetTableFormat(), GetValue, 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(), 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 void lcl_SetAttr ( SwWrtShell rSh,
const SfxPoolItem rItem 
)
static
static void lcl_TabGetMaxLineWidth ( const SvxBorderLine *  pBorderLine,
SvxBorderLine &  rBorderLine 
)
static

Definition at line 439 of file tabsh.cxx.

Referenced by SwTableShell::Execute().

static std::shared_ptr<SwTableRep> lcl_TableParamToItemSet ( SfxItemSet rSet,
SwWrtShell rSh 
)
static

Definition at line 136 of file tabsh.cxx.

References 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(), 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(), SvxBoxInfoItem::SetDefDist(), SvxBoxInfoItem::SetDist(), SvxBoxInfoItem::SetMinDist(), SvxBoxInfoItem::SetTable(), SvxBoxInfoItem::SetValid(), SwEditShell::StartAllAction(), SwCursorShell::StartsWithTable(), Table, and Text.

Referenced by SwTableShell::Execute().

const sal_uInt16* SwuiGetUITableAttrRange ( )

Definition at line 124 of file tabsh.cxx.

References aUITableAttrRange.

Referenced by IMPL_LINK_NOARG().

Variable Documentation

const sal_uInt16 aUITableAttrRange[]
Initial value:
=
{
SID_RULER_BORDERS, SID_RULER_BORDERS,
SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_SHADOW,
SID_BACKGRND_DESTINATION, SID_BACKGRND_DESTINATION,
SID_HTML_MODE, SID_HTML_MODE,
SID_ATTR_BRUSH_ROW, SID_ATTR_BRUSH_TABLE,
0
}
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(120)
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(93)
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(110)
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(94)
#define FN_PARAM_TABLE_NAME
Definition: cmdid.h:775
constexpr TypedWhichId< SwFormatLayoutSplit > RES_LAYOUT_SPLIT(113)
#define FN_PARAM_TABLE_HEADLINE
Definition: cmdid.h:776
constexpr TypedWhichId< SwFormatRowSplit > RES_ROW_SPLIT(122)
constexpr TypedWhichId< SfxBoolItem > RES_COLLAPSING_BORDERS(124)
constexpr sal_uInt16 XATTR_FILL_FIRST(XATTRSET_LINE+1)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(105)
#define FN_TABLE_REP
Definition: cmdid.h:342
#define FN_TABLE_BOX_TEXTORIENTATION
Definition: cmdid.h:427
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(91)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(106)
constexpr sal_uInt16 XATTR_FILL_LAST(XATTR_FILLBACKGROUND)
#define FN_PARAM_TABLE_SPACE
Definition: cmdid.h:777
#define FN_TABLE_SET_VERT_ALIGN
Definition: cmdid.h:423
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(92)
constexpr TypedWhichId< SvxShadowItem > RES_SHADOW(107)

Definition at line 96 of file tabsh.cxx.

Referenced by SwTableShell::Execute(), and SwuiGetUITableAttrRange().