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 <svx/rulritem.hxx>
#include <svl/srchitem.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/langitem.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 <svx/svxids.hrc>
#include <svl/zformat.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 <fmtornt.hxx>
#include <fmtclds.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 <usrpref.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 <app.hrc>
#include <strings.hrc>
#include <cmdid.h>
#include <globals.hrc>
#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

static const sal_uInt16 aUITableAttrRange []
 

Macro Definition Documentation

#define ShellClass_SwTableShell

Definition at line 81 of file tabsh.cxx.

Function Documentation

void ItemSetToTableParam ( const SfxItemSet rSet,
SwWrtShell rSh 
)

Definition at line 275 of file tabsh.cxx.

References ATT_VAR_SIZE, 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(), sw::sidebar::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, and TABLE_ATTR.

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 444 of file tabsh.cxx.

Referenced by SwTableShell::Execute().

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

Definition at line 141 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(), LEFT, MIN_BORDER_DIST, sw::sidebar::NONE, SwWrtShell::Pop(), SwCursorShell::Push(), SfxItemSet::Put(), RES_BACKGROUND, RES_FRAMEDIR, RIGHT, 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 129 of file tabsh.cxx.

References aUITableAttrRange.

Referenced by IMPL_LINK_NOARG().

Variable Documentation

const sal_uInt16 aUITableAttrRange[]
static
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
}
#define RES_SHADOW
Definition: hintids.hxx:212
#define RES_FRAMEDIR
Definition: hintids.hxx:225
#define FN_PARAM_TABLE_NAME
Definition: cmdid.h:753
#define FN_PARAM_TABLE_HEADLINE
Definition: cmdid.h:754
#define XATTR_FILL_LAST
#define XATTR_FILL_FIRST
#define RES_UL_SPACE
Definition: hintids.hxx:197
#define RES_ROW_SPLIT
Definition: hintids.hxx:227
#define RES_BACKGROUND
Definition: hintids.hxx:210
#define RES_LAYOUT_SPLIT
Definition: hintids.hxx:218
#define RES_LR_SPACE
Definition: hintids.hxx:196
#define FN_TABLE_REP
Definition: cmdid.h:326
#define RES_KEEP
Definition: hintids.hxx:215
#define FN_TABLE_BOX_TEXTORIENTATION
Definition: cmdid.h:411
#define RES_BOX
Definition: hintids.hxx:211
#define RES_COLLAPSING_BORDERS
Definition: hintids.hxx:229
#define FN_PARAM_TABLE_SPACE
Definition: cmdid.h:755
#define RES_PAGEDESC
Definition: hintids.hxx:198
#define RES_BREAK
Definition: hintids.hxx:199
#define FN_TABLE_SET_VERT_ALIGN
Definition: cmdid.h:407

Definition at line 101 of file tabsh.cxx.

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