diff options
author | Daniel Rentz <dr@openoffice.org> | 2001-05-23 16:54:32 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2001-05-23 16:54:32 +0000 |
commit | 9a076261aa2b597cfddd3372b36419d8a728e2bc (patch) | |
tree | 9ab3ea71d6966657b630f5c9bc8e0d69b4f015bf | |
parent | ca693666e3d18ce14bd67d0ada8c6b323fce48cf (diff) |
#86988# dialog redesign
-rw-r--r-- | sc/source/ui/dbgui/consdlg.cxx | 14 | ||||
-rw-r--r-- | sc/source/ui/dbgui/consdlg.hrc | 49 | ||||
-rw-r--r-- | sc/source/ui/dbgui/consdlg.src | 125 | ||||
-rw-r--r-- | sc/source/ui/inc/consdlg.hxx | 10 |
4 files changed, 114 insertions, 84 deletions
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx index efd3cf5d2d78..d66376b9b1c5 100644 --- a/sc/source/ui/dbgui/consdlg.cxx +++ b/sc/source/ui/dbgui/consdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: consdlg.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dr $ $Date: 2000-11-03 15:51:29 $ + * last change: $Author: dr $ $Date: 2001-05-23 17:53:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -151,10 +151,12 @@ ScConsolidateDlg::ScConsolidateDlg( SfxBindings* pB, SfxChildWindow* pCW, Window aEdDestArea ( this, ScResId( ED_DEST_AREA ) ), aRbDestArea ( this, ScResId( RB_DEST_AREA ), &aEdDestArea ), + aFlConsBy ( this, ScResId( FL_CONSBY ) ), aBtnByRow ( this, ScResId( BTN_BYROW ) ), aBtnByCol ( this, ScResId( BTN_BYCOL) ), - aGbConsBy ( this, ScResId( GB_CONSBY ) ), + aFlSep ( this, ScResId( FL_SEP ) ), + aFlOptions ( this, ScResId( FL_OPTIONS ) ), aBtnRefs ( this, ScResId( BTN_REFS ) ), aBtnOk ( this, ScResId( BTN_OK ) ), @@ -219,9 +221,11 @@ void ScConsolidateDlg::Init() aBtnAdd .SetClickHdl ( LINK( this, ScConsolidateDlg, ClickHdl ) ); aBtnRemove .SetClickHdl ( LINK( this, ScConsolidateDlg, ClickHdl ) ); - aBtnMore.AddWindow( &aGbConsBy ); + aBtnMore.AddWindow( &aFlConsBy ); aBtnMore.AddWindow( &aBtnByRow ); aBtnMore.AddWindow( &aBtnByCol ); + aBtnMore.AddWindow( &aFlSep ); + aBtnMore.AddWindow( &aFlOptions ); aBtnMore.AddWindow( &aBtnRefs ); aBtnAdd.Disable(); @@ -292,6 +296,8 @@ void ScConsolidateDlg::Init() aEdDataArea.SetText( EMPTY_STRING ); aEdDataArea.GrabFocus(); + aFlSep.SetStyle( aFlSep.GetStyle() | WB_VERT ); + //@BugID 54702 Enablen/Disablen nur noch in Basisklasse //SFX_APPWINDOW->Enable(); } diff --git a/sc/source/ui/dbgui/consdlg.hrc b/sc/source/ui/dbgui/consdlg.hrc index 2350cca5c975..bc0ef27d760a 100644 --- a/sc/source/ui/dbgui/consdlg.hrc +++ b/sc/source/ui/dbgui/consdlg.hrc @@ -2,9 +2,9 @@ * * $RCSfile: consdlg.hrc,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:54 $ + * last change: $Author: dr $ $Date: 2001-05-23 17:53:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,31 +62,34 @@ #include "sc.hrc" #define BTN_OK 1 -#define BTN_CANCEL 1 -#define BTN_HELP 1 -#define BTN_MORE 1 +#define BTN_CANCEL 2 +#define BTN_HELP 3 +#define BTN_MORE 4 -#define BTN_ADD 1 -#define BTN_REMOVE 2 +#define BTN_ADD 5 +#define BTN_REMOVE 6 -#define FT_FUNC 1 -#define LB_FUNC 1 +#define FT_FUNC 11 +#define LB_FUNC 12 -#define FT_CONSAREAS 2 -#define LB_CONSAREAS 2 +#define FT_CONSAREAS 21 +#define LB_CONSAREAS 22 -#define FT_DATA_AREA 3 -#define LB_DATA_AREA 3 -#define ED_DATA_AREA 3 -#define RB_DATA_AREA 3 +#define FT_DATA_AREA 31 +#define LB_DATA_AREA 32 +#define ED_DATA_AREA 33 +#define RB_DATA_AREA 34 -#define FT_DEST_AREA 4 -#define LB_DEST_AREA 4 -#define ED_DEST_AREA 4 -#define RB_DEST_AREA 4 +#define FT_DEST_AREA 41 +#define LB_DEST_AREA 42 +#define ED_DEST_AREA 43 +#define RB_DEST_AREA 44 -#define BTN_BYROW 1 -#define BTN_BYCOL 2 -#define BTN_REFS 3 -#define GB_CONSBY 1 +#define FL_CONSBY 50 +#define BTN_BYROW 51 +#define BTN_BYCOL 52 +#define FL_SEP 59 + +#define FL_OPTIONS 60 +#define BTN_REFS 61 diff --git a/sc/source/ui/dbgui/consdlg.src b/sc/source/ui/dbgui/consdlg.src index a63d8730535f..fcfdaf9f6b76 100644 --- a/sc/source/ui/dbgui/consdlg.src +++ b/sc/source/ui/dbgui/consdlg.src @@ -2,9 +2,9 @@ * * $RCSfile: consdlg.src,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: kz $ $Date: 2001-05-17 07:49:48 $ + * last change: $Author: dr $ $Date: 2001-05-23 17:53:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -85,8 +85,8 @@ ModelessDialog RID_SCDLG_CONSOLIDATE ListBox LB_FUNC { Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 15 ) ; - Size = MAP_APPFONT ( 209 , 90 ) ; + Pos = MAP_APPFONT ( 6 , 17 ) ; + Size = MAP_APPFONT ( 212 , 90 ) ; TabStop = TRUE ; DropDown = TRUE ; StringList = @@ -430,22 +430,22 @@ ModelessDialog RID_SCDLG_CONSOLIDATE Edit ED_DATA_AREA { Border = TRUE ; - Pos = MAP_APPFONT ( 111 , 106 ) ; - Size = MAP_APPFONT ( 90 , 12 ) ; + Pos = MAP_APPFONT ( 100 , 106 ) ; + Size = MAP_APPFONT ( 104 , 12 ) ; TabStop = TRUE ; }; Edit ED_DEST_AREA { Border = TRUE ; - Pos = MAP_APPFONT ( 111 , 136 ) ; - Size = MAP_APPFONT ( 90 , 12 ) ; + Pos = MAP_APPFONT ( 100 , 135 ) ; + Size = MAP_APPFONT ( 104 , 12 ) ; TabStop = TRUE ; }; ImageButton RB_DATA_AREA { QuickHelpText = "Verkleinern" ; QuickHelpText [ ENGLISH ] = "Shrink" ; - Pos = MAP_APPFONT ( 203 , 106 ) ; + Pos = MAP_APPFONT ( 206 , 106 ) ; Size = MAP_APPFONT ( 12 , 12 ) ; TabStop = TRUE ; QuickHelpText [ english_us ] = "Shrink" ; @@ -475,7 +475,7 @@ ModelessDialog RID_SCDLG_CONSOLIDATE { QuickHelpText = "Verkleinern" ; QuickHelpText [ ENGLISH ] = "Shrink" ; - Pos = MAP_APPFONT ( 203 , 136 ) ; + Pos = MAP_APPFONT ( 206 , 135 ) ; Size = MAP_APPFONT ( 12 , 12 ) ; TabStop = TRUE ; QuickHelpText [ english_us ] = "Shrink" ; @@ -505,15 +505,15 @@ ModelessDialog RID_SCDLG_CONSOLIDATE { Border = TRUE ; Pos = MAP_APPFONT ( 6 , 106 ) ; - Size = MAP_APPFONT ( 100 , 90 ) ; + Size = MAP_APPFONT ( 90 , 90 ) ; TabStop = TRUE ; DropDown = TRUE ; }; ListBox LB_DEST_AREA { Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 136 ) ; - Size = MAP_APPFONT ( 100 , 90 ) ; + Pos = MAP_APPFONT ( 6 , 135 ) ; + Size = MAP_APPFONT ( 90 , 90 ) ; TabStop = TRUE ; DropDown = TRUE ; }; @@ -521,14 +521,14 @@ ModelessDialog RID_SCDLG_CONSOLIDATE { SimpleMode = TRUE ; Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 45 ) ; - Size = MAP_APPFONT ( 209 , 43 ) ; + Pos = MAP_APPFONT ( 6 , 46 ) ; + Size = MAP_APPFONT ( 212 , 43 ) ; TabStop = TRUE ; }; FixedText FT_FUNC { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 86 , 10 ) ; + Pos = MAP_APPFONT ( 6 , 6 ) ; + Size = MAP_APPFONT ( 212 , 8 ) ; Text = "Be~rechnungsvorschrift" ; Text [ ENGLISH ] = "Fun~ction" ; Text [ norwegian ] = "Fu~nksjon" ; @@ -556,8 +556,8 @@ ModelessDialog RID_SCDLG_CONSOLIDATE }; FixedText FT_CONSAREAS { - Pos = MAP_APPFONT ( 6 , 33 ) ; - Size = MAP_APPFONT ( 91 , 10 ) ; + Pos = MAP_APPFONT ( 6 , 35 ) ; + Size = MAP_APPFONT ( 212 , 8 ) ; Text = "~Konsolidierungsbereiche" ; Text [ ENGLISH ] = "Consoli~dation areas" ; Text [ norwegian ] = "Konsoli~derings omrder" ; @@ -585,8 +585,8 @@ ModelessDialog RID_SCDLG_CONSOLIDATE }; FixedText FT_DATA_AREA { - Pos = MAP_APPFONT ( 6 , 94 ) ; - Size = MAP_APPFONT ( 82 , 10 ) ; + Pos = MAP_APPFONT ( 6 , 95 ) ; + Size = MAP_APPFONT ( 212 , 8 ) ; Text = "Quelldaten~bereich" ; Text [ ENGLISH ] = "~Source data area" ; Text [ norwegian ] = "~Kildedataomrder" ; @@ -615,7 +615,7 @@ ModelessDialog RID_SCDLG_CONSOLIDATE FixedText FT_DEST_AREA { Pos = MAP_APPFONT ( 6 , 124 ) ; - Size = MAP_APPFONT ( 120 , 10 ) ; + Size = MAP_APPFONT ( 212 , 8 ) ; Text = "Er~gebnis ausgeben ab" ; Text [ ENGLISH ] = "Result a~t" ; Text [ norwegian ] = "Resultat ~ved" ; @@ -643,8 +643,8 @@ ModelessDialog RID_SCDLG_CONSOLIDATE }; CheckBox BTN_BYROW { - Pos = MAP_APPFONT ( 14 , 165 ) ; - Size = MAP_APPFONT ( 80 , 10 ) ; + Pos = MAP_APPFONT ( 12 , 165 ) ; + Size = MAP_APPFONT ( 94 , 10 ) ; Text = "Ze~ilenbeschriftung" ; Text [ ENGLISH ] = "by ro~ws" ; Text [ norwegian ] = "etter ra~der" ; @@ -673,8 +673,8 @@ ModelessDialog RID_SCDLG_CONSOLIDATE }; CheckBox BTN_BYCOL { - Pos = MAP_APPFONT ( 14 , 178 ) ; - Size = MAP_APPFONT ( 74 , 10 ) ; + Pos = MAP_APPFONT ( 12 , 179 ) ; + Size = MAP_APPFONT ( 94 , 10 ) ; /* ### ACHTUNG: Neuer Text in Resource? S~paltenkpfen : S~paltenkpfen */ Text = "S~paltenkpfen" ; Text [ ENGLISH ] = "by colum~ns" ; @@ -702,10 +702,10 @@ ModelessDialog RID_SCDLG_CONSOLIDATE Text[ language_user1 ] = " "; Text[ catalan ] = "Ttulos de ~columnas"; }; - GroupBox GB_CONSBY + FixedLine FL_CONSBY { Pos = MAP_APPFONT ( 6 , 154 ) ; - Size = MAP_APPFONT ( 100 , 40 ) ; + Size = MAP_APPFONT ( 103 , 8 ) ; Text = "Konsolidieren nach" ; Text [ ENGLISH ] = "Consolidate by" ; Text [ norwegian ] = "Konsolidere ved " ; @@ -731,10 +731,44 @@ ModelessDialog RID_SCDLG_CONSOLIDATE Text[ language_user1 ] = " "; Text[ catalan ] = "Consolidar segn"; }; + FixedLine FL_SEP + { + Pos = MAP_APPFONT ( 112 , 165 ) ; + Size = MAP_APPFONT ( 1 , 24 ) ; + }; + FixedLine FL_OPTIONS + { + Hide = TRUE ; + Pos = MAP_APPFONT ( 115 , 154 ) ; + Size = MAP_APPFONT ( 103 , 8 ) ; + Text = "Optionen" ; + Text [ ENGLISH ] = "Options" ; + Text [ english_us ] = "Options" ; + Text [ portuguese_brazilian ] = "Optionen" ; + Text [ swedish ] = "Alternativ" ; + Text [ danish ] = "Indstillinger" ; + Text [ italian ] = "Opzioni" ; + Text [ spanish ] = "Opciones" ; + Text [ french ] = "Options" ; + Text [ dutch ] = "Opties" ; + Text [ portuguese ] = "Opes" ; + Text[ chinese_simplified ] = "ѡ"; + Text[ russian ] = ""; + Text[ polish ] = "Opcje"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "ﶵ"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "ɼ"; + Text[ turkish ] = "Seenekler"; + Text[ language_user1 ] = " "; + Text[ catalan ] = "Opciones"; + Text[ finnish ] = "Asetukset"; + }; CheckBox BTN_REFS { - Pos = MAP_APPFONT ( 111 , 157 ) ; - Size = MAP_APPFONT ( 104 , 10 ) ; + Pos = MAP_APPFONT ( 121 , 165 ) ; + Size = MAP_APPFONT ( 94 , 10 ) ; Text = "Mit Quelldaten ~verbinden" ; Text [ ENGLISH ] = "Re~ference source data" ; Text [ norwegian ] = "Re~feranse kildedata" ; @@ -763,49 +797,34 @@ ModelessDialog RID_SCDLG_CONSOLIDATE }; OKButton BTN_OK { - Pos = MAP_APPFONT ( 222 , 6 ) ; + Pos = MAP_APPFONT ( 224 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { - Pos = MAP_APPFONT ( 222 , 23 ) ; + Pos = MAP_APPFONT ( 224 , 23 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { - Pos = MAP_APPFONT ( 222 , 43 ) ; + Pos = MAP_APPFONT ( 224 , 43 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; MoreButton BTN_MORE { - Pos = MAP_APPFONT ( 223 , 135 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; - /* - Text = "~Zustze"; - Text[ ENGLISH ] = "~More"; - Text[norwegian] = "~Mer"; - Text[italian] = "~Altro"; - Text[portuguese_brazilian] = "~Mais"; - Text[portuguese] = "~Mais"; - Text[finnish] = "~Enemmn"; - Text[danish] = "~Flere"; - Text[french] = " S~uite"; - Text[swedish] = "~Fler"; - Text[dutch] = "~Overige"; - Text[spanish] = "~Ms"; - Text[english_us] = "~More"; - */ + Pos = MAP_APPFONT ( 224 , 134 ) ; + Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; MapUnit = MAP_APPFONT ; - Delta = 45 ; + Delta = 41 ; }; PushButton BTN_REMOVE { - Pos = MAP_APPFONT ( 223 , 74 ) ; + Pos = MAP_APPFONT ( 224 , 114 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; /* ### ACHTUNG: Neuer Text in Resource? ~Lschen : ~Lschen */ Text = "~Lschen" ; @@ -836,7 +855,7 @@ ModelessDialog RID_SCDLG_CONSOLIDATE }; PushButton BTN_ADD { - Pos = MAP_APPFONT ( 223 , 105 ) ; + Pos = MAP_APPFONT ( 224 , 96 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; /* ### ACHTUNG: Neuer Text in Resource? ~Hinzufgen : ~Hinzufgen */ Text = "Hinzu~fgen" ; diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx index 8408feac1fb1..e4a6b8beddb8 100644 --- a/sc/source/ui/inc/consdlg.hxx +++ b/sc/source/ui/inc/consdlg.hxx @@ -2,9 +2,9 @@ * * $RCSfile: consdlg.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:57 $ + * last change: $Author: dr $ $Date: 2001-05-23 17:54:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -125,18 +125,20 @@ private: ScRefEdit aEdDestArea; ScRefButton aRbDestArea; + FixedLine aFlConsBy; CheckBox aBtnByRow; CheckBox aBtnByCol; - GroupBox aGbConsBy; + FixedLine aFlSep; + FixedLine aFlOptions; CheckBox aBtnRefs; OKButton aBtnOk; CancelButton aBtnCancel; HelpButton aBtnHelp; - MoreButton aBtnMore; PushButton aBtnAdd; PushButton aBtnRemove; + MoreButton aBtnMore; String aStrUndefined; |