diff options
author | Daniel Rentz <dr@openoffice.org> | 2002-07-19 13:25:53 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2002-07-19 13:25:53 +0000 |
commit | 814f1611d4c8503f977107f086346b2ca2f62596 (patch) | |
tree | 2f26afd4199ecf2daa7d91de498dc245e8c39fb4 /sc/source/ui/formdlg | |
parent | 1608c4e7f84189ff55bc938c78c6dcf2b88c6944 (diff) |
#101132# new images for FAP
Diffstat (limited to 'sc/source/ui/formdlg')
-rw-r--r-- | sc/source/ui/formdlg/formdlgs.hrc | 8 | ||||
-rw-r--r-- | sc/source/ui/formdlg/formdlgs.src | 80 | ||||
-rw-r--r-- | sc/source/ui/formdlg/structpg.cxx | 30 |
3 files changed, 91 insertions, 27 deletions
diff --git a/sc/source/ui/formdlg/formdlgs.hrc b/sc/source/ui/formdlg/formdlgs.hrc index ec54bd437760..512abe5e2ad1 100644 --- a/sc/source/ui/formdlg/formdlgs.hrc +++ b/sc/source/ui/formdlg/formdlgs.hrc @@ -2,9 +2,9 @@ * * $RCSfile: formdlgs.hrc,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: 2002-07-19 14:24:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -106,6 +106,10 @@ #define BMP_STR_OPEN 2 #define BMP_STR_END 3 #define BMP_STR_ERROR 4 +#define BMP_STR_CLOSE_H 11 +#define BMP_STR_OPEN_H 12 +#define BMP_STR_END_H 13 +#define BMP_STR_ERROR_H 14 // Texte #define STR_STRUCT_ERR1 1 diff --git a/sc/source/ui/formdlg/formdlgs.src b/sc/source/ui/formdlg/formdlgs.src index a9b9c75219db..b4e9da71bc8e 100644 --- a/sc/source/ui/formdlg/formdlgs.src +++ b/sc/source/ui/formdlg/formdlgs.src @@ -2,9 +2,9 @@ * * $RCSfile: formdlgs.src,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: vg $ $Date: 2002-05-21 09:27:27 $ + * last change: $Author: dr $ $Date: 2002-07-19 14:24:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -103,6 +103,7 @@ TabPage RID_SCTAB_FUNCTION QuickHelpText[ turkish ] = "Funktion bernehmen"; QuickHelpText[ catalan ] = "Aplicar funcin"; QuickHelpText[ finnish ] = "Kyt funktiota"; + QuickHelpText[ thai ] = "Apply Function"; }; ListBox LB_CATEGORY { @@ -504,6 +505,22 @@ TabPage RID_SCTAB_FUNCTION < "Text" ; Default ; > ; < "Complement" ; Default ; > ; }; + StringList [ thai ] = + { + < "ใช้ครั้งสุดท้าย" ; Default ; > ; + < "ทั้งหมด" ; Default ; > ; + < "ฐานข้อมูล" ; Default ; > ; + < "วันที่และเวลา" ; Default ; > ; + < "การเงิน" ; Default ; > ; + < "ข้อมูล" ; Default ; > ; + < "ตรรกะ" ; Default ; > ; + < "คณิตศาสตร์" ; Default ; > ; + < "แถวลำดับ" ; Default ; > ; + < "สถิติ" ; Default ; > ; + < "กระดาษคำนวณ" ; Default ; > ; + < "ข้อความ" ; Default ; > ; + < "เพิ่มใน" ; Default ; > ; + }; }; ListBox LB_FUNCTION { @@ -539,6 +556,7 @@ TabPage RID_SCTAB_FUNCTION Text[ korean ] = "범주(~C)"; Text[ turkish ] = "~Kategori"; Text[ catalan ] = "~Categoria"; + Text[ thai ] = "~ประเภท"; }; FixedText FT_FUNCTION { @@ -567,6 +585,7 @@ TabPage RID_SCTAB_FUNCTION Text[ korean ] = "함수(~F)"; Text[ turkish ] = "~Fonksiyon"; Text[ catalan ] = "~Funci"; + Text[ thai ] = "~ฟังก์ชั่น"; }; }; TabPage RID_SCTAB_STRUCT @@ -609,22 +628,47 @@ TabPage RID_SCTAB_STRUCT Text[ turkish ] = "~Yap"; Text[ catalan ] = "~Estructura"; Text[ finnish ] = "~Rakenne"; + Text[ thai ] = "โ~ครงสร้าง"; + }; + Image BMP_STR_CLOSE + { + ImageBitmap = Bitmap { File = "fapclose.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; + }; + Image BMP_STR_CLOSE_H + { + ImageBitmap = Bitmap { File = "fapclose_h.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; }; - Bitmap BMP_STR_CLOSE + Image BMP_STR_OPEN { - File = "dir-clos.bmp" ; + ImageBitmap = Bitmap { File = "fapopen.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; }; - Bitmap BMP_STR_OPEN + Image BMP_STR_OPEN_H { - File = "dir-open.bmp" ; + ImageBitmap = Bitmap { File = "fapopen_h.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; }; - Bitmap BMP_STR_END + Image BMP_STR_END { - File = "basobj2.bmp" ; + ImageBitmap = Bitmap { File = "fapok.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; }; - Bitmap BMP_STR_ERROR + Image BMP_STR_END_H { - File = "basbrk.bmp" ; + ImageBitmap = Bitmap { File = "fapok_h.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; + }; + Image BMP_STR_ERROR + { + ImageBitmap = Bitmap { File = "faperror.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; + }; + Image BMP_STR_ERROR_H + { + ImageBitmap = Bitmap { File = "faperror_h.bmp"; }; + MaskColor = SC_HC_MASKCOLOR; }; String STR_STRUCT_ERR1 { @@ -650,6 +694,7 @@ TabPage RID_SCTAB_STRUCT Text[ turkish ] = "=?"; Text[ catalan ] = "=?"; Text[ finnish ] = "=?"; + Text[ thai ] = "=?"; }; String STR_STRUCT_ERR2 { @@ -675,6 +720,7 @@ TabPage RID_SCTAB_STRUCT Text[ turkish ] = "Hata"; Text[ catalan ] = "Error"; Text[ finnish ] = "Virhe"; + Text[ thai ] = "ข้อผิดพลาด"; }; }; ModelessDialog RID_SCDLG_FORMULA @@ -717,6 +763,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ turkish ] = "Fonksiyon"; Text[ catalan ] = "Funcions"; Text[ finnish ] = "Toiminnot"; + Text[ thai ] = "ฟังก์ชั่น"; }; PageItem { @@ -743,6 +790,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ turkish ] = "Yap"; Text[ catalan ] = "Estructura"; Text[ finnish ] = "Rakenne"; + Text[ thai ] = "โครงสร้าง"; }; }; }; @@ -802,6 +850,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ turkish ] = "F~orml"; Text[ catalan ] = "Fr~mula"; Text[ finnish ] = "~Kaava"; + Text[ thai ] = "สู~ตร"; }; Control ED_FORMULA { @@ -838,6 +887,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ turkish ] = "Ara sonu"; Text[ catalan ] = "Resultat de la funci"; Text[ finnish ] = "Funktion tulos"; + Text[ thai ] = "ฟังก์ชั่นผลลัพธ์"; }; Window WND_RESULT { @@ -873,6 +923,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ korean ] = "결과"; Text[ turkish ] = "Sonu"; Text[ catalan ] = "Resultat"; + Text[ thai ] = "ผลลัพธ์"; }; Window WND_FORMULA_RESULT { @@ -909,6 +960,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ turkish ] = "Matri~s"; Text[ catalan ] = "Matriu"; Text[ finnish ] = "Matriisi"; + Text[ thai ] = "แถวลำดับ"; }; Edit ED_REF { @@ -943,6 +995,7 @@ ModelessDialog RID_SCDLG_FORMULA QuickHelpText[ turkish ] = "Vergrern"; QuickHelpText[ catalan ] = "Aumentar"; QuickHelpText[ finnish ] = "Suurenna"; + QuickHelpText[ thai ] = "Maximize"; }; // HelpButton BTN_HELP @@ -986,6 +1039,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ korean ] = "<< 뒤로(~B)"; Text[ turkish ] = "<< ~Geri"; Text[ catalan ] = "<< ~Enrere"; + Text[ thai ] = "<< ~กลับไป"; }; PushButton BTN_FORWARD { @@ -1000,7 +1054,7 @@ ModelessDialog RID_SCDLG_FORMULA Text [ portuguese ] = ">>~Seguinte" ; Text [ finnish ] = "~Seuraava >>" ; Text [ danish ] = "Nste >>" ; - Text [ french ] = ">> Suivant" ; + Text [ french ] = "Suivant >>" ; Text [ swedish ] = "~Nsta >>" ; Text [ dutch ] = "~Volgende >>" ; Text [ spanish ] = "~Siguiente >>" ; @@ -1015,6 +1069,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ korean ] = "다음(~N) >>"; Text[ turkish ] = "~leri >>"; Text[ catalan ] = "~Segent >>"; + Text[ thai ] = "~ถัดไป >>"; }; OKButton BTN_END { @@ -1049,6 +1104,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ korean ] = "자동 파일럿 기능"; Text[ turkish ] = "Fonksiyon oto pilotu"; Text[ catalan ] = "AutoPilot: Funcions"; + Text[ thai ] = "ฟังก์ชั่นนำร่องอัตโนมัติ"; }; String STR_TITLE2 { @@ -1075,7 +1131,7 @@ ModelessDialog RID_SCDLG_FORMULA Text[ korean ] = "자동 파일럿 기능 -"; Text[ turkish ] = "Fonksiyon oto pilotu -"; Text[ catalan ] = "AutoPilot: Funcions -"; + Text[ thai ] = "ฟังก์ชั่นนำร่องอัตโนมัติ -"; }; }; - diff --git a/sc/source/ui/formdlg/structpg.cxx b/sc/source/ui/formdlg/structpg.cxx index 9fd422215869..9b97e0778232 100644 --- a/sc/source/ui/formdlg/structpg.cxx +++ b/sc/source/ui/formdlg/structpg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: structpg.cxx,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: 2002-07-19 14:24:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -133,21 +133,25 @@ ScStructPage::ScStructPage(Window* pParent): // aFtStruct ( this, ScResId( FT_STRUCT ) ), aTlbStruct ( this, ScResId( TLB_STRUCT ) ), - aExpBmp ( ScResId( RID_BMP_EXPAND ) ), - aCollBmp ( ScResId( RID_BMP_COLLAPSE ) ), - aCloseBmp ( ScResId( BMP_STR_CLOSE ) ), - aOpenBmp ( ScResId( BMP_STR_OPEN ) ), - aEndBmp ( ScResId( BMP_STR_END ) ), - aErrorBmp ( ScResId( BMP_STR_ERROR ) ), + maImgEnd ( ScResId( BMP_STR_END ) ), + maImgError ( ScResId( BMP_STR_ERROR ) ), + maImgEndHC ( ScResId( BMP_STR_END_H ) ), + maImgErrorHC ( ScResId( BMP_STR_ERROR_H ) ), pSelectedToken ( NULL ) { - FreeResource(); aTlbStruct.SetWindowBits(WB_HASLINES|WB_CLIPCHILDREN| WB_HASBUTTONS|WB_HSCROLL|WB_NOINITIALSELECTION); + Bitmap aExpBmp( ScResId( RID_BMP_EXPAND ) ); + Bitmap aCollBmp( ScResId( RID_BMP_COLLAPSE ) ); aTlbStruct.SetNodeBitmaps( aExpBmp, aCollBmp ); - aTlbStruct.SetDefaultExpandedEntryBmp( aOpenBmp); - aTlbStruct.SetDefaultCollapsedEntryBmp( aCloseBmp); + aTlbStruct.SetDefaultExpandedEntryBmp( Image( ScResId( BMP_STR_OPEN ) ) ); + aTlbStruct.SetDefaultCollapsedEntryBmp( Image( ScResId( BMP_STR_CLOSE ) ) ); + aTlbStruct.SetDefaultExpandedEntryBmp( Image( ScResId( BMP_STR_OPEN_H ) ), BMP_COLOR_HIGHCONTRAST ); + aTlbStruct.SetDefaultCollapsedEntryBmp( Image( ScResId( BMP_STR_CLOSE_H ) ), BMP_COLOR_HIGHCONTRAST ); + + FreeResource(); + Font aFont=GetFont(); Size aSize=aFont.GetSize(); aSize.Height()-=2; @@ -193,12 +197,12 @@ SvLBoxEntry* ScStructPage::InsertEntry( const XubString& rText, SvLBoxEntry* pPa if(pParent!=NULL) aTlbStruct.Expand(pParent); break; case STRUCT_END: - pEntry=aTlbStruct.InsertEntry(rText,aEndBmp,aEndBmp, + pEntry=aTlbStruct.InsertEntry(rText,maImgEnd,maImgEnd, pParent,FALSE,nPos,pScToken); if(pParent!=NULL) aTlbStruct.Expand(pParent); break; case STRUCT_ERROR: - pEntry=aTlbStruct.InsertEntry(rText,aErrorBmp,aErrorBmp, + pEntry=aTlbStruct.InsertEntry(rText,maImgError,maImgError, pParent,FALSE,nPos,pScToken); if(pParent!=NULL) aTlbStruct.Expand(pParent); break; |