summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-03-28 12:28:48 +0000
committerOliver Specht <os@openoffice.org>2001-03-28 12:28:48 +0000
commit8909bc6e3bb44a3e3ff1a2daa0548f1e076e496c (patch)
tree76c15a842ee29e03b2e3114ef74bb13e9457fbbc /sc/source/ui
parent8e09a55d2789920265798c6dbaf94edbecc214a4 (diff)
option dialog changes
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/app/scmod.cxx50
-rw-r--r--sc/source/ui/inc/opredlin.hxx6
-rw-r--r--sc/source/ui/inc/optdlg.hrc17
-rw-r--r--sc/source/ui/inc/tpcalc.hxx8
-rw-r--r--sc/source/ui/inc/tpview.hxx122
-rw-r--r--sc/source/ui/optdlg/makefile.mk8
-rw-r--r--sc/source/ui/optdlg/tpview.cxx620
-rw-r--r--sc/source/ui/src/makefile.mk5
-rw-r--r--sc/source/ui/src/opredlin.src8
-rw-r--r--sc/source/ui/src/optdlg.src1034
10 files changed, 811 insertions, 1067 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 8b70f1646306..75c7b176f1d4 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scmod.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: nn $ $Date: 2001-03-23 19:21:38 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:28:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -105,7 +105,6 @@
#include "appoptio.hxx"
#include "inputopt.hxx"
#include "navicfg.hxx"
-#include "optdlg.hxx"
#include "tabvwsh.hxx"
#include "docsh.hxx"
#include "drwlayer.hxx"
@@ -124,7 +123,6 @@
#include "tpusrlst.hxx"
#include "tpcalc.hxx"
#include "opredlin.hxx"
-#include "optload.hxx"
#include "transobj.hxx"
#define ScModule
@@ -336,48 +334,6 @@ void ScModule::Execute( SfxRequest& rReq )
pApp->LeaveBasicCall();
}
break;
- case SID_SC_EDITOPTIONS:
- {
- if ( pReqArgs != NULL )
- {
- ModifyOptions( *pReqArgs );
- }
- else if ( pReqArgs == NULL )
- {
- GetAppOptions(); // -> AppOptionen initialisieren
-
- SfxItemSet* pDlgSet = CreateItemSet( nSlot );
-
- //---------------------------------------------------------
-
- // Der Parent muss hier auf jeden Fall stimmen, weil sonst
- // SfxViewShell::Current in SetOptions die falsche ViewShell gibt.
-
- ScTabViewShell* pViewSh = PTR_CAST(ScTabViewShell,
- SfxViewShell::Current());
- Window* pWin = pViewSh ?
- pViewSh->GetDialogParent() :
- Application::GetDefDialogParent();
- ScOptionsDlg* pDlg = new ScOptionsDlg(
- SFX_APP()->GetViewFrame(),
- pWin, pDlgSet );
-
- if ( pDlg->Execute() == RET_OK )
- {
- const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
-
- if ( pOutSet )
- {
- ApplyItemSet( nSlot, *pOutSet );
- rReq.Done( *pOutSet, FALSE );
- }
- }
- delete pDlg;
- delete pDlgSet;
- }
- }
- break;
-
case SID_AUTOSPELL_CHECK:
{
BOOL bSet;
@@ -1887,12 +1843,10 @@ SfxTabPage* ScModule::CreateTabPage( USHORT nId, Window* pParent, const SfxItem
{
case SID_SC_TP_LAYOUT: pRet = ScTpLayoutOptions::Create(pParent, rSet); break;
case SID_SC_TP_CONTENT: pRet = ScTpContentOptions::Create(pParent, rSet); break;
- case SID_SC_TP_INPUT: pRet = ScTpInputOptions::Create(pParent, rSet); break;
case SID_SC_TP_GRID: pRet = SvxGridTabPage::Create(pParent, rSet); break;
case SID_SC_TP_USERLISTS: pRet = ScTpUserLists::Create(pParent, rSet); break;
case SID_SC_TP_CALC: pRet = ScTpCalcOptions::Create(pParent, rSet); break;
case SID_SC_TP_CHANGES: pRet = ScRedlineOptionsTabPage::Create(pParent, rSet); break;
- case SID_SC_TP_MISC: pRet = ScLoadOptPage::Create(pParent, rSet); break;
}
DBG_ASSERT(pRet, "Id unbekannt")
return pRet;
diff --git a/sc/source/ui/inc/opredlin.hxx b/sc/source/ui/inc/opredlin.hxx
index c3324becb3bf..1ad853a14323 100644
--- a/sc/source/ui/inc/opredlin.hxx
+++ b/sc/source/ui/inc/opredlin.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: opredlin.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:45:00 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:26:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -111,7 +111,7 @@ class ScRedlineOptionsTabPage : public SfxTabPage
ColorListBox aInsertColorLB;
FixedText aMoveFT;
ColorListBox aMoveColorLB;
- GroupBox aChangedGB;
+ FixedLine aChangedGB;
String aAuthorStr;
DECL_LINK( ColorHdl, ColorListBox *pColorLB );
diff --git a/sc/source/ui/inc/optdlg.hrc b/sc/source/ui/inc/optdlg.hrc
index 72392bdbcd53..a6e0ba08396b 100644
--- a/sc/source/ui/inc/optdlg.hrc
+++ b/sc/source/ui/inc/optdlg.hrc
@@ -2,9 +2,9 @@
*
* $RCSfile: optdlg.hrc,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:45:00 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:26:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -171,6 +171,16 @@
#define CB_CLIP 33
// TP_LAYOUT
+#define GB_LINK 1
+#define RB_ALWAYS 2
+#define RB_REQUEST 3
+#define RB_NEVER 4
+#define CB_DOCONLY 5
+#define CB_MERGE_PARA_DIST 6
+#define GB_COMPAT 7
+#define CB_AUTO_UPDATE_FIELDS 8
+#define CB_AUTO_UPDATE_CHARTS 9
+#define FT_UPDATE_LINKS 10
#define GB_WINDOW 50
#define CB_ROWCOLHEADER 51
@@ -191,7 +201,8 @@
#define CB_PAGEBREAKS 66
#define CB_HANDLES 67
#define CB_BIGHANDLES 68
-
+#define FT_TAB 69
+#define FT_UNIT 70
// TP_INPUT
#define GB_OPTIONS 70
diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx
index bc198c66b2ca..24c0fad99a71 100644
--- a/sc/source/ui/inc/tpcalc.hxx
+++ b/sc/source/ui/inc/tpcalc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tpcalc.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: er $ $Date: 2001-01-30 15:12:35 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:26:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -109,13 +109,13 @@ private:
NumericField aEdSteps;
FixedText aFtEps;
Edit aEdEps;
- GroupBox aGbZRefs;
+ FixedLine aGbZRefs;
RadioButton aBtnDateStd;
RadioButton aBtnDateSc10;
RadioButton aBtnDate1904;
- GroupBox aGbDate;
+ FixedLine aGbDate;
CheckBox aBtnCase;
CheckBox aBtnCalc;
diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx
index 3617c7341f26..6b02a45fb8dd 100644
--- a/sc/source/ui/inc/tpview.hxx
+++ b/sc/source/ui/inc/tpview.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tpview.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:45:01 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:26:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,48 +96,7 @@ class ScViewOptions;
class ScTpContentOptions : public SfxTabPage
{
- GroupBox aDisplayGB;
- CheckBox aFormulaCB;
- CheckBox aNilCB;
- CheckBox aAnnotCB;
- CheckBox aValueCB;
- CheckBox aAnchorCB;
- CheckBox aClipMarkCB;
-
- GroupBox aObjectGB;
- FixedText aObjGrfFT;
- ListBox aObjGrfLB;
- FixedText aDiagramFT;
- ListBox aDiagramLB;
- FixedText aDrawFT;
- ListBox aDrawLB;
-
- ScViewOptions* pLocalOptions;
-
- DECL_LINK( SelLbObjHdl, ListBox* );
- DECL_LINK( CBHdl, CheckBox* );
-
- ScTpContentOptions( Window* pParent,
- const SfxItemSet& rArgSet );
- ~ScTpContentOptions();
-
-public:
- static SfxTabPage* Create ( Window* pParent,
- const SfxItemSet& rCoreSet );
- virtual BOOL FillItemSet ( SfxItemSet& rCoreSet );
- virtual void Reset ( const SfxItemSet& rCoreSet );
- virtual void ActivatePage( const SfxItemSet& );
- virtual int DeactivatePage( SfxItemSet* pSet = 0 );
-
-
-};
-
-//========================================================================
-// TabPage Layout
-
-class ScTpLayoutOptions : public SfxTabPage
-{
- GroupBox aLinesGB;
+ FixedLine aLinesGB;
CheckBox aGridCB;
FixedText aColorFT;
ColorListBox aColorLB;
@@ -146,30 +105,40 @@ class ScTpLayoutOptions : public SfxTabPage
CheckBox aHandleCB;
CheckBox aBigHandleCB;
- GroupBox aWindowGB;
+ FixedLine aDisplayGB;
+ CheckBox aFormulaCB;
+ CheckBox aNilCB;
+ CheckBox aAnnotCB;
+ CheckBox aValueCB;
+ CheckBox aAnchorCB;
+ CheckBox aClipMarkCB;
+ CheckBox aRangeFindCB;
+
+ FixedLine aObjectGB;
+ FixedText aObjGrfFT;
+ ListBox aObjGrfLB;
+ FixedText aDiagramFT;
+ ListBox aDiagramLB;
+ FixedText aDrawFT;
+ ListBox aDrawLB;
+
+ FixedLine aWindowGB;
CheckBox aRowColHeaderCB;
CheckBox aHScrollCB;
CheckBox aVScrollCB;
CheckBox aTblRegCB;
CheckBox aOutlineCB;
- GroupBox aUnitGB;
- ListBox aUnitLB;
-
- GroupBox aTabGB;
- MetricField aTabMF;
-
- SvxStringArray aUnitArr;
ScViewOptions* pLocalOptions;
void InitGridOpt();
DECL_LINK( GridHdl, CheckBox* );
+ DECL_LINK( SelLbObjHdl, ListBox* );
DECL_LINK( CBHdl, CheckBox* );
- DECL_LINK(MetricHdl, ListBox*);
- ScTpLayoutOptions( Window* pParent,
+ ScTpContentOptions( Window* pParent,
const SfxItemSet& rArgSet );
- ~ScTpLayoutOptions();
+ ~ScTpContentOptions();
public:
static SfxTabPage* Create ( Window* pParent,
@@ -181,35 +150,60 @@ public:
};
-//========================================================================
-// TabPage Eingabe
-class ScTpInputOptions : public SfxTabPage
+//========================================================================
+// TabPage Layout
+class ScDocument;
+class ScTpLayoutOptions : public SfxTabPage
{
- GroupBox aOptionsGB;
+ FixedLine aUnitGB;
+ FixedText aUnitFT;
+ ListBox aUnitLB;
+ FixedText aTabFT;
+ MetricField aTabMF;
+
+ FixedLine aLinkGB;
+ FixedText aLinkFT;
+ RadioButton aAlwaysRB;
+ RadioButton aRequestRB;
+ RadioButton aNeverRB;
+
+ FixedLine aOptionsGB;
CheckBox aAlignCB;
ListBox aAlignLB;
CheckBox aEditModeCB;
CheckBox aFormatCB;
- CheckBox aRangeFindCB;
CheckBox aExpRefCB;
CheckBox aMarkHdrCB;
+ SvxStringArray aUnitArr;
+ ScViewOptions* pLocalOptions;
+
+ DECL_LINK( CBHdl, CheckBox* );
+
+ DECL_LINK(MetricHdl, ListBox*);
DECL_LINK( AlignHdl, CheckBox* );
- ScTpInputOptions( Window* pParent,
+ ScDocument *pDoc;
+
+ DECL_LINK( UpdateHdl, CheckBox* );
+
+ ScTpLayoutOptions( Window* pParent,
const SfxItemSet& rArgSet );
- ~ScTpInputOptions();
+ ~ScTpLayoutOptions();
public:
static SfxTabPage* Create ( Window* pParent,
const SfxItemSet& rCoreSet );
virtual BOOL FillItemSet ( SfxItemSet& rCoreSet );
virtual void Reset ( const SfxItemSet& rCoreSet );
+ virtual void ActivatePage( const SfxItemSet& );
+ virtual int DeactivatePage( SfxItemSet* pSet = 0 );
-};
-
+ void SetDocument(ScDocument* pPtr){pDoc = pPtr;}
+};
+//========================================================================
#endif // SC_TPUSRLST_HXX
diff --git a/sc/source/ui/optdlg/makefile.mk b/sc/source/ui/optdlg/makefile.mk
index 7cb1081b92e4..8503542a4917 100644
--- a/sc/source/ui/optdlg/makefile.mk
+++ b/sc/source/ui/optdlg/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: hr $ $Date: 2000-09-18 16:45:03 $
+# last change: $Author: os $ $Date: 2001-03-28 13:27:35 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -82,19 +82,15 @@ AUTOSEG=true
# --- Files --------------------------------------------------------
CXXFILES = \
- optdlg.cxx \
tpusrlst.cxx \
tpview.cxx \
tpcalc.cxx \
- optload.cxx \
opredlin.cxx
SLOFILES = \
- $(SLO)$/optdlg.obj \
$(SLO)$/tpusrlst.obj \
$(SLO)$/tpview.obj \
$(SLO)$/tpcalc.obj \
- $(SLO)$/optload.obj \
$(SLO)$/opredlin.obj
# --- Tagets -------------------------------------------------------
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx
index 2d8a54d88a26..41ebe1b2f891 100644
--- a/sc/source/ui/optdlg/tpview.cxx
+++ b/sc/source/ui/optdlg/tpview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tpview.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: nn $ $Date: 2000-10-27 13:53:50 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:27:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -78,7 +78,12 @@
#include "sc.hrc" // -> Slot-IDs
#include "optdlg.hrc"
#include "globstr.hrc"
-
+#ifndef SC_APPOPTIO_HXX
+#include <appoptio.hxx>
+#endif
+#ifndef SC_SCMOD_HXX
+#include <scmod.hxx>
+#endif
#include <svx/dlgutil.hxx>
#include <svx/drawitem.hxx>
#include <svx/xtable.hxx>
@@ -96,6 +101,16 @@
ScTpContentOptions::ScTpContentOptions( Window* pParent,
const SfxItemSet& rArgSet ) :
SfxTabPage(pParent, ScResId( RID_SCPAGE_CONTENT ), rArgSet),
+
+ aLinesGB( this, ResId(GB_LINES )),
+ aGridCB( this, ResId(CB_GRID )),
+ aColorFT( this, ResId(FT_COLOR )),
+ aColorLB( this, ResId(LB_COLOR )),
+ aBreakCB( this, ResId(CB_PAGEBREAKS )),
+ aGuideLineCB( this, ResId(CB_GUIDELINE )),
+ aHandleCB( this, ResId(CB_HANDLES )),
+ aBigHandleCB( this, ResId(CB_BIGHANDLES )),
+
aDisplayGB( this, ResId(GB_DISPLAY)),
aFormulaCB( this, ResId(CB_FORMULA)),
aNilCB( this, ResId(CB_NIL )),
@@ -103,27 +118,50 @@ ScTpContentOptions::ScTpContentOptions( Window* pParent,
aValueCB( this, ResId(CB_VALUE )),
aAnchorCB( this, ResId(CB_ANCHOR )),
aClipMarkCB( this, ResId(CB_CLIP )),
+ aRangeFindCB( this, ResId( CB_RFIND )),
+
aObjectGB( this, ResId(GB_OBJECT )),
aObjGrfFT( this, ResId(FT_OBJGRF )),
aObjGrfLB( this, ResId(LB_OBJGRF )),
+
aDiagramFT( this, ResId(FT_DIAGRAM)),
aDiagramLB( this, ResId(LB_DIAGRAM)),
aDrawFT( this, ResId(FT_DRAW )),
aDrawLB( this, ResId(LB_DRAW )),
+ aWindowGB( this, ResId(GB_WINDOW )),
+ aRowColHeaderCB(this, ResId(CB_ROWCOLHEADER )),
+ aHScrollCB( this, ResId(CB_HSCROLL )),
+ aVScrollCB( this, ResId(CB_VSCROLL )),
+ aTblRegCB( this, ResId(CB_TBLREG )),
+ aOutlineCB( this, ResId(CB_OUTLINE )),
pLocalOptions(0)
{
FreeResource();
SetExchangeSupport();
- aObjGrfLB. SetSelectHdl( LINK( this, ScTpContentOptions, SelLbObjHdl ) );
- aDiagramLB. SetSelectHdl( LINK( this, ScTpContentOptions, SelLbObjHdl ) );
- aDrawLB. SetSelectHdl( LINK( this, ScTpContentOptions, SelLbObjHdl ) );
-
- aFormulaCB .SetClickHdl( LINK( this, ScTpContentOptions, CBHdl ) );
- aNilCB .SetClickHdl( LINK( this, ScTpContentOptions, CBHdl ) );
- aAnnotCB .SetClickHdl( LINK( this, ScTpContentOptions, CBHdl ) );
- aValueCB .SetClickHdl( LINK( this, ScTpContentOptions, CBHdl ) );
- aAnchorCB .SetClickHdl( LINK( this, ScTpContentOptions, CBHdl ) );
- aClipMarkCB .SetClickHdl( LINK( this, ScTpContentOptions, CBHdl ) );
+ Link aSelObjHdl(LINK( this, ScTpContentOptions, SelLbObjHdl ) );
+ aObjGrfLB. SetSelectHdl(aSelObjHdl);
+ aDiagramLB. SetSelectHdl(aSelObjHdl);
+ aDrawLB. SetSelectHdl(aSelObjHdl);
+
+ Link aCBHdl(LINK( this, ScTpContentOptions, CBHdl ) );
+ aFormulaCB .SetClickHdl(aCBHdl);
+ aNilCB .SetClickHdl(aCBHdl);
+ aAnnotCB .SetClickHdl(aCBHdl);
+ aValueCB .SetClickHdl(aCBHdl);
+ aAnchorCB .SetClickHdl(aCBHdl);
+ aClipMarkCB .SetClickHdl(aCBHdl);
+
+ aVScrollCB .SetClickHdl(aCBHdl);
+ aHScrollCB .SetClickHdl(aCBHdl);
+ aTblRegCB .SetClickHdl(aCBHdl);
+ aOutlineCB .SetClickHdl(aCBHdl);
+ aBreakCB .SetClickHdl(aCBHdl);
+ aGuideLineCB.SetClickHdl(aCBHdl);
+ aHandleCB .SetClickHdl(aCBHdl);
+ aBigHandleCB.SetClickHdl(aCBHdl);
+ aRowColHeaderCB.SetClickHdl(aCBHdl);
+
+ aGridCB .SetClickHdl( LINK( this, ScTpContentOptions, GridHdl ) );
}
/*-----------------11.01.97 10.52-------------------
@@ -145,7 +183,6 @@ SfxTabPage* ScTpContentOptions::Create( Window* pParent,
/*-----------------11.01.97 10.52-------------------
--------------------------------------------------*/
-
BOOL ScTpContentOptions::FillItemSet( SfxItemSet& rCoreSet )
{
BOOL bRet = FALSE;
@@ -157,11 +194,31 @@ BOOL ScTpContentOptions::FillItemSet( SfxItemSet& rCoreSet )
aClipMarkCB .GetSavedValue() != aClipMarkCB .IsChecked() ||
aObjGrfLB .GetSavedValue() != aObjGrfLB .GetSelectEntryPos() ||
aDiagramLB .GetSavedValue() != aDiagramLB .GetSelectEntryPos() ||
- aDrawLB .GetSavedValue() != aDrawLB .GetSelectEntryPos() )
+ aDrawLB .GetSavedValue() != aDrawLB .GetSelectEntryPos() ||
+ aGridCB .GetSavedValue() != aGridCB.IsChecked() ||
+ aRowColHeaderCB .GetSavedValue() != aRowColHeaderCB.IsChecked() ||
+ aHScrollCB .GetSavedValue() != aHScrollCB .IsChecked() ||
+ aVScrollCB .GetSavedValue() != aVScrollCB .IsChecked() ||
+ aTblRegCB .GetSavedValue() != aTblRegCB .IsChecked() ||
+ aOutlineCB .GetSavedValue() != aOutlineCB .IsChecked() ||
+ aColorLB .GetSavedValue() != aColorLB .GetSelectEntryPos() ||
+ aBreakCB .GetSavedValue() != aBreakCB .IsChecked() ||
+ aGuideLineCB .GetSavedValue() != aGuideLineCB .IsChecked() ||
+ aHandleCB .GetSavedValue() != aHandleCB .IsChecked() ||
+ aBigHandleCB .GetSavedValue() != aBigHandleCB .IsChecked())
{
+ pLocalOptions->SetGridColor( aColorLB.GetSelectEntryColor(),
+ aColorLB.GetSelectEntry() );
rCoreSet.Put(ScTpViewItem(SID_SCVIEWOPTIONS, *pLocalOptions));
bRet = TRUE;
}
+ if(aRangeFindCB.GetSavedValue() != aRangeFindCB.IsChecked())
+ {
+ rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_RANGEFINDER, aRangeFindCB.IsChecked()));
+ bRet = TRUE;
+ }
+
+
return bRet;
}
/*-----------------11.01.97 10.53-------------------
@@ -187,6 +244,23 @@ void ScTpContentOptions::Reset( const SfxItemSet& rCoreSet )
aDiagramLB .SelectEntryPos( (USHORT)pLocalOptions->GetObjMode(VOBJ_TYPE_CHART) );
aDrawLB .SelectEntryPos( (USHORT)pLocalOptions->GetObjMode(VOBJ_TYPE_DRAW) );
+ aRowColHeaderCB.Check( pLocalOptions->GetOption(VOPT_HEADER) );
+ aHScrollCB .Check( pLocalOptions->GetOption(VOPT_HSCROLL) );
+ aVScrollCB .Check( pLocalOptions->GetOption(VOPT_VSCROLL) );
+ aTblRegCB .Check( pLocalOptions->GetOption(VOPT_TABCONTROLS) );
+ aOutlineCB .Check( pLocalOptions->GetOption(VOPT_OUTLINER) );
+
+ InitGridOpt();
+
+ aBreakCB.Check( pLocalOptions->GetOption(VOPT_PAGEBREAKS) );
+ aGuideLineCB.Check( pLocalOptions->GetOption(VOPT_HELPLINES) );
+ aHandleCB.Check( !pLocalOptions->GetOption(VOPT_SOLIDHANDLES) ); // inverted
+ aBigHandleCB.Check( pLocalOptions->GetOption(VOPT_BIGHANDLES) );
+
+ if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SC_INPUT_RANGEFINDER, FALSE, &pItem))
+ aRangeFindCB.Check(((const SfxBoolItem*)pItem)->GetValue());
+
+ aRangeFindCB.SaveValue();
aFormulaCB .SaveValue();
aNilCB .SaveValue();
@@ -197,8 +271,17 @@ void ScTpContentOptions::Reset( const SfxItemSet& rCoreSet )
aObjGrfLB .SaveValue();
aDiagramLB .SaveValue();
aDrawLB .SaveValue();
-
-
+ aRowColHeaderCB .SaveValue();
+ aHScrollCB .SaveValue();
+ aVScrollCB .SaveValue();
+ aTblRegCB .SaveValue();
+ aOutlineCB .SaveValue();
+ aGridCB .SaveValue();
+ aColorLB .SaveValue();
+ aBreakCB .SaveValue();
+ aGuideLineCB .SaveValue();
+ aHandleCB .SaveValue();
+ aBigHandleCB .SaveValue();
}
/*-----------------11.01.97 12.45-------------------
@@ -246,7 +329,7 @@ IMPL_LINK( ScTpContentOptions, SelLbObjHdl, ListBox*, pLb )
IMPL_LINK( ScTpContentOptions, CBHdl, CheckBox*, pBtn )
{
- ScViewOption eOption = VOPT_FORMULAS;
+ ScViewOption eOption;
BOOL bChecked = pBtn->IsChecked();
if ( &aFormulaCB == pBtn ) eOption = VOPT_FORMULAS;
@@ -255,223 +338,30 @@ IMPL_LINK( ScTpContentOptions, CBHdl, CheckBox*, pBtn )
else if ( &aValueCB == pBtn ) eOption = VOPT_SYNTAX;
else if ( &aAnchorCB == pBtn ) eOption = VOPT_ANCHOR;
else if ( &aClipMarkCB == pBtn ) eOption = VOPT_CLIPMARKS;
+ else if ( &aVScrollCB == pBtn ) eOption = VOPT_VSCROLL;
+ else if ( &aHScrollCB == pBtn ) eOption = VOPT_HSCROLL;
+ else if ( &aTblRegCB == pBtn ) eOption = VOPT_TABCONTROLS;
+ else if ( &aOutlineCB == pBtn ) eOption = VOPT_OUTLINER;
+ else if ( &aBreakCB == pBtn ) eOption = VOPT_PAGEBREAKS;
+ else if ( &aGuideLineCB == pBtn ) eOption = VOPT_HELPLINES;
+ else if ( &aHandleCB == pBtn ) eOption = VOPT_SOLIDHANDLES;
+ else if ( &aBigHandleCB == pBtn ) eOption = VOPT_BIGHANDLES;
+ else if ( &aRowColHeaderCB == pBtn ) eOption = VOPT_HEADER;
- pLocalOptions->SetOption( eOption, bChecked );
-
- return NULL;
-}
-/*-----------------11.01.97 10.53-------------------
-
---------------------------------------------------*/
-
-ScTpLayoutOptions::ScTpLayoutOptions( Window* pParent,
- const SfxItemSet& rArgSet ) :
- SfxTabPage(pParent, ScResId( RID_SCPAGE_LAYOUT ), rArgSet),
- aWindowGB( this, ResId(GB_WINDOW )),
- aRowColHeaderCB(this, ResId(CB_ROWCOLHEADER )),
- aHScrollCB( this, ResId(CB_HSCROLL )),
- aVScrollCB( this, ResId(CB_VSCROLL )),
- aTblRegCB( this, ResId(CB_TBLREG )),
- aOutlineCB( this, ResId(CB_OUTLINE )),
- aLinesGB( this, ResId(GB_LINES )),
- aGridCB( this, ResId(CB_GRID )),
- aColorFT( this, ResId(FT_COLOR )),
- aColorLB( this, ResId(LB_COLOR )),
- aBreakCB( this, ResId(CB_PAGEBREAKS )),
- aGuideLineCB( this, ResId(CB_GUIDELINE )),
- aHandleCB( this, ResId(CB_HANDLES )),
- aBigHandleCB( this, ResId(CB_BIGHANDLES )),
- aUnitGB( this, ResId(GB_UNIT )),
- aUnitLB( this, ResId(LB_UNIT )),
- aUnitArr( ResId(ST_UNIT )),
- aTabGB( this, ResId( GB_TAB )),
- aTabMF( this, ResId( MF_TAB )),
- pLocalOptions(0)
-{
- FreeResource();
- SetExchangeSupport();
-
- aGridCB .SetClickHdl( LINK( this, ScTpLayoutOptions, GridHdl ) );
- aVScrollCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aHScrollCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aTblRegCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aOutlineCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aBreakCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aGuideLineCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aHandleCB .SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aBigHandleCB.SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aRowColHeaderCB.SetClickHdl( LINK( this, ScTpLayoutOptions, CBHdl ) );
- aUnitLB. SetSelectHdl( LINK( this, ScTpLayoutOptions, MetricHdl ) );
-
- for ( USHORT i = 0; i < aUnitArr.Count(); ++i )
- {
- String sMetric = aUnitArr.GetStringByPos( i );
- FieldUnit eFUnit = (FieldUnit)aUnitArr.GetValue( i );
-
- switch ( eFUnit )
- {
- case FUNIT_MM:
- case FUNIT_CM:
- case FUNIT_POINT:
- case FUNIT_PICA:
- case FUNIT_INCH:
- {
- // nur diese Metriken benutzen
- USHORT nPos = aUnitLB.InsertEntry( sMetric );
- aUnitLB.SetEntryData( nPos, (void*)(long)eFUnit );
- }
- }
- }
-
-}
-/*-----------------11.01.97 10.53-------------------
-
---------------------------------------------------*/
-
-ScTpLayoutOptions::~ScTpLayoutOptions()
-{
- delete pLocalOptions;
-}
-/*-----------------11.01.97 10.53-------------------
-
---------------------------------------------------*/
-
-SfxTabPage* ScTpLayoutOptions::Create( Window* pParent,
- const SfxItemSet& rCoreSet )
-{
- return new ScTpLayoutOptions(pParent, rCoreSet);
-}
-/*-----------------11.01.97 10.53-------------------
-
---------------------------------------------------*/
-
-BOOL ScTpLayoutOptions::FillItemSet( SfxItemSet& rCoreSet )
-{
- BOOL bRet = TRUE;
- if( aGridCB .GetSavedValue() != aGridCB.IsChecked() ||
- aRowColHeaderCB .GetSavedValue() != aRowColHeaderCB.IsChecked() ||
- aHScrollCB .GetSavedValue() != aHScrollCB .IsChecked() ||
- aVScrollCB .GetSavedValue() != aVScrollCB .IsChecked() ||
- aTblRegCB .GetSavedValue() != aTblRegCB .IsChecked() ||
- aOutlineCB .GetSavedValue() != aOutlineCB .IsChecked() ||
- aColorLB .GetSavedValue() != aColorLB .GetSelectEntryPos() ||
- aBreakCB .GetSavedValue() != aBreakCB .IsChecked() ||
- aGuideLineCB .GetSavedValue() != aGuideLineCB .IsChecked() ||
- aHandleCB .GetSavedValue() != aHandleCB .IsChecked() ||
- aBigHandleCB .GetSavedValue() != aBigHandleCB .IsChecked())
- {
- pLocalOptions->SetGridColor( aColorLB.GetSelectEntryColor(),
- aColorLB.GetSelectEntry() );
- rCoreSet.Put(ScTpViewItem(SID_SCVIEWOPTIONS, *pLocalOptions));
- bRet = TRUE;
- }
- const USHORT nMPos = aUnitLB.GetSelectEntryPos();
- if ( nMPos != aUnitLB.GetSavedValue() )
- {
- USHORT nFieldUnit = (USHORT)(long)aUnitLB.GetEntryData( nMPos );
- rCoreSet.Put( SfxUInt16Item( SID_ATTR_METRIC,
- (UINT16)nFieldUnit ) );
- bRet = TRUE;
- }
-
- if(aTabMF.GetText() != aTabMF.GetSavedValue())
- {
- rCoreSet.Put(SfxUInt16Item(SID_ATTR_DEFTABSTOP,
- aTabMF.Denormalize(aTabMF.GetValue(FUNIT_TWIP))));
- bRet = TRUE;
- }
-
- return bRet;
-}
-/*-----------------11.01.97 10.53-------------------
-
---------------------------------------------------*/
-
-void ScTpLayoutOptions::Reset( const SfxItemSet& rCoreSet )
-{
- const SfxPoolItem* pItem;
- if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SCVIEWOPTIONS, FALSE , &pItem))
- pLocalOptions = new ScViewOptions(
- ((const ScTpViewItem*)pItem)->GetViewOptions() );
+ // VOPT_SOLIDHANDLES is inverted (CheckBox is "simple handles")
+ if ( eOption == VOPT_SOLIDHANDLES )
+ pLocalOptions->SetOption( eOption, !bChecked );
else
- pLocalOptions = new ScViewOptions;
-
- aRowColHeaderCB.Check( pLocalOptions->GetOption(VOPT_HEADER) );
- aHScrollCB .Check( pLocalOptions->GetOption(VOPT_HSCROLL) );
- aVScrollCB .Check( pLocalOptions->GetOption(VOPT_VSCROLL) );
- aTblRegCB .Check( pLocalOptions->GetOption(VOPT_TABCONTROLS) );
- aOutlineCB .Check( pLocalOptions->GetOption(VOPT_OUTLINER) );
-
- InitGridOpt();
-
- aBreakCB.Check( pLocalOptions->GetOption(VOPT_PAGEBREAKS) );
- aGuideLineCB.Check( pLocalOptions->GetOption(VOPT_HELPLINES) );
- aHandleCB.Check( !pLocalOptions->GetOption(VOPT_SOLIDHANDLES) ); // inverted
- aBigHandleCB.Check( pLocalOptions->GetOption(VOPT_BIGHANDLES) );
-
- aUnitLB.SetNoSelection();
- if ( rCoreSet.GetItemState( SID_ATTR_METRIC ) >= SFX_ITEM_AVAILABLE )
- {
- const SfxUInt16Item& rItem = (SfxUInt16Item&)rCoreSet.Get( SID_ATTR_METRIC );
- FieldUnit eFieldUnit = (FieldUnit)rItem.GetValue();
-
- for ( USHORT i = 0; i < aUnitLB.GetEntryCount(); ++i )
- {
- if ( (FieldUnit)(long)aUnitLB.GetEntryData( i ) == eFieldUnit )
- {
- aUnitLB.SelectEntryPos( i );
- break;
- }
- }
- ::SetFieldUnit(aTabMF, eFieldUnit);
- }
- aUnitLB.SaveValue();
-
- if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_ATTR_DEFTABSTOP, FALSE, &pItem))
- aTabMF.SetValue(aTabMF.Normalize(((SfxUInt16Item*)pItem)->GetValue()), FUNIT_TWIP);
- aTabMF.SaveValue();
-
- aRowColHeaderCB .SaveValue();
- aHScrollCB .SaveValue();
- aVScrollCB .SaveValue();
- aTblRegCB .SaveValue();
- aOutlineCB .SaveValue();
- aGridCB .SaveValue();
- aColorLB .SaveValue();
- aBreakCB .SaveValue();
- aGuideLineCB .SaveValue();
- aHandleCB .SaveValue();
- aBigHandleCB .SaveValue();
- aUnitLB .SaveValue();
- aTabMF .SaveValue();
-}
-
-/*-----------------11.01.97 12.46-------------------
-
---------------------------------------------------*/
-
-void ScTpLayoutOptions::ActivatePage( const SfxItemSet& rCoreSet)
-{
- const SfxPoolItem* pItem;
- if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SCVIEWOPTIONS, FALSE , &pItem))
- *pLocalOptions = ((const ScTpViewItem*)pItem)->GetViewOptions();
-}
-/*-----------------11.01.97 12.46-------------------
+ pLocalOptions->SetOption( eOption, bChecked );
---------------------------------------------------*/
-int ScTpLayoutOptions::DeactivatePage( SfxItemSet* pSet )
-{
- if(pSet)
- FillItemSet(*pSet);
- return SfxTabPage::LEAVE_PAGE;
+ return NULL;
}
-
/*-----------------11.01.97 13.13-------------------
--------------------------------------------------*/
-void ScTpLayoutOptions::InitGridOpt()
+void ScTpContentOptions::InitGridOpt()
{
BOOL bGrid = pLocalOptions->GetOption( VOPT_GRID );
@@ -539,12 +429,11 @@ void ScTpLayoutOptions::InitGridOpt()
else
aColorLB.SelectEntryPos( aColorLB.InsertEntry( aCol, aName ) );
}
-
/*-----------------11.01.97 13.40-------------------
--------------------------------------------------*/
-IMPL_LINK( ScTpLayoutOptions, GridHdl, CheckBox*, pBox )
+IMPL_LINK( ScTpContentOptions, GridHdl, CheckBox*, pBox )
{
BOOL bChecked = pBox->IsChecked();
aColorFT.Enable(bChecked);
@@ -552,125 +441,220 @@ IMPL_LINK( ScTpLayoutOptions, GridHdl, CheckBox*, pBox )
pLocalOptions->SetOption( VOPT_GRID, bChecked );
return 0;
}
-/*-----------------11.01.97 14.25-------------------
-
---------------------------------------------------*/
-
-IMPL_LINK( ScTpLayoutOptions, CBHdl, CheckBox*, pBtn )
-{
- ScViewOption eOption;
- BOOL bChecked = pBtn->IsChecked();
-
- if ( &aVScrollCB == pBtn ) eOption = VOPT_VSCROLL;
- else if ( &aHScrollCB == pBtn ) eOption = VOPT_HSCROLL;
- else if ( &aTblRegCB == pBtn ) eOption = VOPT_TABCONTROLS;
- else if ( &aOutlineCB == pBtn ) eOption = VOPT_OUTLINER;
- else if ( &aBreakCB == pBtn ) eOption = VOPT_PAGEBREAKS;
- else if ( &aGuideLineCB == pBtn ) eOption = VOPT_HELPLINES;
- else if ( &aHandleCB == pBtn ) eOption = VOPT_SOLIDHANDLES;
- else if ( &aBigHandleCB == pBtn ) eOption = VOPT_BIGHANDLES;
- else if ( &aRowColHeaderCB == pBtn ) eOption = VOPT_HEADER;
-
- // VOPT_SOLIDHANDLES is inverted (CheckBox is "simple handles")
- if ( eOption == VOPT_SOLIDHANDLES )
- pLocalOptions->SetOption( eOption, !bChecked );
- else
- pLocalOptions->SetOption( eOption, bChecked );
+/*-----------------11.01.97 10.53-------------------
- return NULL;
-}
-/*-----------------13.01.97 14.44-------------------
- Metric des Deftabstops umschalten
--------------------------------------------------*/
-IMPL_LINK(ScTpLayoutOptions, MetricHdl, ListBox*, EMPTYARG)
-{
- const USHORT nMPos = aUnitLB.GetSelectEntryPos();
- if(nMPos != USHRT_MAX)
- {
- FieldUnit eFieldUnit = (FieldUnit)(long)aUnitLB.GetEntryData( nMPos );
- long nVal =
- aTabMF.Denormalize( aTabMF.GetValue( FUNIT_TWIP ) );
- ::SetFieldUnit( aTabMF, eFieldUnit );
- aTabMF.SetValue( aTabMF.Normalize( nVal ), FUNIT_TWIP );
- }
-
- return 0;
-}
-/*-----------------11.01.97 14.52-------------------
+ScTpLayoutOptions::ScTpLayoutOptions( Window* pParent,
+ const SfxItemSet& rArgSet ) :
+ SfxTabPage(pParent, ScResId( RID_SCPAGE_LAYOUT ), rArgSet),
+ aUnitGB( this, ResId(GB_UNIT )),
+ aUnitFT( this, ResId(FT_UNIT )),
+ aUnitLB( this, ResId(LB_UNIT )),
+ aTabFT( this, ResId( FT_TAB )),
+ aTabMF( this, ResId( MF_TAB )),
---------------------------------------------------*/
+ aLinkFT(this, ResId(FT_UPDATE_LINKS )),
+ aAlwaysRB (this, ResId(RB_ALWAYS )),
+ aRequestRB (this, ResId(RB_REQUEST )),
+ aNeverRB (this, ResId(RB_NEVER )),
+ aLinkGB (this, ResId(GB_LINK )),
-ScTpInputOptions::ScTpInputOptions( Window* pParent,
- const SfxItemSet& rArgSet ) :
- SfxTabPage(pParent, ScResId( RID_SCPAGE_INPUT ), rArgSet),
aOptionsGB( this, ResId( GB_OPTIONS )),
aAlignCB ( this, ResId( CB_ALIGN )),
aAlignLB ( this, ResId( LB_ALIGN )),
aEditModeCB( this, ResId( CB_EDITMODE )),
aFormatCB( this, ResId( CB_FORMAT )),
- aRangeFindCB( this, ResId( CB_RFIND )),
aExpRefCB( this, ResId( CB_EXPREF )),
- aMarkHdrCB( this, ResId( CB_MARKHDR ))
+ aMarkHdrCB( this, ResId( CB_MARKHDR )),
+ aUnitArr( ResId(ST_UNIT )),
+ pDoc(NULL),
+ pLocalOptions(0)
{
FreeResource();
- aAlignCB.SetClickHdl(LINK(this, ScTpInputOptions, AlignHdl));
+ SetExchangeSupport();
+
+ aUnitLB. SetSelectHdl( LINK( this, ScTpLayoutOptions, MetricHdl ) );
+
+ aAlignCB.SetClickHdl(LINK(this, ScTpLayoutOptions, AlignHdl));
+
+
+ for ( USHORT i = 0; i < aUnitArr.Count(); ++i )
+ {
+ String sMetric = aUnitArr.GetStringByPos( i );
+ FieldUnit eFUnit = (FieldUnit)aUnitArr.GetValue( i );
+
+ switch ( eFUnit )
+ {
+ case FUNIT_MM:
+ case FUNIT_CM:
+ case FUNIT_POINT:
+ case FUNIT_PICA:
+ case FUNIT_INCH:
+ {
+ // nur diese Metriken benutzen
+ USHORT nPos = aUnitLB.InsertEntry( sMetric );
+ aUnitLB.SetEntryData( nPos, (void*)(long)eFUnit );
+ }
+ }
+ }
+
}
-/*-----------------11.01.97 14.52-------------------
+/*-----------------11.01.97 10.53-------------------
--------------------------------------------------*/
-ScTpInputOptions::~ScTpInputOptions()
+ScTpLayoutOptions::~ScTpLayoutOptions()
{
+ delete pLocalOptions;
}
-
-/*-----------------11.01.97 14.52-------------------
+/*-----------------11.01.97 10.53-------------------
--------------------------------------------------*/
-SfxTabPage* ScTpInputOptions::Create( Window* pParent,
- const SfxItemSet& rCoreSet )
+SfxTabPage* ScTpLayoutOptions::Create( Window* pParent,
+ const SfxItemSet& rCoreSet )
{
- return new ScTpInputOptions(pParent, rCoreSet);
+ ScTpLayoutOptions* pNew = new ScTpLayoutOptions(pParent, rCoreSet);
+ ScDocShell* pDocSh = PTR_CAST(ScDocShell,SfxObjectShell::Current());
+
+ if(pDocSh!=NULL)
+ pNew->SetDocument(pDocSh->GetDocument());
+ return pNew;
}
-/*-----------------11.01.97 14.51-------------------
+/*-----------------11.01.97 10.53-------------------
--------------------------------------------------*/
-BOOL ScTpInputOptions::FillItemSet( SfxItemSet& rCoreSet )
+BOOL ScTpLayoutOptions::FillItemSet( SfxItemSet& rCoreSet )
{
BOOL bRet = TRUE;
+ const USHORT nMPos = aUnitLB.GetSelectEntryPos();
+ if ( nMPos != aUnitLB.GetSavedValue() )
+ {
+ USHORT nFieldUnit = (USHORT)(long)aUnitLB.GetEntryData( nMPos );
+ rCoreSet.Put( SfxUInt16Item( SID_ATTR_METRIC,
+ (UINT16)nFieldUnit ) );
+ bRet = TRUE;
+ }
+
+ if(aTabMF.GetText() != aTabMF.GetSavedValue())
+ {
+ rCoreSet.Put(SfxUInt16Item(SID_ATTR_DEFTABSTOP,
+ aTabMF.Denormalize(aTabMF.GetValue(FUNIT_TWIP))));
+ bRet = TRUE;
+ }
+
+ ScLkUpdMode nSet=LM_ALWAYS;
+ if(aRequestRB.IsChecked())
+ {
+ nSet=LM_ON_DEMAND;
+ }
+ else if(aNeverRB.IsChecked())
+ {
+ nSet=LM_NEVER;
+ }
+
+ if(aRequestRB.IsChecked() != aNeverRB.GetSavedValue() ||
+ aNeverRB.IsChecked() != aRequestRB.GetSavedValue() )
+ {
+ if(pDoc)
+ pDoc->SetLinkMode(nSet);
+ ScAppOptions aAppOptions=SC_MOD()->GetAppOptions();
+ aAppOptions.SetLinkMode(nSet );
+ SC_MOD()->SetAppOptions(aAppOptions);
+ bRet = TRUE;
+ }
if(aAlignCB.GetSavedValue() != aAlignCB.IsChecked())
+ {
rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_SELECTION, aAlignCB.IsChecked()));
+ bRet = TRUE;
+ }
if(aAlignLB.GetSavedValue() != aAlignLB.GetSelectEntryPos())
+ {
rCoreSet.Put(SfxUInt16Item(SID_SC_INPUT_SELECTIONPOS, aAlignLB.GetSelectEntryPos()));
+ bRet = TRUE;
+ }
if(aEditModeCB.GetSavedValue() != aEditModeCB.IsChecked())
+ {
rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_EDITMODE, aEditModeCB.IsChecked()));
+ bRet = TRUE;
+ }
if(aFormatCB.GetSavedValue() != aFormatCB.IsChecked())
+ {
rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_FMT_EXPAND, aFormatCB.IsChecked()));
+ bRet = TRUE;
+ }
- if(aRangeFindCB.GetSavedValue() != aRangeFindCB.IsChecked())
- rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_RANGEFINDER, aRangeFindCB.IsChecked()));
if(aExpRefCB.GetSavedValue() != aExpRefCB.IsChecked())
+ {
rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_REF_EXPAND, aExpRefCB.IsChecked()));
+ bRet = TRUE;
+ }
if(aMarkHdrCB.GetSavedValue() != aMarkHdrCB.IsChecked())
+ {
rCoreSet.Put(SfxBoolItem(SID_SC_INPUT_MARK_HEADER, aMarkHdrCB.IsChecked()));
-
+ bRet = TRUE;
+ }
return bRet;
}
-/*-----------------11.01.97 14.51-------------------
+/*-----------------11.01.97 10.53-------------------
--------------------------------------------------*/
-void ScTpInputOptions::Reset( const SfxItemSet& rCoreSet )
+void ScTpLayoutOptions::Reset( const SfxItemSet& rCoreSet )
{
+ aUnitLB.SetNoSelection();
+ if ( rCoreSet.GetItemState( SID_ATTR_METRIC ) >= SFX_ITEM_AVAILABLE )
+ {
+ const SfxUInt16Item& rItem = (SfxUInt16Item&)rCoreSet.Get( SID_ATTR_METRIC );
+ FieldUnit eFieldUnit = (FieldUnit)rItem.GetValue();
+
+ for ( USHORT i = 0; i < aUnitLB.GetEntryCount(); ++i )
+ {
+ if ( (FieldUnit)(long)aUnitLB.GetEntryData( i ) == eFieldUnit )
+ {
+ aUnitLB.SelectEntryPos( i );
+ break;
+ }
+ }
+ ::SetFieldUnit(aTabMF, eFieldUnit);
+ }
+ aUnitLB.SaveValue();
+
const SfxPoolItem* pItem;
+ if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_ATTR_DEFTABSTOP, FALSE, &pItem))
+ aTabMF.SetValue(aTabMF.Normalize(((SfxUInt16Item*)pItem)->GetValue()), FUNIT_TWIP);
+ aTabMF.SaveValue();
+
+ aUnitLB .SaveValue();
+ aTabMF .SaveValue();
+
+ ScLkUpdMode nSet=LM_UNKNOWN;
+
+ if(pDoc!=NULL)
+ {
+ nSet=pDoc->GetLinkMode();
+ }
+
+ if(nSet==LM_UNKNOWN)
+ {
+ ScAppOptions aAppOptions=SC_MOD()->GetAppOptions();
+ nSet=aAppOptions.GetLinkMode();
+ }
+
+ switch(nSet)
+ {
+ case LM_ALWAYS: aAlwaysRB. Check(); break;
+ case LM_NEVER: aNeverRB. Check(); break;
+ case LM_ON_DEMAND: aRequestRB. Check(); break;
+ }
if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SC_INPUT_SELECTION, FALSE, &pItem))
aAlignCB.Check(((const SfxBoolItem*)pItem)->GetValue());
@@ -683,8 +667,6 @@ void ScTpInputOptions::Reset( const SfxItemSet& rCoreSet )
if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SC_INPUT_FMT_EXPAND, FALSE, &pItem))
aFormatCB.Check(((const SfxBoolItem*)pItem)->GetValue());
- if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SC_INPUT_RANGEFINDER, FALSE, &pItem))
- aRangeFindCB.Check(((const SfxBoolItem*)pItem)->GetValue());
if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SC_INPUT_REF_EXPAND, FALSE, &pItem))
aExpRefCB.Check(((const SfxBoolItem*)pItem)->GetValue());
@@ -696,21 +678,63 @@ void ScTpInputOptions::Reset( const SfxItemSet& rCoreSet )
aAlignLB .SaveValue();
aEditModeCB .SaveValue();
aFormatCB .SaveValue();
- aRangeFindCB.SaveValue();
+
aExpRefCB .SaveValue();
aMarkHdrCB .SaveValue();
AlignHdl(&aAlignCB);
+
+ aAlwaysRB.SaveValue();
+ aNeverRB.SaveValue();
+ aRequestRB.SaveValue();
}
-/*-----------------11.01.97 15.30-------------------
+/*-----------------11.01.97 12.46-------------------
--------------------------------------------------*/
-IMPL_LINK( ScTpInputOptions, AlignHdl, CheckBox*, pBox )
+void ScTpLayoutOptions::ActivatePage( const SfxItemSet& rCoreSet)
{
- aAlignLB.Enable(pBox->IsChecked());
+ const SfxPoolItem* pItem;
+ if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SCVIEWOPTIONS, FALSE , &pItem))
+ *pLocalOptions = ((const ScTpViewItem*)pItem)->GetViewOptions();
+}
+/*-----------------11.01.97 12.46-------------------
+
+--------------------------------------------------*/
+
+int ScTpLayoutOptions::DeactivatePage( SfxItemSet* pSet )
+{
+ if(pSet)
+ FillItemSet(*pSet);
+ return SfxTabPage::LEAVE_PAGE;
+}
+
+
+/*-----------------13.01.97 14.44-------------------
+ Metric des Deftabstops umschalten
+--------------------------------------------------*/
+
+IMPL_LINK(ScTpLayoutOptions, MetricHdl, ListBox*, EMPTYARG)
+{
+ const USHORT nMPos = aUnitLB.GetSelectEntryPos();
+ if(nMPos != USHRT_MAX)
+ {
+ FieldUnit eFieldUnit = (FieldUnit)(long)aUnitLB.GetEntryData( nMPos );
+ long nVal =
+ aTabMF.Denormalize( aTabMF.GetValue( FUNIT_TWIP ) );
+ ::SetFieldUnit( aTabMF, eFieldUnit );
+ aTabMF.SetValue( aTabMF.Normalize( nVal ), FUNIT_TWIP );
+ }
+
return 0;
}
+/*-----------------11.01.97 15.30-------------------
+--------------------------------------------------*/
+IMPL_LINK( ScTpLayoutOptions, AlignHdl, CheckBox*, pBox )
+{
+ aAlignLB.Enable(pBox->IsChecked());
+ return 0;
+}
diff --git a/sc/source/ui/src/makefile.mk b/sc/source/ui/src/makefile.mk
index 7d00f72c666c..e1ba83ad9031 100644
--- a/sc/source/ui/src/makefile.mk
+++ b/sc/source/ui/src/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: hr $ $Date: 2000-09-18 16:45:05 $
+# last change: $Author: os $ $Date: 2001-03-28 13:27:59 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -107,7 +107,6 @@ SRCFILES = \
scfuncs.src \
crnrdlg.src \
condfrmt.src \
- optload.src\
opredlin.src \
simpref.src
diff --git a/sc/source/ui/src/opredlin.src b/sc/source/ui/src/opredlin.src
index f041c682ade4..46db04bfc21f 100644
--- a/sc/source/ui/src/opredlin.src
+++ b/sc/source/ui/src/opredlin.src
@@ -2,9 +2,9 @@
*
* $RCSfile: opredlin.src,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: kz $ $Date: 2001-03-09 21:01:10 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:27:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -172,10 +172,10 @@ TabPage RID_SCPAGE_OPREDLINE
Text[ turkish ] = "~Tanan giriler";
Text[ language_user1 ] = " ";
};
- GroupBox GB_COLORCHGS
+ FixedLine GB_COLORCHGS
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 248 , 76 ) ;
+ Size = MAP_APPFONT ( 248 , 8 ) ;
Text = "Farbgebung fr nderungen" ;
Text [ ENGLISH ] = "Colors for Changes" ;
Text [ portuguese ] = "Cores para modificaes" ;
diff --git a/sc/source/ui/src/optdlg.src b/sc/source/ui/src/optdlg.src
index 0e69a086e899..7e5a2f9b11ea 100644
--- a/sc/source/ui/src/optdlg.src
+++ b/sc/source/ui/src/optdlg.src
@@ -2,9 +2,9 @@
*
* $RCSfile: optdlg.src,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: rt $ $Date: 2001-03-21 21:06:22 $
+ * last change: $Author: os $ $Date: 2001-03-28 13:27:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,255 +61,8 @@
#include "optdlg.hrc"
-/**************************************************************************/
-/* */
-/* */
-/* */
-/**************************************************************************/
-
-
-TabDialog RID_SCDLG_OPTIONS
-{
- OutputSize = TRUE ;
- SVLook = TRUE ;
- Size = MAP_APPFONT ( 271 , 151 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? Optionen Tabellendokument : Optionen Allgemein */
- Text = "Optionen Tabellendokument" ;
- Text [ ENGLISH ] = "Table Options" ;
- Moveable = TRUE ;
- TabControl 1
- {
- OutputSize = TRUE ;
- Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 135 ) ;
- PageList =
- {
- //! TP_VIEW soll noch mal aufgeteilt werden
- /* PageItem
- {
- Identifier = TP_VIEW ;
- Text = "Ansicht" ;
- Text [ ENGLISH ] = "View" ;
- Text [ norwegian ] = "View" ;
- Text [ italian ] = "Visualizza" ;
- Text [ portuguese_brazilian ] = "Ver" ;
- Text [ portuguese ] = "Ver" ;
- Text [ finnish ] = "Nyt" ;
- Text [ danish ] = "Bese" ;
- Text [ french ] = "Affichage" ;
- Text [ swedish ] = "Vy" ;
- Text [ dutch ] = "Beel~d" ;
- Text [ spanish ] = "Mostrar" ;
- Text [ english_us ] = "View" ;
- };*/
- PageItem
- {
- Identifier = TP_CONTENT ;
- Text = "Inhalte" ;
- Text [ ENGLISH ] = "Contents" ;
- Text [ english_us ] = "Contents" ;
- Text [ italian ] = "Contenuti" ;
- Text [ spanish ] = "Contenidos" ;
- Text [ french ] = "Contenu" ;
- Text [ dutch ] = "Inhoud" ;
- Text [ swedish ] = "Innehll" ;
- Text [ danish ] = "Indhold" ;
- Text [ portuguese_brazilian ] = "Inhalte" ;
- Text [ portuguese ] = "Contedos" ;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Zawartoci";
- Text[ japanese ] = "e";
- Text[ chinese_traditional ] = "e";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "";
- Text[ turkish ] = "erik";
- Text[ language_user1 ] = " ";
- };
- PageItem
- {
- Identifier = TP_LAYOUT ;
- Text = "Layout" ;
- Text [ ENGLISH ] = "Layout" ;
- Text [ english_us ] = "Layout" ;
- Text [ italian ] = "Layout" ;
- Text [ spanish ] = "Diseo" ;
- Text [ french ] = "Mise en page" ;
- Text [ dutch ] = "Lay-out" ;
- Text [ swedish ] = "Layout" ;
- Text [ danish ] = "Layout" ;
- Text [ portuguese_brazilian ] = "Layout" ;
- Text [ portuguese ] = "Configurao" ;
- Text[ chinese_simplified ] = "ʽ";
- Text[ russian ] = "";
- Text[ polish ] = "Ukad";
- Text[ japanese ] = "ڲ";
- Text[ language_user1 ] = " ";
- Text[ chinese_traditional ] = "";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "̾ƿ";
- Text[ turkish ] = "Dzen";
- };
- PageItem
- {
- Identifier = TP_INPUT ;
- Text = "Eingabe" ;
- Text [ ENGLISH ] = "Input" ;
- Text [ english_us ] = "Input" ;
- Text [ swedish ] = "Inmatning" ;
- Text [ danish ] = "Input" ;
- Text [ italian ] = "Digitazione" ;
- Text [ spanish ] = "Entrada" ;
- Text [ french ] = "Saisie" ;
- Text [ dutch ] = "Invoer" ;
- Text [ portuguese_brazilian ] = "Eingabe" ;
- Text [ portuguese ] = "Entrada" ;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Wpis";
- Text[ japanese ] = "";
- Text[ chinese_traditional ] = "J";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "Է";
- Text[ turkish ] = "Giri";
- Text[ language_user1 ] = " ";
- };
- PageItem
- {
- // Identifier = RID_SVXPAGE_GRID;
- Identifier = TP_GRID ;
- Text = "Raster" ;
- Text [ ENGLISH ] = "Grid" ;
- Text [ norwegian ] = "Grid" ;
- Text [ italian ] = "Griglia" ;
- Text [ portuguese_brazilian ] = "Grade" ;
- Text [ portuguese ] = "Grelha" ;
- Text [ finnish ] = "Taustaruudukko" ;
- Text [ danish ] = "Gitter" ;
- Text [ french ] = "Grille" ;
- Text [ swedish ] = "Raster" ;
- Text [ dutch ] = "Raster" ;
- Text [ spanish ] = "Cuadrcula" ;
- Text [ english_us ] = "Grid" ;
- // PageResID = 263;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Raster";
- Text[ japanese ] = "د";
- Text[ chinese_traditional ] = "";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "";
- Text[ turkish ] = "Klavuz izgileri";
- Text[ language_user1 ] = " ";
- };
- PageItem
- {
- Identifier = TP_USERLISTS ;
- Text = "Sortierlisten" ;
- Text [ ENGLISH ] = "Sort Lists" ;
- Text [ norwegian ] = "Sort Lists" ;
- Text [ italian ] = "Elenchi" ;
- Text [ portuguese_brazilian ] = "Listas de Ordenao" ;
- Text [ portuguese ] = "Listas classificadas" ;
- Text [ finnish ] = "Luetteloiden lajittelu" ;
- Text [ danish ] = "Sorteringslister" ;
- Text [ french ] = "Listes de tri" ;
- Text [ swedish ] = "Sorteringslistor" ;
- Text [ dutch ] = "Reeksen" ;
- Text [ spanish ] = "Listas de clasificacin" ;
- Text [ english_us ] = "Sort Lists" ;
- Text[ chinese_simplified ] = "е";
- Text[ russian ] = "";
- Text[ polish ] = "Listy uytkownika";
- Text[ japanese ] = "ؽ";
- Text[ chinese_traditional ] = "ƧDzM";
- Text[ arabic ] = " ";
- Text[ greek ] = " ";
- Text[ korean ] = " ĸ";
- Text[ turkish ] = "Sralama listesi";
- Text[ language_user1 ] = " ";
- };
- PageItem
- {
- Identifier = TP_CALC ;
- Text = "Berechnen" ;
- Text [ ENGLISH ] = "Calc" ;
- Text [ norwegian ] = "Calc" ;
- Text [ italian ] = "Calcola" ;
- Text [ portuguese_brazilian ] = "Calc" ;
- Text [ portuguese ] = "Calcular" ;
- Text [ finnish ] = "Calc" ;
- Text [ danish ] = "Beregning" ;
- Text [ french ] = "Calcul" ;
- Text [ swedish ] = "Berkna" ;
- Text [ dutch ] = "Berekenen" ;
- Text [ spanish ] = "Calcular" ;
- Text [ english_us ] = "Calculation" ;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Oblicz";
- Text[ japanese ] = "vZ";
- Text[ chinese_traditional ] = "p";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "";
- Text[ turkish ] = "Hesaplama";
- Text[ language_user1 ] = " ";
- };
- PageItem
- {
- Identifier = TP_CHANGES ;
- Text = "nderungen" ;
- Text [ ENGLISH ] = "Changes" ;
- Text [ english_us ] = "Alterations" ;
- Text [ portuguese_brazilian ] = "nderungen" ;
- Text [ swedish ] = "ndringar" ;
- Text [ danish ] = "ndringer" ;
- Text [ italian ] = "Modifiche" ;
- Text [ spanish ] = "Modificaciones" ;
- Text [ french ] = "Modifications" ;
- Text [ dutch ] = "Wijzigingen" ;
- Text [ portuguese ] = "Modificaes" ;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Zmiany";
- Text[ japanese ] = "ύX";
- Text[ chinese_traditional ] = "ܧ";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "";
- Text[ turkish ] = "Deiiklik";
- Text[ language_user1 ] = " ";
- };
- };
- };
- Text [ english_us ] = "Spreadsheet Options" ;
- Text [ italian ] = "Opzioni fogli elettronici" ;
- Text [ spanish ] = "Opciones de hojas de clculo" ;
- Text [ french ] = "Options de classeur" ;
- Text [ dutch ] = "Werkbladopties" ;
- Text [ swedish ] = "Alternativ tabelldokument" ;
- Text [ danish ] = "Indstillinger regneark" ;
- Text [ portuguese_brazilian ] = "Optionen Tabellendokument" ;
- Text [ portuguese ] = "Opes folhas de clculo" ;
- Text[ chinese_simplified ] = "ĵѡ";
- Text[ russian ] = " ";
- Text[ polish ] = "Opcje arkusza kalkulacyjnego";
- Text[ japanese ] = "߼ \\vZ޷";
- Text[ chinese_traditional ] = "u@ﶵ";
- Text[ arabic ] = " ";
- Text[ greek ] = " ";
- Text[ korean ] = "Ʈ ɼ";
- Text[ turkish ] = "Tablo seenekleri";
- Text[ language_user1 ] = " ";
-};
-
#define LB_OBJECTMODE \
- Size = MAP_APPFONT ( 68 , 46 ) ; \
+ Size = MAP_APPFONT ( 40 , 46 ) ; \
Border = TRUE ; \
DropDown = TRUE ; \
StringList = \
@@ -564,11 +317,10 @@ TabPage RID_SCPAGE_CALC
Pos = MAP_APPFONT ( 74 , 43 ) ;
Size = MAP_APPFONT ( 40 , 12 ) ;
};
- GroupBox GB_ZREFS
+ FixedLine GB_ZREFS
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 114 , 62 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? Zirkulre Referenzen : Zirkulre Referenzen */
+ Size = MAP_APPFONT ( 114 , 8 ) ;
Text = "Zirkulre Referenzen" ;
Text [ ENGLISH ] = "~Circular References" ;
Text [ norwegian ] = "~Circular References" ;
@@ -733,10 +485,10 @@ TabPage RID_SCPAGE_CALC
Text[ language_user1 ] = " ";
QuickHelpText[ turkish ] = "Wert 0 entspricht dem 01.01.1904";
};
- GroupBox GB_DATE
+ FixedLine GB_DATE
{
Pos = MAP_APPFONT ( 126 , 3 ) ;
- Size = MAP_APPFONT ( 128 , 62 ) ;
+ Size = MAP_APPFONT ( 128 , 8 ) ;
Text = "Datum" ;
Text [ ENGLISH ] = "Date" ;
Text [ norwegian ] = "Date" ;
@@ -1282,10 +1034,166 @@ TabPage RID_SCPAGE_CONTENT
Hide = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( 260 , 185 ) ;
- GroupBox GB_DISPLAY
+ FixedLine GB_LINES
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 248 , 52 ) ;
+ Size = MAP_APPFONT ( 248 , 8 ) ;
+ Text = "Linien" ;
+ Text [ ENGLISH ] = "Visual aids" ;
+ };
+ CheckBox CB_GRID
+ {
+ Pos = MAP_APPFONT ( 12 , 14 ) ;
+ Size = MAP_APPFONT ( 100 , 10 ) ;
+ Text = "~Gitterlinien" ;
+ Text [ ENGLISH ] = "~Grid" ;
+ Text [ norwegian ] = "~Grid" ;
+ Text [ italian ] = "Linee della griglia" ;
+ Text [ portuguese_brazilian ] = "~Grade" ;
+ Text [ portuguese ] = "~Linhas da grelha" ;
+ Text [ finnish ] = "Taustav~iivat" ;
+ Text [ danish ] = "Gitterlinjer" ;
+ Text [ french ] = "Li~gnes de la grille" ;
+ Text [ swedish ] = "~Gitterlinjer" ;
+ Text [ dutch ] = "~Rasterlijnen" ;
+ Text [ spanish ] = "~Lneas de cuadrcula" ;
+ Text [ english_us ] = "~Grid Lines" ;
+ Text[ chinese_simplified ] = "(~G)";
+ Text[ russian ] = " ";
+ Text[ polish ] = "Linie siatki";
+ Text[ japanese ] = "دސ(~G)";
+ Text[ chinese_traditional ] = "u(~G)";
+ Text[ arabic ] = " ";
+ Text[ greek ] = " ~";
+ Text[ korean ] = "ݼ(~G)";
+ Text[ turkish ] = "~Klavuz izgileri";
+ Text[ language_user1 ] = " ";
+ };
+ FixedText FT_COLOR
+ {
+ Pos = MAP_APPFONT ( 22 , 29 ) ;
+ Size = MAP_APPFONT ( 23 , 8 ) ;
+ Text = "F~arbe" ;
+ Text [ ENGLISH ] = "~Color" ;
+ Text [ norwegian ] = "~Color" ;
+ Text [ italian ] = "~Colore" ;
+ Text [ portuguese_brazilian ] = "~Cor" ;
+ Text [ portuguese ] = "~Cor" ;
+ Text [ finnish ] = "~Vri" ;
+ Text [ danish ] = "Farve" ;
+ Text [ french ] = "~Couleur" ;
+ Text [ swedish ] = "F~rg" ;
+ Text [ dutch ] = "K~leur" ;
+ Text [ spanish ] = "C~olor" ;
+ Text [ english_us ] = "~Color" ;
+ Text[ chinese_simplified ] = "ɫ(~C)";
+ Text[ russian ] = "";
+ Text[ polish ] = "Kolor";
+ Text[ japanese ] = "F(~C)";
+ Text[ chinese_traditional ] = "C(~C)";
+ Text[ arabic ] = "";
+ Text[ greek ] = "";
+ Text[ korean ] = "(~C)";
+ Text[ turkish ] = "~Renk";
+ Text[ language_user1 ] = " ";
+ };
+ ListBox LB_COLOR
+ {
+ Border = TRUE ;
+ Pos = MAP_APPFONT ( 48 , 28 ) ;
+ Size = MAP_APPFONT ( 75 , 86 ) ;
+ DropDown = TRUE ;
+ DDExtraWidth = TRUE ;
+ };
+ CheckBox CB_PAGEBREAKS
+ {
+ Pos = MAP_APPFONT ( 12 , 44 ) ;
+ Size = MAP_APPFONT ( 100 , 10 ) ;
+ Text = "~Seitenumbrche" ;
+ Text [ ENGLISH ] = "Page breaks" ;
+ Text [ english_us ] = "~Page breaks" ;
+ Text [ portuguese_brazilian ] = "Seitenumbrche" ;
+ Text [ swedish ] = "~Sidbrytningar" ;
+ Text [ danish ] = "Sideskift" ;
+ Text [ italian ] = "Interruzioni pagina" ;
+ Text [ spanish ] = "~Saltos de pgina" ;
+ Text [ french ] = "~Sauts de pages" ;
+ Text [ dutch ] = "~Paginaeinde" ;
+ Text [ portuguese ] = "~Quebras de pgina" ;
+ Text[ chinese_simplified ] = "ҳ(~P)";
+ Text[ russian ] = " ";
+ Text[ polish ] = "Podziay ~strony";
+ Text[ japanese ] = "߰(~P)";
+ Text[ chinese_traditional ] = "(~P)";
+ Text[ arabic ] = " ";
+ Text[ greek ] = " ";
+ Text[ korean ] = " (~P)";
+ Text[ turkish ] = "~Sayfa sonu";
+ Text[ language_user1 ] = " ";
+ };
+ CheckBox CB_GUIDELINE
+ {
+ Pos = MAP_APPFONT ( 12 , 58 ) ;
+ Size = MAP_APPFONT ( 100 , 10 ) ;
+ Text = "H~ilfslinien whrend der Bewegung" ;
+ Text [ ENGLISH ] = "Guides while moving" ;
+ };
+ CheckBox CB_HANDLES
+ {
+ Pos = MAP_APPFONT ( 12 , 72 ) ;
+ Size = MAP_APPFONT ( 100 , 10 ) ;
+ Text = "~Einfache Griffe" ;
+ Text [ ENGLISH ] = "~Simple Handles" ;
+ Text[ english_us ] = "~Simple Handles";
+ Text[ portuguese ] = "Guias ~simples";
+ Text[ russian ] = " ";
+ Text[ greek ] = " ~";
+ Text[ dutch ] = "~Eenvoudige handvatten";
+ Text[ french ] = "~Poignes simples";
+ Text[ spanish ] = "Agarraderas ~sencillas";
+ Text[ italian ] = "~Maniglie semplici";
+ Text[ danish ] = "Enkelte hndtag";
+ Text[ swedish ] = "~Enkla handtag";
+ Text[ polish ] = "Proste uchwyty";
+ Text[ portuguese_brazilian ] = "~Farbige Handles";
+ Text[ japanese ] = "قȻޕύX(~S)";
+ Text[ korean ] = "ܼ ڵ(~S)";
+ Text[ chinese_simplified ] = "׼ص(~S)";
+ Text[ chinese_traditional ] = "зDZI(~S)";
+ Text[ arabic ] = " ";
+ Text[ turkish ] = "~Basit ekme noktalar";
+ Text[ language_user1 ] = " ";
+ };
+ CheckBox CB_BIGHANDLES
+ {
+ Pos = MAP_APPFONT ( 12 , 86 ) ;
+ Size = MAP_APPFONT ( 100 , 10 ) ;
+ Text = "Gr~oe Griffe" ;
+ Text [ ENGLISH ] = "~Big Handles" ;
+ Text[ english_us ] = "~Large Handles";
+ Text[ portuguese ] = "~Guias grandes";
+ Text[ russian ] = " ";
+ Text[ greek ] = " ~";
+ Text[ dutch ] = "~Grote handvatten";
+ Text[ french ] = "~Grandes poignes";
+ Text[ spanish ] = "Agarraderas g~randes";
+ Text[ italian ] = "Maniglie grandi";
+ Text[ danish ] = "Store hndtag";
+ Text[ swedish ] = "St~ora handtag";
+ Text[ polish ] = "~Due uchwyty";
+ Text[ portuguese_brazilian ] = "~Big Handles";
+ Text[ japanese ] = "傫ޕύX(~L)";
+ Text[ korean ] = " ڵ(~L)";
+ Text[ chinese_simplified ] = "ص(~L)";
+ Text[ chinese_traditional ] = "jI(~L)";
+ Text[ arabic ] = " ";
+ Text[ turkish ] = "B~yk ekme noktalar";
+ Text[ language_user1 ] = " ";
+ };
+ FixedLine GB_DISPLAY
+ {
+ Pos = MAP_APPFONT ( 130 , 3 ) ;
+ Size = MAP_APPFONT ( 120 , 8 ) ;
Text = "Anzeigen" ;
Text [ ENGLISH ] = "Display" ;
Text [ norwegian ] = "Display" ;
@@ -1312,7 +1220,7 @@ TabPage RID_SCPAGE_CONTENT
};
CheckBox CB_FORMULA
{
- Pos = MAP_APPFONT ( 12 , 14 ) ;
+ Pos = MAP_APPFONT ( 136 , 14 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "~Formeln" ;
Text [ ENGLISH ] = "~Formulas" ;
@@ -1340,7 +1248,7 @@ TabPage RID_SCPAGE_CONTENT
};
CheckBox CB_NIL
{
- Pos = MAP_APPFONT ( 12 , 28 ) ;
+ Pos = MAP_APPFONT ( 136 , 27 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "~Nullwerte" ;
Text [ ENGLISH ] = "~Null values" ;
@@ -1368,7 +1276,7 @@ TabPage RID_SCPAGE_CONTENT
};
CheckBox CB_ANNOT
{
- Pos = MAP_APPFONT ( 12 , 42 ) ;
+ Pos = MAP_APPFONT ( 136 , 40 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "Not~izanzeiger" ;
Text [ ENGLISH ] = "Note Tag~s" ;
@@ -1396,7 +1304,7 @@ TabPage RID_SCPAGE_CONTENT
};
CheckBox CB_VALUE
{
- Pos = MAP_APPFONT ( 140 , 14 ) ;
+ Pos = MAP_APPFONT ( 136 , 53 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "Werte her~vorheben" ;
Text [ ENGLISH ] = "Syntax highlighting" ;
@@ -1424,7 +1332,7 @@ TabPage RID_SCPAGE_CONTENT
};
CheckBox CB_ANCHOR
{
- Pos = MAP_APPFONT ( 140 , 28 ) ;
+ Pos = MAP_APPFONT ( 136 , 66 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "~Anker" ;
Text [ ENGLISH ] = "Anchor" ;
@@ -1450,7 +1358,7 @@ TabPage RID_SCPAGE_CONTENT
};
CheckBox CB_CLIP
{
- Pos = MAP_APPFONT ( 140 , 42 ) ;
+ Pos = MAP_APPFONT ( 136 , 79 ) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "~Textberlauf" ;
Text [ ENGLISH ] = "~Text overflow" ;
@@ -1474,10 +1382,36 @@ TabPage RID_SCPAGE_CONTENT
Text[ turkish ] = "~Metin tamas";
Text[ language_user1 ] = " ";
};
- GroupBox GB_OBJECT
+ CheckBox CB_RFIND
+ {
+ Pos = MAP_APPFONT ( 136 , 92 ) ;
+ Size = MAP_APPFONT ( 120 , 10 ) ;
+ Text = "~Referenzen farbig anzeigen" ;
+ Text [ ENGLISH ] = "Show colored references" ;
+ Text [ english_us ] = "~Show references in color" ;
+ Text [ portuguese_brazilian ] = "~Referenzen farbig anzeigen" ;
+ Text [ swedish ] = "Visa ~referenser i frg" ;
+ Text [ danish ] = "Vis farvede referencer" ;
+ Text [ italian ] = "~Mostra i riferimenti in colore" ;
+ Text [ spanish ] = "~Mostrar referencias en color" ;
+ Text [ french ] = "Affichage des rfrences en ~couleur" ;
+ Text [ dutch ] = "~Verwijzingen in kleur weergeven" ;
+ Text [ portuguese ] = "~Mostrar referncias com cor" ;
+ Text[ chinese_simplified ] = "òɫʾ(~S)";
+ Text[ russian ] = " ";
+ Text[ polish ] = "Poka odwoania w kolorze";
+ Text[ japanese ] = "QƂFŕ\\(~S)";
+ Text[ chinese_traditional ] = "αmܰѷ(~S)";
+ Text[ arabic ] = " ";
+ Text[ greek ] = "~ ";
+ Text[ korean ] = " ΡŸ(~S)";
+ Text[ turkish ] = "~Referanslar renkli gster";
+ Text[ language_user1 ] = " ";
+ };
+ FixedLine GB_OBJECT
{
- Pos = MAP_APPFONT ( 6 , 58 ) ;
- Size = MAP_APPFONT ( 248 , 60 ) ;
+ Pos = MAP_APPFONT ( 6 , 108 ) ;
+ Size = MAP_APPFONT ( 120 , 8 ) ;
Text = "Objekte" ;
Text [ ENGLISH ] = "Objects" ;
Text[ chinese_simplified ] = "";
@@ -1504,8 +1438,8 @@ TabPage RID_SCPAGE_CONTENT
};
FixedText FT_OBJGRF
{
- Pos = MAP_APPFONT ( 12 , 70 ) ;
- Size = MAP_APPFONT ( 98 , 8 ) ;
+ Pos = MAP_APPFONT ( 12 , 121 ) ;
+ Size = MAP_APPFONT ( 70 , 8 ) ;
Text = "~Objekte/Grafiken" ;
Text [ ENGLISH ] = "Objects/Images" ;
Text [ norwegian ] = "Objects/Images" ;
@@ -1532,13 +1466,13 @@ TabPage RID_SCPAGE_CONTENT
};
ListBox LB_OBJGRF
{
- Pos = MAP_APPFONT ( 110 , 69 ) ;
+ Pos = MAP_APPFONT ( 86 , 119 ) ;
LB_OBJECTMODE
};
FixedText FT_DIAGRAM
{
- Pos = MAP_APPFONT ( 12 , 86 ) ;
- Size = MAP_APPFONT ( 98 , 8 ) ;
+ Pos = MAP_APPFONT ( 12 , 137 ) ;
+ Size = MAP_APPFONT ( 70 , 8 ) ;
Text = "~Diagramme" ;
Text [ ENGLISH ] = "Charts" ;
Text [ norwegian ] = "Charts" ;
@@ -1565,13 +1499,13 @@ TabPage RID_SCPAGE_CONTENT
};
ListBox LB_DIAGRAM
{
- Pos = MAP_APPFONT ( 110 , 85 ) ;
+ Pos = MAP_APPFONT ( 86 , 135 ) ;
LB_OBJECTMODE
};
FixedText FT_DRAW
{
- Pos = MAP_APPFONT ( 12 , 102 ) ;
- Size = MAP_APPFONT ( 98 , 8 ) ;
+ Pos = MAP_APPFONT ( 12 , 153 ) ;
+ Size = MAP_APPFONT ( 70 , 8 ) ;
Text = "~Zeichenobjekte" ;
Text [ ENGLISH ] = "Draw objects" ;
Text [ norwegian ] = "Draw objects" ;
@@ -1598,225 +1532,13 @@ TabPage RID_SCPAGE_CONTENT
};
ListBox LB_DRAW
{
- Pos = MAP_APPFONT ( 110 , 101 ) ;
+ Pos = MAP_APPFONT ( 86 , 151 ) ;
LB_OBJECTMODE
};
-};
-
-/**************************************************************************/
-/* */
-/* */
-/* */
-/**************************************************************************/
-
-
-TabPage RID_SCPAGE_LAYOUT
-{
- HelpId = HID_SCPAGE_LAYOUT ;
- SVLook = TRUE ;
- Hide = TRUE ;
- Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
- GroupBox GB_LINES
+ FixedLine GB_WINDOW
{
- Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 120 , 96 ) ;
- Text = "Linien" ;
- Text [ ENGLISH ] = "Lines" ;
- Text [ english_us ] = "Lines" ;
- Text [ italian ] = "Linee" ;
- Text [ spanish ] = "Lneas" ;
- Text [ french ] = "Lignes" ;
- Text [ dutch ] = "Lijnen" ;
- Text [ swedish ] = "Linjer" ;
- Text [ danish ] = "Linjer" ;
- Text [ portuguese_brazilian ] = "Linien" ;
- Text [ portuguese ] = "Linhas" ;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Linie";
- Text[ japanese ] = "";
- Text[ chinese_traditional ] = "u";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "";
- Text[ turkish ] = "izgi";
- Text[ language_user1 ] = " ";
- };
- CheckBox CB_GRID
- {
- Pos = MAP_APPFONT ( 12 , 14 ) ;
- Size = MAP_APPFONT ( 100 , 10 ) ;
- Text = "~Gitterlinien" ;
- Text [ ENGLISH ] = "~Grid" ;
- Text [ norwegian ] = "~Grid" ;
- Text [ italian ] = "Linee della griglia" ;
- Text [ portuguese_brazilian ] = "~Grade" ;
- Text [ portuguese ] = "~Linhas da grelha" ;
- Text [ finnish ] = "Taustav~iivat" ;
- Text [ danish ] = "Gitterlinjer" ;
- Text [ french ] = "Li~gnes de la grille" ;
- Text [ swedish ] = "~Gitterlinjer" ;
- Text [ dutch ] = "~Rasterlijnen" ;
- Text [ spanish ] = "~Lneas de cuadrcula" ;
- Text [ english_us ] = "~Grid Lines" ;
- Text[ chinese_simplified ] = "(~G)";
- Text[ russian ] = " ";
- Text[ polish ] = "Linie siatki";
- Text[ japanese ] = "دސ(~G)";
- Text[ chinese_traditional ] = "u(~G)";
- Text[ arabic ] = " ";
- Text[ greek ] = " ~";
- Text[ korean ] = "ݼ(~G)";
- Text[ turkish ] = "~Klavuz izgileri";
- Text[ language_user1 ] = " ";
- };
- FixedText FT_COLOR
- {
- Pos = MAP_APPFONT ( 22 , 29 ) ;
- Size = MAP_APPFONT ( 23 , 8 ) ;
- Text = "F~arbe" ;
- Text [ ENGLISH ] = "~Color" ;
- Text [ norwegian ] = "~Color" ;
- Text [ italian ] = "~Colore" ;
- Text [ portuguese_brazilian ] = "~Cor" ;
- Text [ portuguese ] = "~Cor" ;
- Text [ finnish ] = "~Vri" ;
- Text [ danish ] = "Farve" ;
- Text [ french ] = "~Couleur" ;
- Text [ swedish ] = "F~rg" ;
- Text [ dutch ] = "K~leur" ;
- Text [ spanish ] = "C~olor" ;
- Text [ english_us ] = "~Color" ;
- Text[ chinese_simplified ] = "ɫ(~C)";
- Text[ russian ] = "";
- Text[ polish ] = "Kolor";
- Text[ japanese ] = "F(~C)";
- Text[ chinese_traditional ] = "C(~C)";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "(~C)";
- Text[ turkish ] = "~Renk";
- Text[ language_user1 ] = " ";
- };
- ListBox LB_COLOR
- {
- Border = TRUE ;
- Pos = MAP_APPFONT ( 48 , 28 ) ;
- Size = MAP_APPFONT ( 75 , 86 ) ;
- DropDown = TRUE ;
- DDExtraWidth = TRUE ;
- };
- CheckBox CB_PAGEBREAKS
- {
- Pos = MAP_APPFONT ( 12 , 44 ) ;
- Size = MAP_APPFONT ( 100 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? ~Seitenumbrche : ~Seitenumbrche */
- Text = "~Seitenumbrche" ;
- Text [ ENGLISH ] = "Page breaks" ;
- Text [ english_us ] = "~Page breaks" ;
- Text [ portuguese_brazilian ] = "Seitenumbrche" ;
- Text [ swedish ] = "~Sidbrytningar" ;
- Text [ danish ] = "Sideskift" ;
- Text [ italian ] = "Interruzioni pagina" ;
- Text [ spanish ] = "~Saltos de pgina" ;
- Text [ french ] = "~Sauts de pages" ;
- Text [ dutch ] = "~Paginaeinde" ;
- Text [ portuguese ] = "~Quebras de pgina" ;
- Text[ chinese_simplified ] = "ҳ(~P)";
- Text[ russian ] = " ";
- Text[ polish ] = "Podziay ~strony";
- Text[ japanese ] = "߰(~P)";
- Text[ chinese_traditional ] = "(~P)";
- Text[ arabic ] = " ";
- Text[ greek ] = " ";
- Text[ korean ] = " (~P)";
- Text[ turkish ] = "~Sayfa sonu";
- Text[ language_user1 ] = " ";
- };
- CheckBox CB_GUIDELINE
- {
- Pos = MAP_APPFONT ( 12 , 58 ) ;
- Size = MAP_APPFONT ( 100 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? H~ilfslinien : Hilfslinien */
- Text = "H~ilfslinien" ;
- Text [ ENGLISH ] = "Guidelines" ;
- Text [ english_us ] = "G~uides" ;
- Text [ italian ] = "Linee guida" ;
- Text [ spanish ] = "G~uas" ;
- Text [ french ] = "~Repres" ;
- Text [ dutch ] = "~Hulplijnen" ;
- Text [ swedish ] = "Hjlpl~injer" ;
- Text [ danish ] = "Hjlpelinjer" ;
- Text [ portuguese_brazilian ] = "Hilfslinien" ;
- Text [ portuguese ] = "G~uias" ;
- Text[ chinese_simplified ] = "(~U)";
- Text[ russian ] = " ";
- Text[ polish ] = "Linie po~mocnicze";
- Text[ japanese ] = "⏕(~U)";
- Text[ chinese_traditional ] = "Uu(~U)";
- Text[ arabic ] = " ";
- Text[ greek ] = " ";
- Text[ korean ] = "ȳ(~U)";
- Text[ turkish ] = "K~lavuz";
- Text[ language_user1 ] = " ";
- };
- CheckBox CB_HANDLES
- {
- Pos = MAP_APPFONT ( 12 , 72 ) ;
- Size = MAP_APPFONT ( 100 , 10 ) ;
- Text = "~Einfache Griffe" ;
- Text [ ENGLISH ] = "~Simple Handles" ;
- Text[ english_us ] = "~Simple Handles";
- Text[ portuguese ] = "Guias ~simples";
- Text[ russian ] = " ";
- Text[ greek ] = " ~";
- Text[ dutch ] = "~Eenvoudige handvatten";
- Text[ french ] = "~Poignes simples";
- Text[ spanish ] = "Agarraderas ~sencillas";
- Text[ italian ] = "~Maniglie semplici";
- Text[ danish ] = "Enkelte hndtag";
- Text[ swedish ] = "~Enkla handtag";
- Text[ polish ] = "Proste uchwyty";
- Text[ portuguese_brazilian ] = "~Farbige Handles";
- Text[ japanese ] = "قȻޕύX(~S)";
- Text[ korean ] = "ܼ ڵ(~S)";
- Text[ chinese_simplified ] = "׼ص(~S)";
- Text[ chinese_traditional ] = "зDZI(~S)";
- Text[ arabic ] = " ";
- Text[ turkish ] = "~Basit ekme noktalar";
- Text[ language_user1 ] = " ";
- };
- CheckBox CB_BIGHANDLES
- {
- Pos = MAP_APPFONT ( 12 , 86 ) ;
- Size = MAP_APPFONT ( 100 , 10 ) ;
- Text = "Gr~oe Griffe" ;
- Text [ ENGLISH ] = "~Big Handles" ;
- Text[ english_us ] = "~Large Handles";
- Text[ portuguese ] = "~Guias grandes";
- Text[ russian ] = " ";
- Text[ greek ] = " ~";
- Text[ dutch ] = "~Grote handvatten";
- Text[ french ] = "~Grandes poignes";
- Text[ spanish ] = "Agarraderas g~randes";
- Text[ italian ] = "Maniglie grandi";
- Text[ danish ] = "Store hndtag";
- Text[ swedish ] = "St~ora handtag";
- Text[ polish ] = "~Due uchwyty";
- Text[ portuguese_brazilian ] = "~Big Handles";
- Text[ japanese ] = "傫ޕύX(~L)";
- Text[ korean ] = " ڵ(~L)";
- Text[ chinese_simplified ] = "ص(~L)";
- Text[ chinese_traditional ] = "jI(~L)";
- Text[ arabic ] = " ";
- Text[ turkish ] = "B~yk ekme noktalar";
- Text[ language_user1 ] = " ";
- };
- GroupBox GB_WINDOW
- {
- Pos = MAP_APPFONT ( 134 , 3 ) ;
- Size = MAP_APPFONT ( 120 , 96 ) ;
+ Pos = MAP_APPFONT ( 130 , 108 ) ;
+ Size = MAP_APPFONT ( 120 , 8 ) ;
Text = "Fenster" ;
Text [ ENGLISH ] = "Window" ;
Text [ norwegian ] = "Window" ;
@@ -1843,9 +1565,8 @@ TabPage RID_SCPAGE_LAYOUT
};
CheckBox CB_ROWCOLHEADER
{
- Pos = MAP_APPFONT ( 140 , 14 ) ;
+ Pos = MAP_APPFONT ( 136 , 119) ;
Size = MAP_APPFONT ( 110 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? ~Zeilen- und Spaltenkpfe : ~Zeilen- und Spaltenkpfe */
Text = "~Zeilen- und Spaltenkpfe" ;
Text [ ENGLISH ] = "Colu~mn-/Row Headings" ;
Text [ norwegian ] = "Colu~mn-/Row Headings" ;
@@ -1872,9 +1593,8 @@ TabPage RID_SCPAGE_LAYOUT
};
CheckBox CB_HSCROLL
{
- Pos = MAP_APPFONT ( 140 , 28 ) ;
+ Pos = MAP_APPFONT ( 136 , 132) ;
Size = MAP_APPFONT ( 110 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? ~Horizontale Bildlaufleiste : ~Horizontale Schiebeleiste */
Text = "~Horizontale Bildlaufleiste" ;
Text [ ENGLISH ] = " ~Horizontal scrollbar" ;
Text [ norwegian ] = " ~Horizontal scrollbar" ;
@@ -1901,9 +1621,8 @@ TabPage RID_SCPAGE_LAYOUT
};
CheckBox CB_VSCROLL
{
- Pos = MAP_APPFONT ( 140 , 42 ) ;
+ Pos = MAP_APPFONT ( 136 , 145 ) ;
Size = MAP_APPFONT ( 110 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? ~Vertikale Bildlaufleiste : ~Vertikale Schiebeleiste */
Text = "~Vertikale Bildlaufleiste" ;
Text [ ENGLISH ] = "~Vertical scrollbar" ;
Text [ norwegian ] = "~Vertical scrollbar" ;
@@ -1930,7 +1649,7 @@ TabPage RID_SCPAGE_LAYOUT
};
CheckBox CB_TBLREG
{
- Pos = MAP_APPFONT ( 140 , 56 ) ;
+ Pos = MAP_APPFONT ( 136 , 158) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "Tabellen~register" ;
Text [ ENGLISH ] = "Table ~registers" ;
@@ -1958,7 +1677,7 @@ TabPage RID_SCPAGE_LAYOUT
};
CheckBox CB_OUTLINE
{
- Pos = MAP_APPFONT ( 140 , 70 ) ;
+ Pos = MAP_APPFONT ( 136 , 171) ;
Size = MAP_APPFONT ( 100 , 10 ) ;
Text = "Glieder~ungssymbole" ;
Text [ ENGLISH ] = "O~utliner" ;
@@ -1984,40 +1703,41 @@ TabPage RID_SCPAGE_LAYOUT
Text[ turkish ] = "A~nahat simgesi";
Text[ language_user1 ] = " ";
};
- GroupBox GB_UNIT
- {
- Pos = MAP_APPFONT ( 6 , 102 ) ;
- Size = MAP_APPFONT ( 120 , 28 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? Maeinheit : Maeinheit */
- Text = "~Maeinheit" ;
- Text [ ENGLISH ] = "Metric Units" ;
- Text [ norwegian ] = "Metriske Enheter" ;
- Text [ italian ] = "Unit di misura" ;
- Text [ portuguese_brazilian ] = "Unidades mtricas" ;
- Text [ portuguese ] = "Unidades mtricas" ;
- Text [ finnish ] = "Metriset yksikt" ;
- Text [ danish ] = "Mleenhed" ;
- Text [ french ] = "Unit de ~mesure" ;
- Text [ swedish ] = "~Mttenhet" ;
- Text [ dutch ] = "Maateenheid" ;
- Text [ spanish ] = "Unidad de medida" ;
- Text [ english_us ] = "Measurement un~it" ;
- Text[ chinese_simplified ] = "λ";
- Text[ russian ] = " ";
- Text[ polish ] = "Jednostka miary";
- Text[ japanese ] = "P";
- Text[ chinese_traditional ] = "׶q";
- Text[ arabic ] = " ";
- Text[ greek ] = "~ ";
- Text[ korean ] = " ";
- Text[ turkish ] = "l birimi";
- Text[ language_user1 ] = " ";
+};
+
+/**************************************************************************/
+/* */
+/* */
+/* */
+/**************************************************************************/
+
+
+TabPage RID_SCPAGE_LAYOUT
+{
+ HelpId = HID_SCPAGE_LAYOUT ;
+ SVLook = TRUE ;
+ Hide = TRUE ;
+ Pos = MAP_APPFONT ( 0 , 0 ) ;
+ Size = MAP_APPFONT ( 260 , 185 ) ;
+ FixedLine GB_UNIT
+ {
+ Pos = MAP_APPFONT ( 6 , 3 ) ;
+ Size = MAP_APPFONT ( 120 , 8 ) ;
+ Text = "~Metriken" ;
+ Text [ ENGLISH ] = "Metrics" ;
+ };
+ FixedText FT_UNIT
+ {
+ Pos = MAP_APPFONT ( 12 , 16 ) ;
+ Size = MAP_APPFONT ( 48 , 8 ) ;
+ Text = "Maeinheit" ;
+ Text [ ENGLISH ] = "Measurement unit" ;
};
ListBox LB_UNIT
{
Border = TRUE ;
- Pos = MAP_APPFONT ( 12 , 113 ) ;
- Size = MAP_APPFONT ( 70 , 52 ) ;
+ Pos = MAP_APPFONT ( 63 , 14 ) ;
+ Size = MAP_APPFONT ( 60 , 52 ) ;
DropDown = TRUE ;
};
StringArray ST_UNIT
@@ -2300,40 +2020,18 @@ TabPage RID_SCPAGE_LAYOUT
< " " ; FUNIT_POINT ; > ;
};
};
- GroupBox GB_TAB
- {
- Pos = MAP_APPFONT ( 134 , 102 ) ;
- Size = MAP_APPFONT ( 120 , 28 ) ;
- Text = "~Tabulatorenabstand" ;
- Text [ ENGLISH ] = "Default Tab distance" ;
- Text [ norwegian ] = "Standard tabulatoravstand" ;
- Text [ italian ] = "Posizioni di tabulazione" ;
- Text [ portuguese_brazilian ] = "Default Tab distance" ;
- Text [ portuguese ] = "Intervalo entre tabulaes" ;
- Text [ finnish ] = "Default Tab distance" ;
- Text [ danish ] = "Tabulatorafstand" ;
- Text [ french ] = "~Tabulations" ;
- Text [ swedish ] = "~Tabulatoravstnd" ;
- Text [ dutch ] = "~ Afstand tabstops" ;
- Text [ spanish ] = "Distancia entre tabulaciones" ;
- Text [ english_us ] = "Ta~b stops" ;
- Group = TRUE ;
- Text[ chinese_simplified ] = "Ʊ";
- Text[ russian ] = " ";
- Text[ polish ] = "Odstpy midzy tabulatorami";
- Text[ japanese ] = "ފԊu";
- Text[ chinese_traditional ] = "sŶj";
- Text[ arabic ] = " ";
- Text[ greek ] = "~ ";
- Text[ korean ] = " ";
- Text[ turkish ] = "Sekme mesafesi";
- Text[ language_user1 ] = " ";
+ FixedText FT_TAB
+ {
+ Pos = MAP_APPFONT ( 12 , 32 ) ;
+ Size = MAP_APPFONT ( 48 , 8 ) ;
+ Text = "Tabulator" ;
+ Text [ ENGLISH ] = "Tab stops" ;
};
MetricField MF_TAB
{
Border = TRUE ;
- Pos = MAP_APPFONT ( 140 , 113 ) ;
- Size = MAP_APPFONT ( 45 , 12 ) ;
+ Pos = MAP_APPFONT ( 63 , 30 ) ;
+ Size = MAP_APPFONT ( 60 , 12 ) ;
Left = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
@@ -2345,56 +2043,152 @@ TabPage RID_SCPAGE_LAYOUT
First = 50 ;
Last = 2000 ;
};
-};
-
-/**************************************************************************/
-/* */
-/* */
-/* */
-/**************************************************************************/
-
-
-TabPage RID_SCPAGE_INPUT
-{
- HelpId = HID_SCPAGE_INPUT ;
- SVLook = TRUE ;
- Hide = TRUE ;
- Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
- GroupBox GB_OPTIONS
+ FixedLine GB_LINK
+ {
+ Pos = MAP_APPFONT ( 130 , 3 ) ;
+ Size = MAP_APPFONT ( 120 , 8 ) ;
+ Text = "Aktualisierung" ;
+ Text [ English ] = "Update" ;
+ Text[ english_us ] = "Updating";
+ Text[ portuguese ] = "Actualizar";
+ Text[ russian ] = "";
+ Text[ dutch ] = "Actualiseren";
+ Text[ french ] = "Actualisation";
+ Text[ spanish ] = "Actualizacin";
+ Text[ italian ] = "Aggiorna";
+ Text[ danish ] = "Opdatering";
+ Text[ swedish ] = "Uppdatering";
+ Text[ polish ] = "Aktualizacja";
+ Text[ portuguese_brazilian ] = "Refresh links";
+ Text[ japanese ] = "XV";
+ Text[ chinese_simplified ] = "";
+ Text[ chinese_traditional ] = "s";
+ Text[ arabic ] = "";
+ Text[ greek ] = "";
+ Text[ korean ] = "";
+ Text[ turkish ] = "Gncelleme";
+ Text[ language_user1 ] = " ";
+ };
+ FixedText FT_UPDATE_LINKS
+ {
+ Pos = MAP_APPFONT ( 136 , 14 ) ;
+ Size = MAP_APPFONT ( 100 , 8 ) ;
+ Text = "Verknpfungen beim Laden aktualisieren" ;
+ Text [ English ] = "Update links while loading" ;
+ Text[ italian ] = "Aggiorna collegamenti durante il caricamento";
+ Text[ portuguese_brazilian ] = "Refresh links";
+ Text[ portuguese ] = "Actualizar ligaes ao carregar";
+ Text[ danish ] = "Opdater kder under indlsning";
+ Text[ french ] = "Actualiser les liens lors du chargement";
+ Text[ swedish ] = "Uppdatera lnkar vid laddning";
+ Text[ dutch ] = "Verbindingen bij het laden actualiseren";
+ Text[ spanish ] = "Actualizar vnculos al cargar";
+ Text[ english_us ] = "Update links when loading";
+ Text[ chinese_simplified ] = "װʱ";
+ Text[ russian ] = " ";
+ Text[ polish ] = "Aktualizuj cza przy adowaniu";
+ Text[ japanese ] = "޷ēǂݍݎݸ̍XV";
+ Text[ chinese_traditional ] = "Jɧs|";
+ Text[ arabic ] = " ";
+ Text[ greek ] = " ";
+ Text[ korean ] = "ε ÿ ";
+ Text[ turkish ] = "Yklerken balantlar gncelle";
+ Text[ language_user1 ] = " ";
+ };
+ RadioButton RB_ALWAYS
{
- Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 248 , 94 ) ;
- Text = "Eingabe" ;
- Text [ ENGLISH ] = "Input" ;
- Text [ english_us ] = "Input" ;
- Text [ portuguese_brazilian ] = "Eingabe" ;
- Text [ swedish ] = "Inmatning" ;
- Text [ danish ] = "Input" ;
- Text [ italian ] = "Digitazione" ;
- Text [ spanish ] = "Entrada" ;
- Text [ french ] = "Saisie" ;
- Text [ dutch ] = "Invoer" ;
- Text [ portuguese ] = "Entrada" ;
- Text[ chinese_simplified ] = "";
- Text[ russian ] = "";
- Text[ polish ] = "Wpis";
- Text[ japanese ] = "";
- Text[ chinese_traditional ] = "J";
- Text[ arabic ] = "";
- Text[ greek ] = "";
- Text[ korean ] = "Է";
- Text[ turkish ] = "Giri";
+ Pos = MAP_APPFONT ( 142 , 26 ) ;
+ Size = MAP_APPFONT ( 75 , 10 ) ;
+ Text = "~Immer" ;
+ Text [ ENGLISH ] = "~Always" ;
+ TabStop = TRUE ;
+ Text[ italian ] = "Sempre";
+ Text[ portuguese_brazilian ] = "~Always";
+ Text[ portuguese ] = "~Sempre";
+ Text[ danish ] = "Altid";
+ Text[ french ] = "Toujours";
+ Text[ swedish ] = "~Alltid";
+ Text[ dutch ] = "~Altijd";
+ Text[ spanish ] = "~Siempre";
+ Text[ english_us ] = "~Always";
+ Text[ chinese_simplified ] = "(~W)";
+ Text[ russian ] = "";
+ Text[ polish ] = "Z~awsze";
+ Text[ japanese ] = "ɂ(~W)";
+ Text[ chinese_traditional ] = "`O(~W)";
+ Text[ arabic ] = "";
+ Text[ greek ] = "";
+ Text[ korean ] = "׻";
+ Text[ turkish ] = "~Daima";
Text[ language_user1 ] = " ";
};
+ RadioButton RB_REQUEST
+ {
+ Pos = MAP_APPFONT ( 142 , 39 ) ;
+ Size = MAP_APPFONT ( 75 , 10 ) ;
+ Text = "Auf Nach~frage" ;
+ Text [ ENGLISH ] = "On request" ;
+ TabStop = TRUE ;
+ Text[ italian ] = "Su richiesta";
+ Text[ portuguese_brazilian ] = "On request";
+ Text[ portuguese ] = "Por ~pedido";
+ Text[ danish ] = "P anmodning";
+ Text[ french ] = "Sur demande";
+ Text[ swedish ] = "P ~begran";
+ Text[ dutch ] = "Op aan~vraag";
+ Text[ spanish ] = "A ~peticin";
+ Text[ english_us ] = "~On request";
+ Text[ chinese_simplified ] = "ʱ(~R)";
+ Text[ russian ] = " ";
+ Text[ polish ] = "Na danie";
+ Text[ japanese ] = "mF(~R)";
+ Text[ chinese_traditional ] = "bШD(~R)";
+ Text[ arabic ] = " ";
+ Text[ greek ] = " ";
+ Text[ korean ] = "ûÿ";
+ Text[ turkish ] = "stek ~zerine";
+ Text[ language_user1 ] = " ";
+ };
+ RadioButton RB_NEVER
+ {
+ Pos = MAP_APPFONT ( 142 , 52 ) ;
+ Size = MAP_APPFONT ( 75 , 10 ) ;
+ Text = "~Nie" ;
+ Text [ ENGLISH ] = "Never" ;
+ TabStop = TRUE ;
+ Text[ italian ] = "Mai";
+ Text[ portuguese_brazilian ] = "Never";
+ Text[ portuguese ] = "~Nunca";
+ Text[ danish ] = "Aldrig";
+ Text[ french ] = "Jamais";
+ Text[ swedish ] = "Al~drig";
+ Text[ dutch ] = "~Nooit";
+ Text[ spanish ] = "~Nunca";
+ Text[ english_us ] = "~Never";
+ Text[ chinese_simplified ] = "(~N)";
+ Text[ russian ] = "";
+ Text[ polish ] = "Nigdy";
+ Text[ japanese ] = "Ȃ(~N)";
+ Text[ chinese_traditional ] = "ä(~N)";
+ Text[ arabic ] = "";
+ Text[ greek ] = "";
+ Text[ korean ] = "";
+ Text[ turkish ] = "~Hibir zaman";
+ Text[ language_user1 ] = " ";
+ };
+ FixedLine GB_OPTIONS
+ {
+ Pos = MAP_APPFONT ( 6 , 68 ) ;
+ Size = MAP_APPFONT ( 248 , 8 ) ;
+ Text = "Eingabeeinstellungen" ;
+ Text [ ENGLISH ] = "Input settings" ;
+ };
CheckBox CB_ALIGN
{
- Pos = MAP_APPFONT ( 12 , 14 ) ;
+ Pos = MAP_APPFONT ( 12 , 81 ) ;
Size = MAP_APPFONT ( 170 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? Eingabebesttigung setzt die ~Selektion nach : Eingabebesttigung setzt die Selektion nach */
- /* ### ACHTUNG: Neuer Text in Resource? Eingabebesttigung setzt die ~Selektion nach : Eingabebesttigung setzt die ~Selektion nach */
Text = "Eingabebesttigung setzt die ~Selektion nach" ;
- Text [ ENGLISH ] = "??" ;
+ Text [ ENGLISH ] = "Press Enter to move selection" ;
Text [ dutch ] = "Na bevestiging met Enter volgt de ~selectie" ;
Text [ english_us ] = "Press Enter to ~move selection" ;
Text [ swedish ] = "Tryck RETUR fr att flytta ~markering" ;
@@ -2417,7 +2211,7 @@ TabPage RID_SCPAGE_INPUT
};
ListBox LB_ALIGN
{
- Pos = MAP_APPFONT ( 188 , 13 ) ;
+ Pos = MAP_APPFONT ( 188 , 79 ) ;
Size = MAP_APPFONT ( 60 , 60 ) ;
Border = TRUE ;
DropDown = TRUE ;
@@ -2572,9 +2366,8 @@ TabPage RID_SCPAGE_INPUT
};
CheckBox CB_EDITMODE
{
- Pos = MAP_APPFONT ( 12 , 28 ) ;
+ Pos = MAP_APPFONT ( 12 , 95 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? Eingabetaste schaltet in den ~Editmodus : Eingabetaste schaltet in den Editmodus */
Text = "Eingabetaste schaltet in den ~Editmodus" ;
Text [ ENGLISH ] = "Return key switches edit mode on" ;
Text [ english_us ] = "Press Enter to switch to ~edit mode" ;
@@ -2599,7 +2392,7 @@ TabPage RID_SCPAGE_INPUT
};
CheckBox CB_FORMAT
{
- Pos = MAP_APPFONT ( 12 , 42 ) ;
+ Pos = MAP_APPFONT ( 12 , 109 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text = "~Formatierung ausdehnen" ;
Text [ ENGLISH ] = "Expand formatting" ;
@@ -2623,37 +2416,10 @@ TabPage RID_SCPAGE_INPUT
Text[ korean ] = " Ȯ(~F)";
Text[ turkish ] = "~Formatlamay genilet";
};
- CheckBox CB_RFIND
- {
- Pos = MAP_APPFONT ( 12 , 56 ) ;
- Size = MAP_APPFONT ( 236 , 10 ) ;
- Text = "~Referenzen farbig anzeigen" ;
- Text [ ENGLISH ] = "Show colored references" ;
- Text [ english_us ] = "~Show references in color" ;
- Text [ portuguese_brazilian ] = "~Referenzen farbig anzeigen" ;
- Text [ swedish ] = "Visa ~referenser i frg" ;
- Text [ danish ] = "Vis farvede referencer" ;
- Text [ italian ] = "~Mostra i riferimenti in colore" ;
- Text [ spanish ] = "~Mostrar referencias en color" ;
- Text [ french ] = "Affichage des rfrences en ~couleur" ;
- Text [ dutch ] = "~Verwijzingen in kleur weergeven" ;
- Text [ portuguese ] = "~Mostrar referncias com cor" ;
- Text[ chinese_simplified ] = "òɫʾ(~S)";
- Text[ russian ] = " ";
- Text[ polish ] = "Poka odwoania w kolorze";
- Text[ japanese ] = "QƂFŕ\\(~S)";
- Text[ chinese_traditional ] = "αmܰѷ(~S)";
- Text[ arabic ] = " ";
- Text[ greek ] = "~ ";
- Text[ korean ] = " ΡŸ(~S)";
- Text[ turkish ] = "~Referanslar renkli gster";
- Text[ language_user1 ] = " ";
- };
CheckBox CB_EXPREF
{
- Pos = MAP_APPFONT ( 12 , 70 ) ;
+ Pos = MAP_APPFONT ( 12 , 123 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
- /* ### ACHTUNG: Neuer Text in Resource? Refere~nzen beim Spalten-/Zeileneinfgen an deren Rndern ausdehnen : Refere~nzen beim Spalten-/Zeileneinfgen an deren Rndern ausdehnen */
Text = "Refere~nzen beim Spalten-/Zeileneinfgen an deren Rndern ausdehnen" ;
Text [ ENGLISH ] = "Expand refere~nces if inserting columns/rows at their edges" ;
Text [ english_us ] = "Expand ~references if new columns/rows are inserted" ;
@@ -2678,7 +2444,7 @@ TabPage RID_SCPAGE_INPUT
};
CheckBox CB_MARKHDR
{
- Pos = MAP_APPFONT ( 12 , 84 ) ;
+ Pos = MAP_APPFONT ( 12 , 137 ) ;
Size = MAP_APPFONT ( 236 , 10 ) ;
Text = "Se~lektion in Spalten-/Zeilenkpfen hervorheben" ;
Text [ ENGLISH ] = "~Highlight selection in Column-/Row Headings" ;