summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-24 15:55:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-26 12:36:36 +0100
commitd6985964bc34572ef303e21ac53200bd3cebbc1d (patch)
tree3272914321f4e744c67e72570542e6377976d161
parente9275c08acc2f4f1c925f78b56a1089515cd9a37 (diff)
split out the custom index widget to simplify conversion to .ui
Change-Id: If909ff5e68d9212601d62fd917055cec0538e948
-rw-r--r--sw/inc/globals.hrc2
-rw-r--r--sw/source/ui/index/cnttab.hrc1
-rw-r--r--sw/source/ui/index/cnttab.src214
3 files changed, 109 insertions, 108 deletions
diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc
index 31e300b9859d..767b1fbc22c5 100644
--- a/sw/inc/globals.hrc
+++ b/sw/inc/globals.hrc
@@ -124,7 +124,7 @@
#define TP_OPTCAPTION_PAGE (RC_GLOBALS_BEGIN + 77)
#define DLG_SVXTEST_NUM_BULLET (RC_GLOBALS_BEGIN + 79)
-
+#define WIN_TOKEN (RC_GLOBALS_BEGIN + 89)
#define TP_TOX_SELECT (RC_GLOBALS_BEGIN + 90)
#define TP_TOX_ENTRY (RC_GLOBALS_BEGIN + 91)
#define TP_TOX_STYLES (RC_GLOBALS_BEGIN + 92)
diff --git a/sw/source/ui/index/cnttab.hrc b/sw/source/ui/index/cnttab.hrc
index 8ca4d610ae8b..a6938beee789 100644
--- a/sw/source/ui/index/cnttab.hrc
+++ b/sw/source/ui/index/cnttab.hrc
@@ -69,7 +69,6 @@
#define FT_TOKEN 32
#define CB_USE_DASH 33
#define FL_LEVEL 34
-#define WIN_TOKEN 35
#define PB_ENTRYNO 36
#define PB_ENTRY 37
#define PB_CHAPTERINFO 38
diff --git a/sw/source/ui/index/cnttab.src b/sw/source/ui/index/cnttab.src
index 7e8b1e678389..c552c21f2a0c 100644
--- a/sw/source/ui/index/cnttab.src
+++ b/sw/source/ui/index/cnttab.src
@@ -507,112 +507,6 @@ TabPage TP_TOX_ENTRY
Size = MAP_APPFONT ( 30, 8 ) ;
Text [ en-US ] = "~Structure";
};
- Window WIN_TOKEN
- {
- Pos = MAP_APPFONT ( 70, 15 ) ;
- Size = MAP_APPFONT ( 136, 14 ) ;
- ImageButton WIN_LEFT_SCROLL
- {
- HelpID = "sw:ImageButton:TP_TOX_ENTRY:WIN_LEFT_SCROLL";
- Pos = MAP_APPFONT ( 0, 0 ) ;
- Size = MAP_APPFONT ( 10, 12 ) ;
- Symbol = IMAGEBUTTON_ARROW_LEFT;
- DialogControl = FALSE;
- TabStop = FALSE;
- };
- Window WIN_CTRL_PARENT
- {
- Pos = MAP_APPFONT ( 11, 0 ) ;
- Size = MAP_APPFONT ( 114, 12 ) ;
- DialogControl = TRUE;
- };
- ImageButton WIN_RIGHT_SCROLL
- {
- HelpID = "sw:ImageButton:TP_TOX_ENTRY:WIN_RIGHT_SCROLL";
- Pos = MAP_APPFONT ( 126, 0 ) ;
- Size = MAP_APPFONT ( 10, 12 ) ;
- Symbol = IMAGEBUTTON_ARROW_RIGHT;
- DialogControl = FALSE;
- TabStop = FALSE;
- };
- String STR_TOKEN_ENTRY_NO
- {
- Text [ en-US ] = "E#";
- };
- String STR_TOKEN_ENTRY
- {
- Text [ en-US ] = "E";
- };
- String STR_TOKEN_TAB_STOP
- {
- Text [ en-US ] = "T";
- };
- String STR_TOKEN_TEXT
- {
- Text = "";
- //unused
- };
- String STR_TOKEN_PAGE_NUMS
- {
- Text [ en-US ] = "#";
- };
- String STR_TOKEN_CHAPTER_INFO
- {
- Text [ en-US ] = "CI";
- };
- String STR_TOKEN_LINK_START
- {
- Text [ en-US ] = "LS";
- };
- String STR_TOKEN_LINK_END
- {
- Text [ en-US ] = "LE";
- };
- String STR_TOKEN_AUTHORITY
- {
- Text [ en-US ] = "A";
- };
- String STR_TOKEN_HELP_ENTRY_NO
- {
- Text [ en-US ] = "Chapter number";
- };
- String STR_TOKEN_HELP_ENTRY
- {
- Text [ en-US ] = "Entry";
- };
- String STR_TOKEN_HELP_TAB_STOP
- {
- Text [ en-US ] = "Tab stop";
- };
- String STR_TOKEN_HELP_TEXT
- {
- Text [ en-US ] = "Text";
- };
- String STR_TOKEN_HELP_PAGE_NUMS
- {
- Text [ en-US ] = "Page number";
- };
- String STR_TOKEN_HELP_CHAPTER_INFO
- {
- Text [ en-US ] = "Chapter info";
- };
- String STR_TOKEN_HELP_LINK_START
- {
- Text [ en-US ] = "Hyperlink start";
- };
- String STR_TOKEN_HELP_LINK_END
- {
- Text [ en-US ] = "Hyperlink end";
- };
- String STR_TOKEN_HELP_AUTHORITY
- {
- Text [ en-US ] = "Bibliography entry: ";
- };
- String STR_CHARSTYLE
- {
- Text [ en-US ] = "Character Style: ";
- };
- };
PushButton PB_ALL_LEVELS
{
HelpID = "sw:PushButton:TP_TOX_ENTRY:PB_ALL_LEVELS";
@@ -1027,6 +921,114 @@ TabPage TP_TOX_ENTRY
Text [ en-US ] = "S";
};
};
+
+Window WIN_TOKEN
+{
+ Pos = MAP_APPFONT ( 70, 15 ) ;
+ Size = MAP_APPFONT ( 136, 14 ) ;
+ ImageButton WIN_LEFT_SCROLL
+ {
+ HelpID = "sw:ImageButton:TP_TOX_ENTRY:WIN_LEFT_SCROLL";
+ Pos = MAP_APPFONT ( 0, 0 ) ;
+ Size = MAP_APPFONT ( 10, 12 ) ;
+ Symbol = IMAGEBUTTON_ARROW_LEFT;
+ DialogControl = FALSE;
+ TabStop = FALSE;
+ };
+ Window WIN_CTRL_PARENT
+ {
+ Pos = MAP_APPFONT ( 11, 0 ) ;
+ Size = MAP_APPFONT ( 114, 12 ) ;
+ DialogControl = TRUE;
+ };
+ ImageButton WIN_RIGHT_SCROLL
+ {
+ HelpID = "sw:ImageButton:TP_TOX_ENTRY:WIN_RIGHT_SCROLL";
+ Pos = MAP_APPFONT ( 126, 0 ) ;
+ Size = MAP_APPFONT ( 10, 12 ) ;
+ Symbol = IMAGEBUTTON_ARROW_RIGHT;
+ DialogControl = FALSE;
+ TabStop = FALSE;
+ };
+ String STR_TOKEN_ENTRY_NO
+ {
+ Text [ en-US ] = "E#";
+ };
+ String STR_TOKEN_ENTRY
+ {
+ Text [ en-US ] = "E";
+ };
+ String STR_TOKEN_TAB_STOP
+ {
+ Text [ en-US ] = "T";
+ };
+ String STR_TOKEN_TEXT
+ {
+ Text = "";
+ //unused
+ };
+ String STR_TOKEN_PAGE_NUMS
+ {
+ Text [ en-US ] = "#";
+ };
+ String STR_TOKEN_CHAPTER_INFO
+ {
+ Text [ en-US ] = "CI";
+ };
+ String STR_TOKEN_LINK_START
+ {
+ Text [ en-US ] = "LS";
+ };
+ String STR_TOKEN_LINK_END
+ {
+ Text [ en-US ] = "LE";
+ };
+ String STR_TOKEN_AUTHORITY
+ {
+ Text [ en-US ] = "A";
+ };
+ String STR_TOKEN_HELP_ENTRY_NO
+ {
+ Text [ en-US ] = "Chapter number";
+ };
+ String STR_TOKEN_HELP_ENTRY
+ {
+ Text [ en-US ] = "Entry";
+ };
+ String STR_TOKEN_HELP_TAB_STOP
+ {
+ Text [ en-US ] = "Tab stop";
+ };
+ String STR_TOKEN_HELP_TEXT
+ {
+ Text [ en-US ] = "Text";
+ };
+ String STR_TOKEN_HELP_PAGE_NUMS
+ {
+ Text [ en-US ] = "Page number";
+ };
+ String STR_TOKEN_HELP_CHAPTER_INFO
+ {
+ Text [ en-US ] = "Chapter info";
+ };
+ String STR_TOKEN_HELP_LINK_START
+ {
+ Text [ en-US ] = "Hyperlink start";
+ };
+ String STR_TOKEN_HELP_LINK_END
+ {
+ Text [ en-US ] = "Hyperlink end";
+ };
+ String STR_TOKEN_HELP_AUTHORITY
+ {
+ Text [ en-US ] = "Bibliography entry: ";
+ };
+ String STR_CHARSTYLE
+ {
+ Text [ en-US ] = "Character Style: ";
+ };
+};
+
ModalDialog DLG_ADD_IDX_STYLES
{
HelpId = HID_DLG_ADD_IDX_STYLES;