summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2002-07-17 13:05:20 +0000
committergt <gt@openoffice.org>2002-07-17 13:05:20 +0000
commit5192883db31e2e83b0a11c268acf8e5cc38fca0d (patch)
tree561a9dd283992df3132d4d06bcf760dba2d8dae9 /sfx2/source
parentd3109f2102a4f071f32e47e9fa155a67d3d32d9f (diff)
#68015# redesign of docinfo/internet tabpage
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx313
-rw-r--r--sfx2/source/dialog/dinfdlg.hrc22
-rw-r--r--sfx2/source/dialog/dinfdlg.src243
3 files changed, 379 insertions, 199 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 766b3e3ee6..27823b3af6 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dinfdlg.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: mba $ $Date: 2002-06-14 07:36:08 $
+ * last change: $Author: gt $ $Date: 2002-07-17 14:05:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,9 @@
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
+#ifndef _FILEDLGHELPER_HXX
+#include <sfx2/filedlghelper.hxx>
+#endif
#ifndef _UNOTOOLS_LOCALEDATAWRAPPER_HXX
#include <unotools/localedatawrapper.hxx>
@@ -82,6 +85,8 @@
#include <svtools/useroptions.hxx>
#include <svtools/imagemgr.hxx>
+#include <stl/memory>
+
#pragma hdrstop
#include "dinfdlg.hxx"
@@ -791,104 +796,233 @@ SfxInternetPage::SfxInternetPage( Window* pParent, const SfxItemSet& rItemSet )
SfxTabPage( pParent, SfxResId( TP_DOCINFORELOAD ), rItemSet ),
- aReloadEnabled ( this, ResId( CB_AUTORELOAD ) ),
- aFTSeconds ( this, ResId( FT_SECONDS ) ),
- aReloadDelay ( this, ResId( ED_SECONDS ) ),
- aFTURL ( this, ResId( FT_URL ) ),
- aReloadURL ( this, ResId( ED_URL ) ),
- aFTTarget ( this, ResId( FT_DEFAULT ) ),
- aTargets ( this, ResId( LB_DEFAULT ) ),
-
+ aRBNoAutoUpdate ( this, ResId( RB_NOAUTOUPDATE ) ),
+
+ aRBReloadUpdate ( this, ResId( RB_RELOADUPDATE ) ),
+ aFTEvery ( this, ResId( FT_EVERY ) ),
+ aNFReload ( this, ResId( ED_RELOAD ) ),
+ aFTReloadSeconds ( this, ResId( FT_RELOADSECS ) ),
+
+ aRBForwardUpdate ( this, ResId( RB_FORWARDUPDATE ) ),
+ aFTAfter ( this, ResId( FT_AFTER ) ),
+ aNFAfter ( this, ResId( ED_FORWARD ) ),
+ aFTAfterSeconds ( this, ResId( FT_FORWARDSECS ) ),
+ aFTURL ( this, ResId( FT_URL ) ),
+ aEDForwardURL ( this, ResId( ED_URL ) ),
+ aPBBrowseURL ( this, ResId( PB_BROWSEURL ) ),
+ aFTFrame ( this, ResId( FT_FRAME ) ),
+ aCBFrame ( this, ResId( CB_FRAME ) ),
+
+ aForwardErrorMessg ( ResId( STR_FORWARD_ERRMSSG ) ),
+ eState( S_Init ),
pInfoItem( NULL )
{
FreeResource();
- pInfoItem = &(SfxDocumentInfoItem &)rItemSet.Get(SID_DOCINFO);
- SfxDocumentInfo& rInfo = (*pInfoItem)();
- TargetList aList;
- SfxViewFrame* pFrame = SfxViewFrame::Current();
- if( pFrame && ( pFrame = pFrame->GetTopViewFrame() ))
+ pInfoItem = &( SfxDocumentInfoItem& ) rItemSet.Get( SID_DOCINFO );
+// SfxDocumentInfo& rInfo = pInfoItem->GetDocInfo();
+ TargetList aList;
+ SfxViewFrame* pFrame = SfxViewFrame::Current();
+ if( pFrame && ( pFrame = pFrame->GetTopViewFrame() ) )
{
pFrame->GetTargetList( aList );
- for( USHORT nPos = (USHORT)aList.Count(); nPos; )
+ String* pObj;
+ for( USHORT nPos = ( USHORT ) aList.Count() ; nPos ; )
{
- String* pObj = aList.GetObject( --nPos );
- aTargets.InsertEntry( *pObj );
+ pObj = aList.GetObject( --nPos );
+ aCBFrame.InsertEntry( *pObj );
delete pObj;
}
}
- aTargets.SetText( rInfo.GetDefaultTarget() );
- aReloadEnabled.SetClickHdl(LINK(this, SfxInternetPage, ClickHdl));
+
+ aRBNoAutoUpdate.SetClickHdl( LINK( this, SfxInternetPage, ClickHdlNoUpdate ) );
+ aRBReloadUpdate.SetClickHdl( LINK( this, SfxInternetPage, ClickHdlReload ) );
+ aRBForwardUpdate.SetClickHdl( LINK( this, SfxInternetPage, ClickHdlForward ) );
+ aPBBrowseURL.SetClickHdl( LINK( this, SfxInternetPage, ClickHdlBrowseURL ) );
+
+ aForwardErrorMessg.SearchAndReplaceAscii( "%PLACEHOLDER%", aRBForwardUpdate.GetText() );
+
+ ChangeState( S_NoUpdate );
+
+// SetExchangeSupport( TRUE ); // not used for this tabpage BUT necessary if DeactivatePage() should be called in SfxTabDialog::PrepareLeaveCurrentPage()!
}
+
//------------------------------------------------------------------------
-IMPL_LINK( SfxInternetPage, ClickHdl, Control*, pCtrl )
+void SfxInternetPage::ChangeState( STATE eNewState )
{
- if ( pCtrl == &aReloadEnabled )
+ DBG_ASSERT( eNewState != S_Init, "*SfxInternetPage::ChangeState(): new state init is supposed to not work here!" );
+
+ if( eState == eNewState )
+ return;
+
+ switch( eState )
{
- aFTSeconds.Enable( aReloadEnabled.IsChecked() );
- aReloadDelay.Enable( aReloadEnabled.IsChecked() );
+ case S_Init:
+ EnableNoUpdate( TRUE );
+ EnableReload( FALSE );
+ EnableForward( FALSE );
+ break;
+ case S_NoUpdate:
+ EnableNoUpdate( FALSE );
+ if( eNewState == S_Reload )
+ EnableReload( TRUE );
+ else
+ EnableForward( TRUE );
+ break;
+ case S_Reload:
+ EnableReload( FALSE );
+ if( eNewState == S_NoUpdate )
+ EnableNoUpdate( TRUE );
+ else
+ EnableForward( TRUE );
+ break;
+ case S_Forward:
+ EnableForward( FALSE );
+ if( eNewState == S_NoUpdate )
+ EnableNoUpdate( TRUE );
+ else
+ EnableReload( TRUE );
+ break;
+ default:
+ DBG_ERROR( "*SfxInternetPage::SetState(): unhandled state!" );
}
+
+ eState = eNewState;
+}
+
+//------------------------------------------------------------------------
+
+void SfxInternetPage::EnableNoUpdate( BOOL bEnable )
+{
+ if( bEnable )
+ aRBNoAutoUpdate.Check();
+}
+
+
+//------------------------------------------------------------------------
+
+void SfxInternetPage::EnableReload( BOOL bEnable )
+{
+ aFTEvery.Enable( bEnable );
+ aNFReload.Enable( bEnable );
+ aFTReloadSeconds.Enable( bEnable );
+
+ if( bEnable )
+ aRBReloadUpdate.Check();
+}
+
+//------------------------------------------------------------------------
+
+void SfxInternetPage::EnableForward( BOOL bEnable )
+{
+ aFTAfter.Enable( bEnable );
+ aNFAfter.Enable( bEnable );
+ aFTAfterSeconds.Enable( bEnable );
+ aFTURL.Enable( bEnable );
+ aEDForwardURL.Enable( bEnable );
+ aPBBrowseURL.Enable( bEnable );
+ aFTFrame.Enable( bEnable );
+ aCBFrame.Enable( bEnable );
+
+ if( bEnable )
+ aRBForwardUpdate.Check();
+}
+
+//------------------------------------------------------------------------
+
+IMPL_LINK( SfxInternetPage, ClickHdlNoUpdate, Control*, pCtrl )
+{
+ ChangeState( S_NoUpdate );
return 0;
}
//------------------------------------------------------------------------
-BOOL SfxInternetPage::FillItemSet( SfxItemSet& rSet )
+IMPL_LINK( SfxInternetPage, ClickHdlReload, Control*, pCtrl )
{
- // Pruefung, ob sich etwas geaendert hat
- const BOOL bReloadEnabled = aReloadEnabled.IsChecked();
- const BOOL bReloadModified = aReloadEnabled.GetSavedValue() !=
- bReloadEnabled;
- const BOOL bReloadURLModified = aReloadURL.IsModified();
- String aTargetFrame( aTargets.GetText() );
- const BOOL bTargetModified = aOldTarget != aTargetFrame;
- const BOOL bReloadDelayModified = aReloadDelay.IsModified();
- if( !( bReloadDelayModified || bTargetModified || bReloadURLModified ||
- bReloadModified ) )
- {
- return FALSE;
- }
+ ChangeState( S_Reload );
+ return 0;
+}
- // Speicherung der Aenderungen
- const SfxPoolItem *pItem;
- SfxDocumentInfoItem *pInfo;
- SfxTabDialog* pDlg = GetTabDialog();
- const SfxItemSet* pExSet = NULL;
+//------------------------------------------------------------------------
- if ( pDlg )
+IMPL_LINK( SfxInternetPage, ClickHdlForward, Control*, pCtrl )
+{
+ ChangeState( S_Forward );
+ return 0;
+}
+
+//------------------------------------------------------------------------
+
+IMPL_LINK( SfxInternetPage, ClickHdlBrowseURL, PushButton*, pButton )
+{
+ sfx2::FileDialogHelper aHelper( FILEOPEN_SIMPLE, WB_OPEN );
+ aHelper.SetDisplayDirectory( aEDForwardURL.GetText() );
+
+ if( ERRCODE_NONE == aHelper.Execute() )
+ aEDForwardURL.SetText( aHelper.GetPath() );
+
+ return 0;
+}
+
+//------------------------------------------------------------------------
+
+BOOL SfxInternetPage::FillItemSet( SfxItemSet& rSet )
+{
+ const SfxPoolItem* pItem = NULL;
+ SfxDocumentInfoItem* pInfo = NULL;
+ SfxTabDialog* pDlg = GetTabDialog();
+ const SfxItemSet* pExSet = NULL;
+
+ if( pDlg )
pExSet = pDlg->GetExampleSet();
- if ( pExSet &&
- SFX_ITEM_SET != pExSet->GetItemState(SID_DOCINFO, TRUE, &pItem) )
+ if( pExSet && SFX_ITEM_SET != pExSet->GetItemState( SID_DOCINFO, TRUE, &pItem ) )
pInfo = pInfoItem;
else
- pInfo = new SfxDocumentInfoItem(*(const SfxDocumentInfoItem *)pItem);
+ pInfo = new SfxDocumentInfoItem( *( const SfxDocumentInfoItem* ) pItem );
- SfxDocumentInfo& rInfo = (*pInfo)();
- if( bReloadModified )
- {
- rInfo.EnableReload( bReloadEnabled );
- }
- if( bReloadDelayModified )
- {
- rInfo.SetReloadDelay( aReloadDelay.GetValue() );
- }
- if( bReloadURLModified )
+ SfxDocumentInfo& rInfo = pInfo->GetDocInfo();
+
+ DBG_ASSERT( eState != S_Init, "*SfxInternetPage::FillItemSet(): state init is not acceptable at this point!" );
+
+ BOOL bEnableReload = FALSE;
+ ::std::auto_ptr< String > aURL( NULL );
+ ::std::auto_ptr< String > aFrame( NULL );
+ ULONG nDelay = 0;
+
+ switch( eState )
{
- String a2ReloadURL( aReloadURL.GetText() );
- if ( a2ReloadURL.Len() )
- {
- a2ReloadURL = URIHelper::SmartRelToAbs( a2ReloadURL );
- }
- rInfo.SetReloadURL( a2ReloadURL );
+ case S_NoUpdate:
+ break;
+ case S_Reload:
+ bEnableReload = TRUE;
+ aURL = ::std::auto_ptr< String >( new String() );
+ aFrame = ::std::auto_ptr< String >( new String() );
+ nDelay = aNFReload.GetValue();
+ break;
+ case S_Forward:
+ DBG_ASSERT( aEDForwardURL.GetText().Len(), "+SfxInternetPage::FillItemSet(): empty URL should be not possible for forward option!" );
+
+ bEnableReload = TRUE;
+ aURL = ::std::auto_ptr< String >( new String( URIHelper::SmartRelToAbs( aEDForwardURL.GetText() ) ) );
+ aFrame = ::std::auto_ptr< String >( new String( aCBFrame.GetText() ) );
+ nDelay = aNFAfter.GetValue();
+ break;
}
- if( bTargetModified )
+
+ rInfo.EnableReload( bEnableReload );
+
+ if( bEnableReload )
{
- rInfo.SetDefaultTarget( aTargetFrame );
+ rInfo.SetReloadURL( *aURL.get() );
+ rInfo.SetDefaultTarget( *aFrame.get() );
+ rInfo.SetReloadDelay( nDelay );
}
+
rSet.Put( *pInfo );
if( pInfo != pInfoItem )
delete pInfo;
@@ -906,23 +1040,46 @@ SfxTabPage *SfxInternetPage::Create( Window* pParent, const SfxItemSet& rItemSet
void SfxInternetPage::Reset( const SfxItemSet& rSet )
{
- pInfoItem = &(SfxDocumentInfoItem &)rSet.Get(SID_DOCINFO);
- SfxDocumentInfo& rInfo = (*pInfoItem)();
+ pInfoItem = &( SfxDocumentInfoItem& ) rSet.Get( SID_DOCINFO );
+ SfxDocumentInfo& rInfo = pInfoItem->GetDocInfo();
+ STATE eNewState = S_NoUpdate;
- aReloadEnabled.Check( rInfo.IsReloadEnabled() );
- aReloadEnabled.SaveValue();
- aReloadDelay.SetValue( rInfo.GetReloadDelay() );
- aReloadURL.SetText( rInfo.GetReloadURL() );
- aTargets.SetText( rInfo.GetDefaultTarget() );
- ClickHdl( &aReloadEnabled );
+ if( rInfo.IsReloadEnabled() )
+ {
+ const String& rURL = rInfo.GetReloadURL();
- if ( rInfo.IsReadOnly() )
+ if( rURL.Len() )
+ {
+ aNFAfter.SetValue( rInfo.GetReloadDelay() );
+ aEDForwardURL.SetText( rInfo.GetReloadURL() );
+ aCBFrame.SetText( rInfo.GetDefaultTarget() );
+ eNewState = S_Forward;
+ }
+ else
+ {
+ aNFReload.SetValue( rInfo.GetReloadDelay() );
+ eNewState = S_Reload;
+ }
+ }
+
+ ChangeState( eNewState );
+}
+
+//------------------------------------------------------------------------
+
+int SfxInternetPage::DeactivatePage( SfxItemSet* pSet )
+{
+ int nRet = LEAVE_PAGE;
+
+ if( eState == S_Forward && !aEDForwardURL.GetText().Len() )
{
- aReloadEnabled.Disable();
- aReloadDelay.Disable();
- aReloadURL.SetReadOnly( TRUE );
- aTargets.SetReadOnly( TRUE );
+ ErrorBox aErrBox( this, WB_OK, aForwardErrorMessg );
+ aErrBox.Execute();
+
+ nRet = KEEP_PAGE;
}
+
+ return nRet;
}
//------------------------------------------------------------------------
diff --git a/sfx2/source/dialog/dinfdlg.hrc b/sfx2/source/dialog/dinfdlg.hrc
index ad85b985d6..3a0f1cab23 100644
--- a/sfx2/source/dialog/dinfdlg.hrc
+++ b/sfx2/source/dialog/dinfdlg.hrc
@@ -2,9 +2,9 @@
*
* $RCSfile: dinfdlg.hrc,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:52:30 $
+ * last change: $Author: gt $ $Date: 2002-07-17 14:05:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,13 +93,8 @@
#define FT_TIMELOG_VAL 36
#define FT_DOCNO 37
#define FT_DOCNO_VAL 38
-#define CB_AUTORELOAD 39
-#define ED_SECONDS 41
-#define FT_SECONDS 42
#define FT_URL 43
#define ED_URL 44
-#define LB_DEFAULT 46
-#define FT_DEFAULT 47
#define CB_FILE_READONLY 48
#define CB_USE_USERDATA 49
#define BMP_FILE_1 50
@@ -116,6 +111,19 @@
#define FL_FILE_3 61
#define BTN_DELETE 62
+#define RB_NOAUTOUPDATE 63
+#define RB_RELOADUPDATE 64
+#define RB_FORWARDUPDATE 65
+#define FT_EVERY 66
+#define ED_RELOAD 67
+#define FT_RELOADSECS 68
+#define FT_AFTER 69
+#define ED_FORWARD 70
+#define FT_FORWARDSECS 71
+#define FT_FRAME 72
+#define CB_FRAME 73
+#define PB_BROWSEURL 74
+#define STR_FORWARD_ERRMSSG 75
#endif
diff --git a/sfx2/source/dialog/dinfdlg.src b/sfx2/source/dialog/dinfdlg.src
index 74d701d42c..0e33f061b4 100644
--- a/sfx2/source/dialog/dinfdlg.src
+++ b/sfx2/source/dialog/dinfdlg.src
@@ -2,9 +2,9 @@
*
* $RCSfile: dinfdlg.src,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: kz $ $Date: 2002-02-08 21:11:24 $
+ * last change: $Author: gt $ $Date: 2002-07-17 14:05:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -64,6 +64,7 @@
#include "sfx.hrc"
#include "helpid.hrc"
#include "dinfdlg.hrc"
+#include "dinfdlg_measures.hrc"
// TP_DOCINFODESC --------------------------------------------------------
@@ -101,6 +102,7 @@ TabPage TP_DOCINFODESC
Text[ turkish ] = "~Balk";
Text[ language_user1 ] = " ";
Text[ catalan ] = "~Ttulo";
+ Text[ thai ] = "~ชื่อ";
};
Edit ED_TITLE
{
@@ -139,6 +141,7 @@ TabPage TP_DOCINFODESC
Text[ turkish ] = "K~onu";
Text[ language_user1 ] = " ";
Text[ catalan ] = "~Tema";
+ Text[ thai ] = "~ชื่อเรื่อง";
};
Edit ED_THEMA
{
@@ -177,6 +180,7 @@ TabPage TP_DOCINFODESC
Text[ turkish ] = "~Anahtar szckler";
Text[ language_user1 ] = " ";
Text[ catalan ] = "~Palabras clave";
+ Text[ thai ] = "~คำสำคัญ";
};
Edit ED_KEYWORDS
{
@@ -215,6 +219,7 @@ TabPage TP_DOCINFODESC
Text[ turkish ] = "~Tanm";
Text[ language_user1 ] = " ";
Text[ catalan ] = "~Descripcin";
+ Text[ thai ] = "~ข้อคิดเห็น";
};
MultiLineEdit ED_COMMENT
{
@@ -277,6 +282,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Tipo:";
Text[ finnish ] = "Tyyppi";
+ Text[ thai ] = "ชนิด:";
};
FixedText FT_FILE_SHOW_TYP
{
@@ -310,6 +316,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "~Solo lectura";
Text[ finnish ] = "~Vain luku";
+ Text[ thai ] = "~อ่านอย่างเดียว";
};
FixedText FT_FILE
{
@@ -338,6 +345,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Ubicacin:";
Text[ finnish ] = "Sijainti:";
+ Text[ thai ] = "ที่ตั้ง:";
};
FixedText FT_FILE_VAL
{
@@ -371,6 +379,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Tamao:";
Text[ finnish ] = "Koko:";
+ Text[ thai ] = "ขนาด:";
};
FixedText FT_FILE_SHOW_SIZE
{
@@ -409,6 +418,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Creado el:";
Text[ finnish ] = "Luotu:";
+ Text[ thai ] = "สร้าง:";
};
FixedText FT_CREATE_VAL
{
@@ -443,6 +453,7 @@ TabPage TP_DOCINFODOC
Text[ turkish ] = "Dzenleme:";
Text[ language_user1 ] = " ";
Text[ catalan ] = "Abierto desde :";
+ Text[ thai ] = "แก้ไข:";
};
FixedText FT_TIMELOG_VAL
{
@@ -476,6 +487,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Modificado el:";
Text[ finnish ] = "Muokattu:";
+ Text[ thai ] = "ดัดแปลงแก้ไข:";
};
FixedText FT_CHANGE_VAL
{
@@ -509,6 +521,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Versin:";
Text[ finnish ] = "Versio:";
+ Text[ thai ] = "เวอร์ชั่น:";
};
FixedText FT_DOCNO_VAL
{
@@ -542,6 +555,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Impreso el:";
Text[ finnish ] = "Tulostettu";
+ Text[ thai ] = "พิมพ์:";
};
FixedText FT_PRINT_VAL
{
@@ -575,6 +589,7 @@ TabPage TP_DOCINFODOC
Text[ turkish ] = "~Sil";
Text[ catalan ] = "~Eliminar";
Text[ finnish ] = "~Poista";
+ Text[ thai ] = "~ลบ";
};
CheckBox CB_USE_USERDATA
{
@@ -604,6 +619,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "Utilice los ~datos del usuario";
Text[ finnish ] = "~Kyt kyttjtietoja";
+ Text[ thai ] = "ใ~ช้ข้อมูลผู้ใช้";
};
FixedLine FL_FILE_3
{
@@ -638,6 +654,7 @@ TabPage TP_DOCINFODOC
Text[ arabic ] = ":";
Text[ turkish ] = "ablon:";
Text[ catalan ] = "Plantilla:";
+ Text[ thai ] = "แม่แบบ:";
};
FixedText FT_TEMPL_VAL
{
@@ -669,6 +686,7 @@ TabPage TP_DOCINFODOC
Text[ language_user1 ] = " ";
Text[ catalan ] = "desconocido";
Text[ finnish ] = "tuntematon";
+ Text[ thai ] = "ไม่รู้จัก";
};
};
@@ -759,6 +777,7 @@ TabPage TP_DOCINFOUSER
Text[ turkish ] = "~Bilgi alanlar...";
Text[ language_user1 ] = " ";
Text[ catalan ] = "Ca~mpo informacin...";
+ Text[ thai ] = "เขตข้อมูลของ~ข้อมูล...";
};
};
@@ -769,143 +788,134 @@ TabPage TP_DOCINFORELOAD
HelpId = HID_DOCINFORELOAD ;
Hide = TRUE ;
Size = MAP_APPFONT ( 260 , 185 ) ;
- CheckBox CB_AUTORELOAD
+ RadioButton RB_NOAUTOUPDATE
{
- Pos = MAP_APPFONT ( 72 , 7 ) ;
- Size = MAP_APPFONT ( 80 , 10 ) ;
- Text = "~Autoreload alle" ;
- Text [ English ] = "~Autoreload every" ;
- Text [ english_us ] = "~Auto reload every" ;
- Text [ italian ] = "~Autoricarica" ;
- Text [ spanish ] = "~Autorecargar cada" ;
- Text [ french ] = "~Page suivante au bout de" ;
- Text [ dutch ] = "~Autoreload alle" ;
- Text [ swedish ] = "~Ladda automatiskt efter" ;
- Text [ danish ] = "Autogenindls efter" ;
- Text [ portuguese_brazilian ] = "~Autoreload alle" ;
- Text [ portuguese ] = "~Autocarregar cada" ;
- Text[ chinese_simplified ] = "全部重新自动装入(~A)";
- Text[ russian ] = "~ ";
- Text[ polish ] = "Przea~duj automatycznie co";
- Text[ japanese ] = "自動的に更新(~A)";
- Text[ chinese_traditional ] = "全部自動重新載入(~A)";
- Text[ greek ] = "~ ";
- Text[ korean ] = "모두 자동으로 다시 로드(~A)";
- Text[ arabic ] = " ";
- Text[ turkish ] = "~Otm. yeniden ykleme";
- Text[ language_user1 ] = " ";
- Text[ catalan ] = "~Autorecargar cada";
- Text[ finnish ] = "~Automaattinen uudelleenlatausvli";
+ TabStop = TRUE ;
+ Pos = MAP_APPFONT( COL_0 , ROW_0 ) ;
+ Size = MAP_APPFONT( COL_7 - COL_1 , HIGHT_FT ) ;
+ Text = "Keine automatische Aktualisierung" ;
+ Text [ english ] = "Do not refresh automatically" ;
+ Text [ english_us ] = "Do not refresh automatically" ;
};
- NumericField ED_SECONDS
+
+ RadioButton RB_RELOADUPDATE
+ {
+ TabStop = TRUE ;
+ Pos = MAP_APPFONT( COL_0, ROW_1 ) ;
+ Size = MAP_APPFONT( COL_7 - COL_1, HIGHT_FT ) ;
+ Text = "Dieses Dokument aktualisieren" ;
+ Text [ english ] = "Refresh this document" ;
+ Text [ english_us ] = "Refresh this document" ;
+ };
+ FixedText FT_EVERY
+ {
+ Pos = MAP_APPFONT ( COL_1 , ROW_2 ) ;
+ Size = MAP_APPFONT ( WIDTH_FT1 , HIGHT_FT ) ;
+ Text = "alle" ;
+ Text [ english ] = "every" ;
+ Text [ english_us ] = "every" ;
+ };
+ NumericField ED_RELOAD
{
Border = TRUE ;
- Pos = MAP_APPFONT ( 155 , 6 ) ;
- Size = MAP_APPFONT ( 30 , 12 ) ;
+ Pos = MAP_APPFONT ( COL_2 , ROW_2 - ROWDIFF_FT_EDTFLD ) ;
+ Size = MAP_APPFONT ( WIDTH_2 , HIGHT_EDTFLD ) ;
Repeat = TRUE ;
Spin = TRUE ;
Minimum = 1 ;
-/* Maximum = 300 ; */
First = 1 ;
Last = 60 ;
SpinSize = 1 ;
+ Value = 60 ;
};
- FixedText FT_SECONDS
+ FixedText FT_RELOADSECS
{
- Pos = MAP_APPFONT ( 188 , 7 ) ;
- Size = MAP_APPFONT ( 66 , 10 ) ;
- Text = "~Sekunden" ;
- Text [ English ] = "~Seconds" ;
- Text [ english_us ] = "~seconds" ;
- Text [ italian ] = "~Secondi" ;
- Text [ spanish ] = "~Segundos" ;
- Text [ french ] = "~secondes" ;
- Text [ dutch ] = "~seconden" ;
- Text [ swedish ] = "~sekund(er)" ;
- Text [ danish ] = "Sekunder" ;
- Text [ portuguese_brazilian ] = "~Sekunden" ;
- Text [ portuguese ] = "~segundos" ;
- Text[ chinese_simplified ] = "秒(~S)";
- Text[ russian ] = "()";
- Text[ polish ] = "Sekundy";
- Text[ japanese ] = "秒毎(~S)";
- Text[ chinese_traditional ] = "秒(~S)";
- Text[ greek ] = "";
- Text[ korean ] = "초(~S)";
- Text[ arabic ] = "";
- Text[ turkish ] = "~saniyede bir";
- Text[ language_user1 ] = " ";
- Text[ catalan ] = "~Segundos";
- Text[ finnish ] = "~sekuntia";
+ Pos = MAP_APPFONT ( COL_4 , ROW_2 ) ;
+ Size = MAP_APPFONT ( COL_7 - COL_4 , HIGHT_FT ) ;
+ Text = "Sekunden" ;
+ Text [ english ] = "seconds" ;
+ Text [ english_us ] = "seconds" ;
+ };
+
+ RadioButton RB_FORWARDUPDATE
+ {
+ TabStop = TRUE ;
+ Pos = MAP_APPFONT( COL_0, ROW_3 ) ;
+ Size = MAP_APPFONT( COL_7 - COL_1, HIGHT_FT ) ;
+ Text = "Von diesem Dokument weiterleiten" ;
+ Text [ english ] = "Redirect from this document" ;
+ Text [ english_us ] = "Redirect from this document" ;
+ };
+ FixedText FT_AFTER
+ {
+ Pos = MAP_APPFONT ( COL_1 , ROW_4 ) ;
+ Size = MAP_APPFONT ( WIDTH_FT1 , HIGHT_FT ) ;
+ Text = "nach" ;
+ Text [ english ] = "after" ;
+ Text [ english_us ] = "after" ;
+ };
+ NumericField ED_FORWARD
+ {
+ Border = TRUE ;
+ Pos = MAP_APPFONT ( COL_2 , ROW_4 - ROWDIFF_FT_EDTFLD ) ;
+ Size = MAP_APPFONT ( WIDTH_2 , HIGHT_EDTFLD ) ;
+ Repeat = TRUE ;
+ Spin = TRUE ;
+ Minimum = 1 ;
+ First = 1 ;
+ Last = 60 ;
+ SpinSize = 1 ;
+ Value = 5 ;
+ };
+ FixedText FT_FORWARDSECS
+ {
+ Pos = MAP_APPFONT ( COL_4 , ROW_4 ) ;
+ Size = MAP_APPFONT ( COL_7 - COL_4 , HIGHT_FT ) ;
+ Text = "Sekunden" ;
+ Text [ english ] = "seconds" ;
+ Text [ english_us ] = "seconds" ;
};
FixedText FT_URL
{
- Pos = MAP_APPFONT ( 6 , 22 ) ;
- Size = MAP_APPFONT ( 63 , 10 ) ;
- Text = "~URL" ;
- Text [ English ] = "~URL" ;
- Text [ english_us ] = "~URL" ;
- Text [ italian ] = "URL" ;
- Text [ spanish ] = "~URL" ;
- Text [ french ] = "URL" ;
- Text [ dutch ] = "~URL" ;
- Text [ swedish ] = "~URL" ;
- Text [ danish ] = "URL" ;
- Text [ portuguese_brazilian ] = "~URL" ;
- Text [ portuguese ] = "~URL" ;
- Text[ chinese_simplified ] = "~URL";
- Text[ russian ] = "~URL";
- Text[ polish ] = "URL";
- Text[ japanese ] = "~URL";
- Text[ chinese_traditional ] = "~URL";
- Text[ greek ] = "~URL";
- Text[ korean ] = "~URL";
- Text[ arabic ] = "URL~";
- Text[ turkish ] = "~URL";
- Text[ language_user1 ] = " ";
- Text[ catalan ] = "~URL";
- Text[ finnish ] = "~URL-osoite";
+ Pos = MAP_APPFONT ( COL_1 , ROW_5 ) ;
+ Size = MAP_APPFONT ( WIDTH_FT1 , HIGHT_FT ) ;
+ Text = "an URL" ;
+ Text [ english ] = "to URL" ;
+ Text [ english_us ] = "to URL" ;
};
Edit ED_URL
{
Border = TRUE ;
- Pos = MAP_APPFONT ( 72 , 21 ) ;
- Size = MAP_APPFONT ( 182 , 12 ) ;
+ Pos = MAP_APPFONT ( COL_2 , ROW_5 - ROWDIFF_FT_EDTFLD ) ;
+ Size = MAP_APPFONT ( COL_5 - COL_2 , HIGHT_EDTFLD ) ;
};
- FixedText FT_DEFAULT
+ PushButton PB_BROWSEURL
{
- Pos = MAP_APPFONT ( 6 , 37 ) ;
- Size = MAP_APPFONT ( 63 , 10 ) ;
- Text = "~Frame" ;
- Text [ English ] = "~Frame" ;
- Text [ english_us ] = "Frame" ;
- Text [ italian ] = "~Frame" ;
- Text [ spanish ] = "Frame" ;
- Text [ french ] = "~Frame" ;
- Text [ dutch ] = "~Frame" ;
- Text [ swedish ] = "~Ram" ;
- Text [ danish ] = "Frame" ;
- Text [ portuguese_brazilian ] = "~Frame" ;
- Text [ portuguese ] = "~Frame" ;
- Text[ chinese_simplified ] = "框对象";
- Text[ russian ] = "~";
- Text[ polish ] = "Frame";
- Text[ japanese ] = "フレーム";
- Text[ chinese_traditional ] = "訊框";
- Text[ greek ] = "";
- Text[ korean ] = "프레임";
- Text[ arabic ] = "";
- Text[ turkish ] = "~Frame";
- Text[ language_user1 ] = " ";
- Text[ catalan ] = "Frame";
- Text[ finnish ] = "Kehys";
+ Pos = MAP_APPFONT ( COL_6 , ROW_5 - ROWDIFF_FT_EDTFLD ) ;
+ Size = MAP_APPFONT ( COL_7 - COL_6 , HIGHT_EDTFLD ) ;
+ Text = "..." ;
+ };
+ FixedText FT_FRAME
+ {
+ Pos = MAP_APPFONT ( COL_1 , ROW_6 ) ;
+ Size = MAP_APPFONT ( WIDTH_FT1 , HIGHT_FT ) ;
+ Text = "an Frame" ;
+ Text [ english ] = "to frame" ;
+ Text [ english_us ] = "to frame" ;
};
- ComboBox LB_DEFAULT
+ ComboBox CB_FRAME
{
- Pos = MAP_APPFONT ( 72 , 36 ) ;
- Size = MAP_APPFONT ( 182 , 60 ) ;
+ Pos = MAP_APPFONT ( COL_2 , ROW_6 - ROWDIFF_FT_EDTFLD ) ;
+ Size = MAP_APPFONT ( COL_7 - COL_2 , HIGHT_EDTFLD * 10 ) ;
DropDown = TRUE ;
};
+ String STR_FORWARD_ERRMSSG
+ {
+ Text = "Wenn Sie die Option \"%PLACEHOLDER%\" whlen, mssen Sie eine URL angeben." ;
+ Text [ english ] = "If you select the option \"%PLACEHOLDER%\", you must enter a URL." ;
+ Text [ english_us ] = "If you select the option \"%PLACEHOLDER%\", you must enter a URL." ;
+ };
+
};
// SID_DOCINFO -----------------------------------------------------------
@@ -969,6 +979,7 @@ TabDialog SID_DOCINFO
Text[ language_user1 ] = " ";
Text[ catalan ] = "General";
Text[ finnish ] = "Yleist";
+ Text[ thai ] = "ทั่วไป";
};
PageItem
{
@@ -996,6 +1007,7 @@ TabDialog SID_DOCINFO
Text[ language_user1 ] = " ";
Text[ catalan ] = "Descripcin";
Text[ finnish ] = "Kuvaus";
+ Text[ thai ] = "คำอธิบาย";
};
PageItem
{
@@ -1024,6 +1036,7 @@ TabDialog SID_DOCINFO
Text[ turkish ] = "Kullanc";
Text[ language_user1 ] = " ";
Text[ catalan ] = "Usuario";
+ Text[ thai ] = "กำหนดผู้ใช้";
};
PageItem
{
@@ -1051,7 +1064,9 @@ TabDialog SID_DOCINFO
Text[ language_user1 ] = " ";
Text[ catalan ] = "Internet";
Text[ finnish ] = "Internet";
+ Text[ thai ] = "อินเตอร์เน็ต";
};
};
};
+ Text[ thai ] = "คุณสมบัติของ ";
};