diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-11-27 07:51:30 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-11-27 07:51:30 +0000 |
commit | af57ff62e1fa35fb8ebb87a4f3afd0a7a7b979fc (patch) | |
tree | 2dc1fc731569a1bffa5dc0f47fd0a07ca7d912aa /sc/source/ui/miscdlgs/textdlgs.cxx | |
parent | b644c840c5eab04aad56012e9cce451489881f5d (diff) |
#80425# new character tab pages
Diffstat (limited to 'sc/source/ui/miscdlgs/textdlgs.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/textdlgs.cxx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sc/source/ui/miscdlgs/textdlgs.cxx b/sc/source/ui/miscdlgs/textdlgs.cxx index 2f1bbe604d9f..e01d72fb0600 100644 --- a/sc/source/ui/miscdlgs/textdlgs.cxx +++ b/sc/source/ui/miscdlgs/textdlgs.cxx @@ -2,9 +2,9 @@ * * $RCSfile: textdlgs.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:45:03 $ + * last change: $Author: nn $ $Date: 2000-11-27 08:49:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,8 +95,9 @@ ScCharDlg::ScCharDlg( Window* pParent, const SfxItemSet* pAttr, { FreeResource(); - AddTabPage( RID_SVXPAGE_CHAR_STD, SvxCharStdPage::Create, 0); - AddTabPage( RID_SVXPAGE_CHAR_EXT, SvxCharExtPage::Create, 0); + AddTabPage( RID_SVXPAGE_CHAR_NAME, SvxCharNamePage::Create, 0); + AddTabPage( RID_SVXPAGE_CHAR_EFFECTS, SvxCharEffectsPage::Create, 0); + AddTabPage( RID_SVXPAGE_CHAR_POSITION, SvxCharPositionPage::Create, 0); } // ----------------------------------------------------------------------- @@ -105,17 +106,17 @@ void __EXPORT ScCharDlg::PageCreated( USHORT nId, SfxTabPage &rPage ) { switch( nId ) { - case RID_SVXPAGE_CHAR_STD: + case RID_SVXPAGE_CHAR_NAME: { SvxFontListItem aItem(*( (const SvxFontListItem*) ( rDocShell.GetItem( SID_ATTR_CHAR_FONTLIST) ) ) ); - ( (SvxCharStdPage&) rPage ).SetFontList( aItem ); + ( (SvxCharNamePage&) rPage ).SetFontList( aItem ); } break; - case RID_SVXPAGE_CHAR_EXT: - ( (SvxCharExtPage&) rPage ).DisableControls( + case RID_SVXPAGE_CHAR_EFFECTS: + ( (SvxCharEffectsPage&) rPage ).DisableControls( DISABLE_CASEMAP); break; |