summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-02-07 14:17:04 +0000
committerOliver Specht <os@openoffice.org>2002-02-07 14:17:04 +0000
commitbccd9cdd59db7030c1cbe8245d1f8ee75618d864 (patch)
treef44018119f3cc60d2d5d6ee1b72550b526869ff8 /sw/source/ui/fmtui
parent001c700c5764b236b75b7ed5a6f3a3b45ae6f76b (diff)
#96678# TabPage Format/Page/Text Grid
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx15
-rw-r--r--sw/source/ui/fmtui/tmpdlg.src9
2 files changed, 19 insertions, 5 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index 11eb3651cc3b..756c79b0ac3e 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tmpdlg.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jp $ $Date: 2001-07-31 16:01:23 $
+ * last change: $Author: os $ $Date: 2002-02-07 15:15:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -146,7 +146,10 @@
#include <viewopt.hxx>
#endif
#ifndef _PGFNOTE_HXX
-#include <pgfnote.hxx> // der Dialog
+#include <pgfnote.hxx>
+#endif
+#ifndef _PGFGRID_HXX
+#include <pggrid.hxx>
#endif
#ifndef _TMPDLG_HXX
#include <tmpdlg.hxx> // der Dialog
@@ -382,6 +385,12 @@ SwTemplateDlg::SwTemplateDlg(Window* pParent,
AddTabPage(TP_FOOTNOTE_PAGE, String(SW_RES(STR_PAGE_FOOTNOTE)),
SwFootNotePage::Create,
SwFootNotePage::GetRanges );
+ AddTabPage(TP_TEXTGRID_PAGE, String(SW_RES(STR_PAGE_TEXTGRID)),
+ SwTextGridPage::Create,
+ SwTextGridPage::GetRanges );
+ SvtCJKOptions aCJKOptions;
+ if(!aCJKOptions.IsAsianTypographyEnabled())
+ RemoveTabPage(TP_TEXTGRID_PAGE);
}
diff --git a/sw/source/ui/fmtui/tmpdlg.src b/sw/source/ui/fmtui/tmpdlg.src
index 82bba21ef4e5..34faa9b72004 100644
--- a/sw/source/ui/fmtui/tmpdlg.src
+++ b/sw/source/ui/fmtui/tmpdlg.src
@@ -2,9 +2,9 @@
*
* $RCSfile: tmpdlg.src,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: rt $ $Date: 2001-11-16 23:07:39 $
+ * last change: $Author: os $ $Date: 2002-02-07 15:14:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -969,6 +969,11 @@ String STR_PAGE_FOOTER
Text[ language_user1 ] = " ";
Text[ catalan ] = "Pie de página";
};
+String STR_PAGE_TEXTGRID
+{
+ Text = "Textraster" ;
+ Text [ ENGLISH ] = "Text Grid" ;
+};
String STR_PAGE_COLUMN
{
Text = "Spalten" ;