summaryrefslogtreecommitdiff
path: root/sc/source/ui/formdlg
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2002-07-19 13:25:53 +0000
committerDaniel Rentz <dr@openoffice.org>2002-07-19 13:25:53 +0000
commit43a6635c1dac40d6471b6baa0cb19c75b5274fe8 (patch)
treed2b8f2f490efffaaf0622b946347cca468790a30 /sc/source/ui/formdlg
parent1a32cf735e64b6281b965c15a1cf1a488b27e45d (diff)
#101132# new images for FAP
Diffstat (limited to 'sc/source/ui/formdlg')
-rw-r--r--sc/source/ui/formdlg/formdlgs.hrc8
-rw-r--r--sc/source/ui/formdlg/formdlgs.src80
-rw-r--r--sc/source/ui/formdlg/structpg.cxx30
3 files changed, 91 insertions, 27 deletions
diff --git a/sc/source/ui/formdlg/formdlgs.hrc b/sc/source/ui/formdlg/formdlgs.hrc
index 368ceef2f..5d6fe753a 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 d271bf0a8..ed1aa0b2c 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 función";
QuickHelpText[ finnish ] = "Käytä 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~ormül";
Text[ catalan ] = "Fór~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 ] = "Vergrößern";
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 ] = "Næste >>" ;
- Text [ french ] = ">> Suivant" ;
+ Text [ french ] = "Suivant >>" ;
Text [ swedish ] = "~Nästa >>" ;
Text [ dutch ] = "~Volgende >>" ;
Text [ spanish ] = "~Siguiente >>" ;
@@ -1015,6 +1069,7 @@ ModelessDialog RID_SCDLG_FORMULA
Text[ korean ] = "ë‹ĪėŒ(~N) >>";
Text[ turkish ] = "~Ýleri >>";
Text[ catalan ] = "~Següent >>";
+ 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 2868299b8..746e592c9 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;