Kaydet (Commit) 56152a8f authored tarafından Pavel Kacer's avatar Pavel Kacer Kaydeden (comit) Caolán McNamara

Converted Tools->Options->(Web/)Writer->View dialogue.

Change-Id: Ifa11da48867303dbecd2ef104f2c0842aaeb5d72
Reviewed-on: https://gerrit.libreoffice.org/3325Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst acc671ec
......@@ -100,6 +100,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/tabletextflowpage \
sw/uiconfig/swriter/ui/textgridpage \
sw/uiconfig/swriter/ui/titlepage \
sw/uiconfig/swriter/ui/viewoptionspage \
sw/uiconfig/swriter/ui/wordcount \
))
......
......@@ -24,170 +24,6 @@
#include "optdlg.hrc"
#include "helpid.h"
/**************************************************************************/
/* */
/* TabPage View/Content */
/* */
/**************************************************************************/
TabPage TP_CONTENT_OPT
{
HelpID = HID_CONTENT_OPT ;
SVLook = TRUE ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_LINE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 118 , 8 ) ;
Group = TRUE ;
Text [ en-US ] = "Guides";
};
CheckBox CB_CROSS
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_CROSS";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "Helplines ~While Moving";
};
FixedLine FL_WINDOW
{
Pos = MAP_APPFONT ( 130 , 3 ) ;
Size = MAP_APPFONT ( 124 , 8 ) ;
Group = TRUE ;
Text [ en-US ] = "View";
};
CheckBox CB_HSCROLL
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_HSCROLL";
Pos = MAP_APPFONT ( 136 , 14 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "H~orizontal scrollbar" ;
};
CheckBox CB_VSCROLL
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_VSCROLL";
Pos = MAP_APPFONT ( 136 , 27 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "~Vertical scrollbar" ;
};
CheckBox CB_ANY_RULER
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_ANY_RULER";
Pos = MAP_APPFONT ( 136 , 40 ) ;
Size = MAP_APPFONT ( 65 , 10 ) ;
Text [ en-US ] = "R~uler" ;
};
CheckBox CB_HRULER
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_HRULER";
Pos = MAP_APPFONT ( 142 , 53 ) ;
Size = MAP_APPFONT ( 62 , 10 ) ;
Text [ en-US ] = "Hori~zontal ruler" ;
};
ListBox LB_HMETRIC
{
HelpID = "sw:ListBox:TP_CONTENT_OPT:LB_HMETRIC";
Pos = MAP_APPFONT ( 206 , 51 ) ;
Size = MAP_APPFONT ( 45 , 60 ) ;
DropDown = TRUE;
};
CheckBox CB_VRULER
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_VRULER";
Pos = MAP_APPFONT ( 142 , 66 ) ;
Size = MAP_APPFONT ( 62 , 10 ) ;
Text [ en-US ] = "Verti~cal ruler" ;
};
CheckBox CB_VRULER_RIGHT
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_VRULER_RIGHT";
Pos = MAP_APPFONT ( 148 , 79 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text [ en-US ] = "Right-aligned";
};
ListBox LB_VMETRIC
{
HelpID = "sw:ListBox:TP_CONTENT_OPT:LB_VMETRIC";
Pos = MAP_APPFONT ( 206 , 64 ) ;
Size = MAP_APPFONT ( 45 , 60 ) ;
DropDown = TRUE;
};
CheckBox CB_SMOOTH_SCROLL
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_SMOOTH_SCROLL";
Pos = MAP_APPFONT ( 136 , 79 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "S~mooth scroll" ;
};
FixedLine FL_DISP
{
Pos = MAP_APPFONT ( 6 , 30 ) ;
Size = MAP_APPFONT ( 118 , 8 ) ;
Text [ en-US ] = "Display" ;
Group = TRUE ;
};
CheckBox CB_GRF
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_GRF";
Pos = MAP_APPFONT ( 12 , 41 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "~Graphics and objects" ;
TabStop = TRUE ;
Group = TRUE ;
};
CheckBox CB_TBL
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_TBL";
Pos = MAP_APPFONT ( 12 , 54 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "~Tables " ;
};
CheckBox CB_DRWFAST
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_DRWFAST";
Pos = MAP_APPFONT ( 12 , 67 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "Dra~wings and controls" ;
};
CheckBox CB_FIELD
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_FIELD";
Pos = MAP_APPFONT ( 12 , 80 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "~Field codes" ;
};
CheckBox CB_POSTIT
{
HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_POSTIT";
Pos = MAP_APPFONT ( 12 , 93 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
Text [ en-US ] = "~Comments" ;
};
FixedLine FL_SETTINGS
{
Pos = MAP_APPFONT ( 130 , 122 ) ;
Size = MAP_APPFONT ( 124 , 8 ) ;
Text [ en-US ] = "Settings";
Hide = TRUE;
};
FixedText FT_METRIC
{
Pos = MAP_APPFONT ( 136 , 135 ) ;
Size = MAP_APPFONT ( 60 , 8 ) ;
Text [ en-US ] = "Measurement unit";
Hide = TRUE;
};
ListBox LB_METRIC
{
HelpID = "sw:ListBox:TP_CONTENT_OPT:LB_METRIC";
Pos = MAP_APPFONT ( 199, 133 ) ;
Size = MAP_APPFONT ( 50 , 50 ) ;
Border = TRUE ;
DropDown = TRUE ;
Hide = TRUE;
};
};
TabPage TP_STD_FONT
{
HelpID = HID_STD_FONT ;
......
This diff is collapsed.
......@@ -37,35 +37,34 @@ class SwStdFontConfig;
class SwWrtShell;
class FontList;
/*--------------------------------------------------------
Tools->Options->Writer->View
Tools->Options->Writer/Web->View
--------------------------------------------------------- */
class SwContentOptPage : public SfxTabPage
{
//visual aids
FixedLine aLineFL;
CheckBox aCrossCB;
//view
FixedLine aWindowFL;
CheckBox aHScrollBox;
CheckBox aVScrollBox;
CheckBox aAnyRulerCB;
CheckBox aHRulerCBox;
ListBox aHMetric;
CheckBox aVRulerCBox;
CheckBox aVRulerRightCBox;
ListBox aVMetric;
CheckBox aSmoothCBox;
//display
FixedLine aDispFL;
CheckBox aGrfCB;
CheckBox aTblCB;
CheckBox aDrwCB;
CheckBox aFldNameCB;
CheckBox aPostItCB;
CheckBox* m_pCrossCB;
CheckBox* m_pHScrollBox;
CheckBox* m_pVScrollBox;
CheckBox* m_pAnyRulerCB;
CheckBox* m_pHRulerCBox;
ListBox* m_pHMetric;
CheckBox* m_pVRulerCBox;
CheckBox* m_pVRulerRightCBox;
ListBox* m_pVMetric;
CheckBox* m_pSmoothCBox;
FixedLine aSettingsFL;
FixedText aMetricFT;
ListBox aMetricLB;
CheckBox* m_pGrfCB;
CheckBox* m_pTblCB;
CheckBox* m_pDrwCB;
CheckBox* m_pFldNameCB;
CheckBox* m_pPostItCB;
VclFrame* m_pSettingsFrame;
FixedText* m_pSettingsLabel;
FixedText* m_pMetricLabel;
ListBox* m_pMetricLB;
DECL_LINK(VertRulerHdl, CheckBox*);
DECL_LINK(AnyRulerHdl, CheckBox*);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment