LibreOffice Module sw (master) 1
Functions | Variables
optpage.cxx File Reference
#include <sal/config.h>
#include <utility>
#include <optpage.hxx>
#include <doc.hxx>
#include <hintids.hxx>
#include <cmdid.h>
#include <fmtcol.hxx>
#include <charatr.hxx>
#include <swtypes.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentSettingAccess.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <cfgitems.hxx>
#include <poolfmt.hxx>
#include <uiitems.hxx>
#include <printdata.hxx>
#include <modcfg.hxx>
#include <crstate.hxx>
#include <viewopt.hxx>
#include <globals.hrc>
#include <strings.hrc>
#include <swwrtshitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/svxenum.hxx>
#include <officecfg/Office/Common.hxx>
#include <sal/macros.h>
#include <sfx2/dialoghelper.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/ctloptions.hxx>
#include <svl/eitem.hxx>
#include <svl/cjkoptions.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/unitconv.hxx>
#include <sfx2/htmlmode.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <optload.hxx>
Include dependency graph for optpage.cxx:

Go to the source code of this file.

Functions

static void lcl_SelectMetricLB (weld::ComboBox &rMetric, TypedWhichId< SfxUInt16Item > nSID, const SfxItemSet &rSet)
 
 IMPL_LINK (SwContentOptPage, VertRulerHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK (SwContentOptPage, ShowOutlineContentVisibilityButtonHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK_NOARG (SwAddPrinterTabPage, AutoClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwAddPrinterTabPage, SelectHdl, weld::ComboBox &, void)
 
static void lcl_SetColl (SwWrtShell *pWrtShell, sal_uInt16 nType, SfxPrinter const *pPrt, const OUString &rStyle, sal_uInt16 nFontWhich)
 
static void lcl_SetColl (SwWrtShell *pWrtShell, sal_uInt16 nType, sal_Int32 nHeight, sal_uInt16 nFontHeightWhich)
 
 IMPL_LINK_NOARG (SwStdFontTabPage, StandardHdl, weld::Button &, void)
 
 IMPL_LINK (SwStdFontTabPage, ModifyHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK (SwStdFontTabPage, LoseFocusHdl, weld::Widget &, rControl, void)
 
 IMPL_LINK_NOARG (SwTableOptionsTabPage, CheckBoxHdl, weld::Toggleable &, void)
 
 IMPL_LINK (SwRedlineOptionsTabPage, AttribHdl, weld::ComboBox &, rLB, void)
 
 IMPL_LINK (SwRedlineOptionsTabPage, ColorHdl, ColorListBox &, rListBox, void)
 
 IMPL_LINK_NOARG (SwRedlineOptionsTabPage, ChangedMaskPrevHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SwRedlineOptionsTabPage, ChangedMaskColorPrevHdl, ColorListBox &, void)
 
 IMPL_LINK (SwCompareOptionsTabPage, ComparisonHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK_NOARG (SwCompareOptionsTabPage, IgnoreHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwTestTabPage, AutoClickHdl, weld::Toggleable &, void)
 

Variables

CharAttr const aRedlineAttr []
 
static sal_uInt16 aInsertAttrMap [] = { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 }
 
static sal_uInt16 aDeletedAttrMap [] = { 0, 1, 2, 5, 6, 7, 8, 9, 10 }
 
static sal_uInt16 aChangedAttrMap [] = { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 }
 

Function Documentation

◆ IMPL_LINK() [1/7]

IMPL_LINK ( SwCompareOptionsTabPage  ,
ComparisonHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

Definition at line 2086 of file optpage.cxx.

◆ IMPL_LINK() [2/7]

IMPL_LINK ( SwContentOptPage  ,
ShowOutlineContentVisibilityButtonHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 271 of file optpage.cxx.

◆ IMPL_LINK() [3/7]

IMPL_LINK ( SwContentOptPage  ,
VertRulerHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 266 of file optpage.cxx.

◆ IMPL_LINK() [4/7]

IMPL_LINK ( SwRedlineOptionsTabPage  ,
AttribHdl  ,
weld::ComboBox ,
rLB  ,
void   
)

◆ IMPL_LINK() [5/7]

IMPL_LINK ( SwRedlineOptionsTabPage  ,
ColorHdl  ,
ColorListBox ,
rListBox  ,
void   
)

◆ IMPL_LINK() [6/7]

IMPL_LINK ( SwStdFontTabPage  ,
LoseFocusHdl  ,
weld::Widget ,
rControl  ,
void   
)

Definition at line 943 of file optpage.cxx.

References FontSizeBox::Fill().

◆ IMPL_LINK() [7/7]

IMPL_LINK ( SwStdFontTabPage  ,
ModifyHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 917 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [1/8]

IMPL_LINK_NOARG ( SwAddPrinterTabPage  ,
AutoClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 438 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [2/8]

IMPL_LINK_NOARG ( SwAddPrinterTabPage  ,
SelectHdl  ,
weld::ComboBox ,
void   
)

Definition at line 462 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [3/8]

IMPL_LINK_NOARG ( SwCompareOptionsTabPage  ,
IgnoreHdl  ,
weld::Toggleable ,
void   
)

Definition at line 2097 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [4/8]

IMPL_LINK_NOARG ( SwRedlineOptionsTabPage  ,
ChangedMaskColorPrevHdl  ,
ColorListBox ,
void   
)

Definition at line 1921 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [5/8]

IMPL_LINK_NOARG ( SwRedlineOptionsTabPage  ,
ChangedMaskPrevHdl  ,
weld::ComboBox ,
void   
)

Definition at line 1916 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [6/8]

IMPL_LINK_NOARG ( SwStdFontTabPage  ,
StandardHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [7/8]

IMPL_LINK_NOARG ( SwTableOptionsTabPage  ,
CheckBoxHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1164 of file optpage.cxx.

◆ IMPL_LINK_NOARG() [8/8]

IMPL_LINK_NOARG ( SwTestTabPage  ,
AutoClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 2187 of file optpage.cxx.

◆ lcl_SelectMetricLB()

static void lcl_SelectMetricLB ( weld::ComboBox rMetric,
TypedWhichId< SfxUInt16Item nSID,
const SfxItemSet rSet 
)
static

◆ lcl_SetColl() [1/2]

static void lcl_SetColl ( SwWrtShell pWrtShell,
sal_uInt16  nType,
sal_Int32  nHeight,
sal_uInt16  nFontHeightWhich 
)
static

◆ lcl_SetColl() [2/2]

static void lcl_SetColl ( SwWrtShell pWrtShell,
sal_uInt16  nType,
SfxPrinter const *  pPrt,
const OUString &  rStyle,
sal_uInt16  nFontWhich 
)
static

Variable Documentation

◆ aChangedAttrMap

sal_uInt16 aChangedAttrMap[] = { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 }
static

Definition at line 1369 of file optpage.cxx.

Referenced by SwRedlineOptionsTabPage::Reset().

◆ aDeletedAttrMap

sal_uInt16 aDeletedAttrMap[] = { 0, 1, 2, 5, 6, 7, 8, 9, 10 }
static

Definition at line 1365 of file optpage.cxx.

Referenced by SwRedlineOptionsTabPage::Reset().

◆ aInsertAttrMap

sal_uInt16 aInsertAttrMap[] = { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 }
static

Definition at line 1361 of file optpage.cxx.

Referenced by SwRedlineOptionsTabPage::Reset().

◆ aRedlineAttr

CharAttr const aRedlineAttr[]
Initial value:
=
{
{ SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::NotMapped) },
{ SID_ATTR_CHAR_WEIGHT, WEIGHT_BOLD },
{ SID_ATTR_CHAR_POSTURE, ITALIC_NORMAL },
{ SID_ATTR_CHAR_UNDERLINE, LINESTYLE_SINGLE },
{ SID_ATTR_CHAR_UNDERLINE, LINESTYLE_DOUBLE },
{ SID_ATTR_CHAR_STRIKEOUT, STRIKEOUT_SINGLE },
{ SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::Uppercase) },
{ SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::Lowercase) },
{ SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::SmallCaps) },
{ SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::Capitalize) },
{ SID_ATTR_BRUSH, 0 }
}
LINESTYLE_SINGLE
LINESTYLE_DOUBLE
STRIKEOUT_SINGLE
ITALIC_NORMAL
WEIGHT_BOLD

Definition at line 1345 of file optpage.cxx.