LibreOffice Module svx (master) 1
|
#include <cstring>
#include <climits>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <vcl/fieldvalues.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <vcl/weldutils.hxx>
#include <svl/eitem.hxx>
#include <svl/rectitem.hxx>
#include <svl/hint.hxx>
#include <sfx2/dispatch.hxx>
#include <svx/strings.hrc>
#include <svx/svxids.hrc>
#include <svx/dialmgr.hxx>
#include <svx/ruler.hxx>
#include <svx/rulritem.hxx>
#include <editeng/editids.hrc>
#include <editeng/tstpitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/protitem.hxx>
#include <osl/diagnose.h>
#include <rtl/math.hxx>
#include <o3tl/string_view.hxx>
#include "rlrcitem.hxx"
#include <memory>
Go to the source code of this file.
Classes | |
struct | SvxRuler_Impl |
Macros | |
#define | CTRL_ITEM_COUNT 14 |
#define | GAP 10 |
#define | OBJECT_BORDER_COUNT 4 |
#define | TAB_GAP 1 |
#define | INDENT_GAP 2 |
#define | INDENT_FIRST_LINE 2 |
#define | INDENT_LEFT_MARGIN 3 |
#define | INDENT_RIGHT_MARGIN 4 |
#define | INDENT_COUNT 3 |
#define | NEG_FLAG |
#define | TAB_FLAG ( mxColumnItem && mxColumnItem->IsTable() ) |
Functions | |
static sal_uInt16 | ToSvTab_Impl (SvxTabAdjust eAdj) |
static SvxTabAdjust | ToAttrTab_Impl (sal_uInt16 eAdj) |
static void | ModifyTabs_Impl (sal_uInt16 nCount, RulerTab *pTabs, tools::Long lDiff) |
Variables | |
static RulerTabData | ruler_tab_svx |
constexpr tools::Long | glMinFrame = 5 |
const TranslateId | RID_SVXSTR_RULER_TAB [] |
#define CTRL_ITEM_COUNT 14 |
Definition at line 50 of file svxruler.cxx.
#define GAP 10 |
Definition at line 51 of file svxruler.cxx.
#define INDENT_COUNT 3 |
Definition at line 58 of file svxruler.cxx.
#define INDENT_FIRST_LINE 2 |
Definition at line 55 of file svxruler.cxx.
#define INDENT_GAP 2 |
Definition at line 54 of file svxruler.cxx.
#define INDENT_LEFT_MARGIN 3 |
Definition at line 56 of file svxruler.cxx.
#define INDENT_RIGHT_MARGIN 4 |
Definition at line 57 of file svxruler.cxx.
#define NEG_FLAG |
Definition at line 1282 of file svxruler.cxx.
#define OBJECT_BORDER_COUNT 4 |
Definition at line 52 of file svxruler.cxx.
#define TAB_FLAG ( mxColumnItem && mxColumnItem->IsTable() ) |
Definition at line 1284 of file svxruler.cxx.
#define TAB_GAP 1 |
Definition at line 53 of file svxruler.cxx.
|
static |
Definition at line 1303 of file svxruler.cxx.
References i, nCount, and RulerTab::nPos.
Referenced by SvxRuler::AdjustMargin1().
|
static |
Definition at line 992 of file svxruler.cxx.
References RULER_TAB_CENTER, RULER_TAB_DECIMAL, RULER_TAB_DEFAULT, RULER_TAB_LEFT, and RULER_TAB_RIGHT.
Referenced by SvxRuler::Click(), and SvxRuler::TabMenuSelect().
|
static |
Definition at line 978 of file svxruler.cxx.
References RULER_TAB_CENTER, RULER_TAB_DECIMAL, RULER_TAB_DEFAULT, RULER_TAB_LEFT, and RULER_TAB_RIGHT.
Referenced by SvxRuler::UpdateTabs().
|
constexpr |
Definition at line 157 of file svxruler.cxx.
Referenced by SvxRuler::CalcMinMax(), SvxRuler::CalcPropMaxRight(), and SvxRuler::DragBorders().
const TranslateId RID_SVXSTR_RULER_TAB[] |
Definition at line 3298 of file svxruler.cxx.
Referenced by SvxRuler::Command().
|
static |
Definition at line 100 of file svxruler.cxx.
Referenced by SvxRuler::Command(), and SvxRuler::SvxRuler().