summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-03-05 07:04:38 +0000
committerOliver Specht <os@openoffice.org>2002-03-05 07:04:38 +0000
commit5a83cf6e1e2168df96c615a0ba4afb4aa0013646 (patch)
tree007dc61dcb97d8f8b45ffe457d10150158b3adc7 /sw/source/ui
parentc8be147bafb4b27ac34f5db8ab36ca613d9cbce4 (diff)
#96966# label for token window inserted
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/inc/cnttab.hxx7
-rw-r--r--sw/source/ui/index/cnttab.cxx9
-rw-r--r--sw/source/ui/index/cnttab.hrc7
3 files changed, 11 insertions, 12 deletions
diff --git a/sw/source/ui/inc/cnttab.hxx b/sw/source/ui/inc/cnttab.hxx
index e1226f2d8742..22bfde73fd1d 100644
--- a/sw/source/ui/inc/cnttab.hxx
+++ b/sw/source/ui/inc/cnttab.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cnttab.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: os $ $Date: 2002-01-29 14:29:40 $
+ * last change: $Author: os $ $Date: 2002-03-05 08:04:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -439,6 +439,7 @@ class SwTOXEntryTabPage : public SfxTabPage
FixedText aLevelFT;
SwIdxTreeListBox aLevelLB;
+ FixedText aTokenFT;
SwTokenWindow aTokenWIN;
PushButton aAllLevelsPB;
@@ -459,8 +460,6 @@ class SwTOXEntryTabPage : public SfxTabPage
FixedText aChapterEntryFT;
ListBox aChapterEntryLB; // type of chapter info
-// FixedText aSortingFT;
-// ListBox aSortingLB;
FixedText aFillCharFT;
ComboBox aFillCharCB; // fill char for tab stop
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 899e35c9a0ea..01771fec7331 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cnttab.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: os $ $Date: 2002-01-29 14:29:40 $
+ * last change: $Author: os $ $Date: 2002-03-05 08:04:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2076,6 +2076,7 @@ SwTOXEntryTabPage::SwTOXEntryTabPage(Window* pParent, const SfxItemSet& rAttrSet
SfxTabPage(pParent, SW_RES(TP_TOX_ENTRY), rAttrSet),
aLevelLB(this, ResId(LB_LEVEL )),
aLevelFT(this, ResId(FT_LEVEL )),
+ aTokenFT(this, ResId(FT_TOKEN )),
aTokenWIN(this, ResId(WIN_TOKEN )),
aAllLevelsPB(this, ResId(PB_ALL_LEVELS )),
aEntryNoPB(this, ResId(PB_ENTRYNO )),
@@ -2132,7 +2133,6 @@ SwTOXEntryTabPage::SwTOXEntryTabPage(Window* pParent, const SfxItemSet& rAttrSet
FreeResource();
sLevelStr = aLevelFT.GetText();
-
aLevelLB.SetWindowBits( WB_HSCROLL );
aLevelLB.SetSpaceBetweenEntries(0);
aLevelLB.SetSelectionMode( SINGLE_SELECTION );
@@ -2405,6 +2405,7 @@ void SwTOXEntryTabPage::ActivatePage( const SfxItemSet& rSet)
lcl_ChgXPos(aAuthFieldsLB, nDiff);
lcl_ChgXPos(aAuthInsertPB, nDiff);
lcl_ChgXPos(aAuthRemovePB, nDiff);
+ lcl_ChgXPos(aTokenFT, nDiff);
lcl_ChgXPos(aTokenWIN, nDiff);
lcl_ChgWidth(aTokenWIN, -nDiff);
lcl_ChgXPos(aSortDocPosRB, nDiff);
@@ -2997,7 +2998,7 @@ SwTokenWindow::SwTokenWindow(SwTOXEntryTabPage* pParent, const ResId& rResId) :
pActiveCtrl(0),
sCharStyle(ResId(STR_CHARSTYLE))
{
- SetStyle(GetStyle()|WB_TABSTOP);
+ SetStyle(GetStyle()|WB_TABSTOP|WB_DIALOGCONTROL);
SetHelpId(HID_TOKEN_WINDOW);
for(sal_uInt16 i = 0; i < TOKEN_END; i++)
{
diff --git a/sw/source/ui/index/cnttab.hrc b/sw/source/ui/index/cnttab.hrc
index 4e9341e43ce1..826c3b8370d6 100644
--- a/sw/source/ui/index/cnttab.hrc
+++ b/sw/source/ui/index/cnttab.hrc
@@ -2,9 +2,9 @@
*
* $RCSfile: cnttab.hrc,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: os $ $Date: 2001-06-06 10:41:26 $
+ * last change: $Author: os $ $Date: 2002-03-05 08:04:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -145,8 +145,7 @@
#define MB_AUTOMARK 29
#define FL_IDXOPTIONS 30
-
-
+#define FT_TOKEN 32
#define CB_USE_DASH 33
#define FL_LEVEL 34
#define WIN_TOKEN 35