summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/tabtempl.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-04-07 10:11:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-04-07 10:11:14 +0000
commit06175a6348c8b36ab28edff750dcea34a9a2e460 (patch)
treec98d159f731ab6b58031a48db8dfe9c0229b09ed /sd/source/ui/dlg/tabtempl.cxx
parentc121275ac5c3e8fdbeda0fbff83dbccf874863dc (diff)
INTEGRATION: CWS impress6ea1 (1.7.64); FILE MERGED
2004/03/29 14:57:45 cl 1.7.64.1: #112490# added tabpages for asian typography, tab and alignment to styles
Diffstat (limited to 'sd/source/ui/dlg/tabtempl.cxx')
-rw-r--r--sd/source/ui/dlg/tabtempl.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/tabtempl.cxx b/sd/source/ui/dlg/tabtempl.cxx
index ee536bbe79c9..a7481597c244 100644
--- a/sd/source/ui/dlg/tabtempl.cxx
+++ b/sd/source/ui/dlg/tabtempl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tabtempl.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2004-02-03 20:14:09 $
+ * last change: $Author: hr $ $Date: 2004-04-07 11:11:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,6 +77,9 @@
#ifndef _SVDMODEL_HXX
#include <svx/svdmodel.hxx>
#endif
+#ifndef _SVTOOLS_CJKOPTIONS_HXX
+#include <svtools/cjkoptions.hxx>
+#endif
#ifndef _EEITEMID_HXX //autogen
#include <svx/eeitemid.hxx>
@@ -184,6 +187,11 @@ SdTabTemplateDlg::SdTabTemplateDlg( Window* pParent,
SvxParaAlignTabPage::GetRanges );
AddTabPage( RID_SVXPAGE_TABULATOR, SvxTabulatorTabPage::Create,
SvxTabulatorTabPage::GetRanges );
+ SvtCJKOptions aCJKOptions;
+ if( aCJKOptions.IsAsianTypographyEnabled() )
+ AddTabPage( RID_SVXPAGE_PARA_ASIAN, SvxAsianTabPage::Create,0);
+ else
+ RemoveTabPage( RID_SVXPAGE_PARA_ASIAN );
nDlgType = 1;
nPageType = 0;