LibreOffice Module sw (master)  1
Classes | 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 <IDocumentRedlineAccess.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <uitool.hxx>
#include <cfgitems.hxx>
#include <poolfmt.hxx>
#include <uiitems.hxx>
#include <initui.hxx>
#include <printdata.hxx>
#include <modcfg.hxx>
#include <srcview.hxx>
#include <crstate.hxx>
#include <viewopt.hxx>
#include <globals.hrc>
#include <strings.hrc>
#include <swwrtshitem.hxx>
#include <unomid.h>
#include <editeng/fhgtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/svxenum.hxx>
#include <sal/macros.h>
#include <sfx2/dialoghelper.hxx>
#include <sfx2/request.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/slstitm.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 <svx/xtable.hxx>
#include <svx/dlgutil.hxx>
#include <svx/strarray.hxx>
#include <svx/svxids.hrc>
#include <vcl/event.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.

Classes

struct  CharAttr
 

Functions

static void lcl_SelectMetricLB (weld::ComboBox &rMetric, sal_uInt16 nSID, const SfxItemSet &rSet)
 
 IMPL_LINK (SwContentOptPage, VertRulerHdl, weld::ToggleButton &, rBox, void)
 
 IMPL_LINK_NOARG (SwAddPrinterTabPage, AutoClickHdl, weld::ToggleButton &, 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::Button &, 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_NOARG (SwCompareOptionsTabPage, ComparisonHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwCompareOptionsTabPage, IgnoreHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwTestTabPage, AutoClickHdl, weld::Button &, void)
 

Variables

static 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 ( SwContentOptPage  ,
VertRulerHdl  ,
weld::ToggleButton ,
rBox  ,
void   
)

Definition at line 274 of file optpage.cxx.

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

Definition at line 943 of file optpage.cxx.

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

Definition at line 969 of file optpage.cxx.

References SvtFontSizeBox::Fill(), and weld::ComboBox::get_active_text().

IMPL_LINK ( SwRedlineOptionsTabPage  ,
AttribHdl  ,
weld::ComboBox ,
rLB  ,
void   
)
IMPL_LINK ( SwRedlineOptionsTabPage  ,
ColorHdl  ,
ColorListBox ,
rListBox  ,
void   
)
IMPL_LINK_NOARG ( SwAddPrinterTabPage  ,
AutoClickHdl  ,
weld::ToggleButton ,
void   
)

Definition at line 444 of file optpage.cxx.

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

Definition at line 468 of file optpage.cxx.

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

Definition at line 1191 of file optpage.cxx.

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

Definition at line 1965 of file optpage.cxx.

IMPL_LINK_NOARG ( SwRedlineOptionsTabPage  ,
ChangedMaskColorPrevHdl  ,
ColorListBox ,
void   
)

Definition at line 1970 of file optpage.cxx.

IMPL_LINK_NOARG ( SwCompareOptionsTabPage  ,
ComparisonHdl  ,
weld::Button ,
void   
)

Definition at line 2137 of file optpage.cxx.

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

Definition at line 2145 of file optpage.cxx.

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

Definition at line 2237 of file optpage.cxx.

static void lcl_SelectMetricLB ( weld::ComboBox rMetric,
sal_uInt16  nSID,
const SfxItemSet rSet 
)
static
static void lcl_SetColl ( SwWrtShell pWrtShell,
sal_uInt16  nType,
SfxPrinter const *  pPrt,
const OUString &  rStyle,
sal_uInt16  nFontWhich 
)
static
static void lcl_SetColl ( SwWrtShell pWrtShell,
sal_uInt16  nType,
sal_Int32  nHeight,
sal_uInt16  nFontHeightWhich 
)
static

Variable Documentation

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

Definition at line 1417 of file optpage.cxx.

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

Definition at line 1413 of file optpage.cxx.

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

Definition at line 1409 of file optpage.cxx.

CharAttr const aRedlineAttr[]
static
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 }
}
WEIGHT_BOLD
STRIKEOUT_SINGLE
LINESTYLE_SINGLE
ITALIC_NORMAL
LINESTYLE_DOUBLE

Definition at line 1393 of file optpage.cxx.