[Libreoffice-commits] .: sc/inc

Christina Rossmanith crossmanith at kemper.freedesktop.org
Fri Feb 11 11:58:57 PST 2011


 sc/inc/rechead.hxx |   10 +++++-----
 sc/inc/scitems.hxx |   44 ++++++++++++++++++++++----------------------
 sc/inc/scmod.hxx   |   20 ++++++++++----------
 sc/inc/servuno.hxx |    4 ++--
 4 files changed, 39 insertions(+), 39 deletions(-)

New commits:
commit fa492b9232383f2842b03a99ac51c755933b09ee
Author: Christina Rossmanith <ChrRossmanith at web.de>
Date:   Fri Feb 11 20:58:35 2011 +0100

    Translated comments from German->English

diff --git a/sc/inc/rechead.hxx b/sc/inc/rechead.hxx
index 36bf698..ff1524e 100644
--- a/sc/inc/rechead.hxx
+++ b/sc/inc/rechead.hxx
@@ -116,17 +116,17 @@
 #define SC_CURRENT_VERSION	0x0205
 
 
-//	alles ueber SC_31_EXPORT_VER muss auch beim Speichern abgefragt werden,
-//	weil 3.1-Export diese Versionsnummer schreibt.
+// all above SC_31_EXPORT_VER has to be queried during saving,
+// because 3.1-export writes this version number.
 
-// btw: 10 nach 09 ist kein Zaehlfehler sondern eine absichtliche Luecke,
-// weil nicht klar war, wie lange die RelRefs Entwicklung dauern wuerde.. :)
+// btw: 10 following 09 is not a counting error but an intentional gap,
+// because it was not clear, how long the RelRefs development would take. :)
 
 class SvStream;
 
 // -----------------------------------------------------------------------
 
-        //	Header mit Groessenangaben fuer mehrere Objekte
+        //	Header with size specification for multiple objects
 
 class ScMultipleReadHeader
 {
diff --git a/sc/inc/scitems.hxx b/sc/inc/scitems.hxx
index 846da33..8eb0c87 100644
--- a/sc/inc/scitems.hxx
+++ b/sc/inc/scitems.hxx
@@ -31,14 +31,14 @@
 
 #include <svx/svxids.hrc>
 
-//	EditEngine darf nicht ihre eigenen ITEMID's definieren
+//	EditEngine is not allowed to define it's own ITEMID's
 #define _EEITEMID_HXX
 
 //--------------------------
-// Item-IDs fuer UI-MsgPool:
+// Item-IDs for UI-MsgPool:
 //--------------------------
 
-//!	sollten auch nach unter 1000 verschoben werden!
+//!	shall be moved to the below-1000 range!
 
 #define MSGPOOL_START				1100
 //--------------------------------------
@@ -56,13 +56,13 @@
 #define MSGPOOL_END                 1109
 
 //-------------------------
-// Item-IDs fuer Attribute:
+// Item-IDs for attributes:
 //-------------------------
-#define ATTR_STARTINDEX			100		// Anfang Attribute
+#define ATTR_STARTINDEX			100		// begin of attributes
 
-#define ATTR_PATTERN_START		100		// Anfang Zellattribut-Pattern
+#define ATTR_PATTERN_START		100		// begin of cell-attribute-pattern
 
-#define ATTR_FONT				100		// Anfang Zellattribute
+#define ATTR_FONT				100		// begin of cell-attributes
 #define ATTR_FONT_HEIGHT 		101
 #define ATTR_FONT_WEIGHT		102
 #define	ATTR_FONT_POSTURE		103
@@ -113,16 +113,16 @@
 #define ATTR_BACKGROUND         148
 #define ATTR_PROTECTION         149
 #define ATTR_BORDER             150
-#define ATTR_BORDER_INNER       151     // innen, wg. Vorlagen-EditDialog
+#define ATTR_BORDER_INNER       151     // inside, because of template-EditDialog
 #define ATTR_SHADOW             152
 #define ATTR_VALIDDATA          153
 #define ATTR_CONDITIONAL        154
 
-#define ATTR_PATTERN_END        154     // Ende Zellattribut-Pattern
+#define ATTR_PATTERN_END        154     // end cell-attribute-pattern
 
 #define ATTR_PATTERN            155
-                                        // Seitenattribute
-#define ATTR_LRSPACE            156     // Editor: PageDesc-TabPage
+                                        // page attributes
+#define ATTR_LRSPACE            156     // editor: PageDesc-TabPage
 #define ATTR_ULSPACE            157
 #define ATTR_PAGE               158
 #define ATTR_PAGE_PAPERTRAY     159
@@ -132,11 +132,11 @@
 #define ATTR_PAGE_HORCENTER     163
 #define ATTR_PAGE_VERCENTER     164
 
-#define ATTR_PAGE_ON            165     // Editor: Header/Footer-Page
+#define ATTR_PAGE_ON            165     // editor: header/footer-page
 #define ATTR_PAGE_DYNAMIC       166
 #define ATTR_PAGE_SHARED        167
 
-#define ATTR_PAGE_NOTES         168     // Editor: Tabelle
+#define ATTR_PAGE_NOTES         168     // editor: table
 #define ATTR_PAGE_GRID          169
 #define ATTR_PAGE_HEADERS       170
 #define ATTR_PAGE_CHARTS        171
@@ -147,27 +147,27 @@
 #define ATTR_PAGE_SCALETOPAGES  176
 #define ATTR_PAGE_FIRSTPAGENO   177
 
-#define ATTR_PAGE_PRINTAREA     178     // Editor: Druckbereiche
+#define ATTR_PAGE_PRINTAREA     178     // editor: print areas
 #define ATTR_PAGE_REPEATROW     179
 #define ATTR_PAGE_REPEATCOL     180
 #define ATTR_PAGE_PRINTTABLES   181
 
-#define ATTR_PAGE_HEADERLEFT    182     // Inhalte der Kopf-/
-#define ATTR_PAGE_FOOTERLEFT    183     // Fusszeilen (links)
-#define ATTR_PAGE_HEADERRIGHT   184     // Inhalte der Kopf-/
-#define ATTR_PAGE_FOOTERRIGHT   185     // Fusszeilen (rechts)
-#define ATTR_PAGE_HEADERSET     186     // die Sets dazu...
+#define ATTR_PAGE_HEADERLEFT    182     // contents of header/
+#define ATTR_PAGE_FOOTERLEFT    183     // footer (left)
+#define ATTR_PAGE_HEADERRIGHT   184     // contents of header/
+#define ATTR_PAGE_FOOTERRIGHT   185     // footer (right)
+#define ATTR_PAGE_HEADERSET     186     // the corresponding sets
 #define ATTR_PAGE_FOOTERSET     187
 
 #define ATTR_PAGE_FORMULAS      188
 #define ATTR_PAGE_NULLVALS      189
 
-#define ATTR_PAGE_SCALETO       190     // #i8868# scale printout to with/height
+#define ATTR_PAGE_SCALETO       190     // #i8868# scale printout to width/height
 
-#define ATTR_ENDINDEX           ATTR_PAGE_SCALETO        // Ende Pool-Range
+#define ATTR_ENDINDEX           ATTR_PAGE_SCALETO        // end of pool-range
 
 //--------------------------------
-// Dummy Slot-IDs fuer Dialoge
+// Dummy Slot-IDs for dialogs
 //--------------------------------
 #define SID_SCATTR_PAGE_NOTES			ATTR_PAGE_NOTES
 #define SID_SCATTR_PAGE_GRID			ATTR_PAGE_GRID
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 1c7f53d..18b17d5 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -34,7 +34,7 @@
 #include <vcl/timer.hxx>
 #include <svl/lstner.hxx>
 #include "global.hxx"		// ScInputMode
-#include "markdata.hxx"		//ScMarkData
+#include "markdata.hxx"		// ScMarkData
 #include "shellids.hxx"
 #include <unotools/options.hxx>
 #include <tools/shl.hxx>
@@ -122,7 +122,7 @@ class ScModule: public SfxModule, public SfxListener, utl::ConfigurationListener
     ScClipData			aClipData;
     ScSelectionTransferObj* pSelTransfer;
     ScMessagePool*      pMessagePool;
-    //	globalen InputHandler gibt's nicht mehr, jede View hat einen
+    // there is no global InputHandler anymore, each View has it's own
     ScInputHandler*     pRefInputHandler;
     ScViewCfg*			pViewCfg;
     ScDocCfg*			pDocCfg;
@@ -157,9 +157,9 @@ public:
     virtual void		ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 );
     void				DeleteCfg();
 
-                        // von der Applikation verschoben:
+                        // moved by the application
 
-    DECL_LINK( IdleHandler,		Timer* );	// Timer statt idle
+    DECL_LINK( IdleHandler,		Timer* );	// Timer instead of idle
     DECL_LINK( SpellTimerHdl,	Timer* );
     DECL_LINK( CalcFieldValueHdl, EditFieldInfo* );
 
@@ -226,9 +226,9 @@ SC_DLLPUBLIC	void					SetAppOptions	( const ScAppOptions& rOpt );
 
     void				ModifyOptions( const SfxItemSet& rOptSet );
 
-    //	InputHandler:
-    BOOL                IsEditMode();	// nicht bei SC_INPUT_TYPE
-    BOOL                IsInputMode();	// auch bei SC_INPUT_TYPE
+    // InputHandler:
+    BOOL                IsEditMode();	// not for SC_INPUT_TYPE
+    BOOL                IsInputMode();	// also for SC_INPUT_TYPE
     void                SetInputMode( ScInputMode eMode );
     BOOL                InputKeyEvent( const KeyEvent& rKEvt, BOOL bStartEdit = FALSE );
     SC_DLLPUBLIC void                InputEnterHandler( BYTE nBlockMode = 0 );
@@ -242,7 +242,7 @@ SC_DLLPUBLIC	void					SetAppOptions	( const ScAppOptions& rOpt );
 
     void				ViewShellGone(ScTabViewShell* pViewSh);
     void				ViewShellChanged();
-    // Kommunikation mit Funktionsautopilot
+    // communication with function-autopilot
     void				InputGetSelection( xub_StrLen& rStart, xub_StrLen& rEnd );
     void			 	InputSetSelection( xub_StrLen nStart, xub_StrLen nEnd );
     void			 	InputReplaceSelection( const String& rStr );
@@ -254,7 +254,7 @@ SC_DLLPUBLIC	void					SetAppOptions	( const ScAppOptions& rOpt );
     void				ClearFormEditData();
     ScFormEditData*		GetFormEditData()		{ return pFormEditData; }
 
-    //	Referenzeingabe:
+    // input of reference:
     SC_DLLPUBLIC void				SetRefDialog( USHORT nId, BOOL bVis, SfxViewFrame* pViewFrm = NULL );
     BOOL                IsModalMode(SfxObjectShell* pDocSh = NULL);
     BOOL                IsFormulaMode();
@@ -266,7 +266,7 @@ SC_DLLPUBLIC	void					SetAppOptions	( const ScAppOptions& rOpt );
     void                EndReference();
     USHORT				GetCurRefDlgId() const					{ return nCurRefDlgId; }
 
-    //virtuelle Methoden fuer den Optionendialog
+    // virtual methods for the options dialog
     virtual SfxItemSet*	 CreateItemSet( USHORT nId );
     virtual void		 ApplyItemSet( USHORT nId, const SfxItemSet& rSet );
     virtual	SfxTabPage*	 CreateTabPage( USHORT nId, Window* pParent, const SfxItemSet& rSet );
diff --git a/sc/inc/servuno.hxx b/sc/inc/servuno.hxx
index 1f48118..ffe6f7b 100644
--- a/sc/inc/servuno.hxx
+++ b/sc/inc/servuno.hxx
@@ -36,7 +36,7 @@ class String;
 class ScDocShell;
 
 
-//!	AutoFormat wirklich hier oder besser global??????
+//!	AutoFormat here or global??????
 
 #define SC_SERVICE_SHEET		0
 #define SC_SERVICE_URLFIELD		1
@@ -105,7 +105,7 @@ class ScDocShell;
 class ScServiceProvider
 {
 public:
-                            // pDocShell wird nicht fuer alle Services benoetigt
+                            // pDocShell is not needed for all Services
     static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
                             MakeInstance( sal_uInt16 nType, ScDocShell* pDocShell );
     static ::com::sun::star::uno::Sequence<rtl::OUString> GetAllServiceNames();


More information about the Libreoffice-commits mailing list