summaryrefslogtreecommitdiffstats
path: root/sw/inc/swmodule.hxx
diff options
context:
space:
mode:
authorChristoph Herzog <rhogez@googlemail.com>2011-04-18 22:25:24 +0200
committerChristoph Herzog <rhogez@googlemail.com>2011-04-18 22:25:24 +0200
commit0793901069511fc5d7be70cb85b2f7c0ff14a5db (patch)
treef353e077c45f2d70981e2c1035d18a5f25bda803 /sw/inc/swmodule.hxx
parentTranslations of German comments. (diff)
downloadcore-0793901069511fc5d7be70cb85b2f7c0ff14a5db.tar.gz
core-0793901069511fc5d7be70cb85b2f7c0ff14a5db.zip
Translate German comments.
Diffstat (limited to 'sw/inc/swmodule.hxx')
-rw-r--r--sw/inc/swmodule.hxx61
1 files changed, 28 insertions, 33 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index c30c33d47889..d556e6427def 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -69,7 +69,7 @@ struct SwDBData;
#define VIEWOPT_DEST_VIEW 0
#define VIEWOPT_DEST_TEXT 1
#define VIEWOPT_DEST_WEB 2
-#define VIEWOPT_DEST_VIEW_ONLY 3 //ViewOptions werden nur an der ::com::sun::star::sdbcx::View, nicht an der Appl. gesetzt
+#define VIEWOPT_DEST_VIEW_ONLY 3 //ViewOptions are set only at ::com::sun::star::sdbcx::View, not at the appl.
namespace com{ namespace sun{ namespace star{ namespace scanner{
class XScannerManager;
@@ -88,8 +88,8 @@ class SW_DLLPUBLIC SwModule: public SfxModule, public SfxListener, public utl::C
SwChapterNumRules* pChapterNumRules;
SwStdFontConfig* pStdFontConfig;
SwNavigationConfig* pNavigationConfig;
- SwToolbarConfigItem*pToolbarConfig; //fuer gestackte Toolbars, welche
- SwToolbarConfigItem*pWebToolbarConfig; //war sichtbar?
+ SwToolbarConfigItem*pToolbarConfig; //For stacked toolbars. Which one was visible?
+ SwToolbarConfigItem*pWebToolbarConfig;
SwDBConfig* pDBConfig;
svtools::ColorConfig* pColorConfig;
SvtAccessibilityOptions* pAccessibilityOptions;
@@ -101,13 +101,12 @@ class SW_DLLPUBLIC SwModule: public SfxModule, public SfxListener, public utl::C
SwAttrPool *pAttrPool;
- // Die aktuelle View wird hier gehalten um nicht ueber
- // GetActiveView arbeiten zu muessen
- // Die View ist solange gueltig bis Sie im Activate
- // zerstoert oder ausgetauscht wird
+ // Current view is held here in order to avoid one's being forced
+ // to work via GetActiveView.
+ // View is valid until destroyed in Activate or exchanged.
SwView* pView;
- // Liste aller Redline-Autoren
+ // List of all Redline-authors.
SvStringsDtor* pAuthorNames;
// DictionaryList listener to trigger spellchecking or hyphenation
@@ -121,13 +120,13 @@ class SW_DLLPUBLIC SwModule: public SfxModule, public SfxListener, public utl::C
sal_Bool bAuthorInitialised : 1;
sal_Bool bEmbeddedLoadSave : 1;
- // Hint abfangen fuer DocInfo
+ // Catch hint for DocInfo.
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 );
protected:
- // Briefumschlaege, Etiketten
+ // Envelopes, labels.
void InsertEnv(SfxRequest&);
void InsertLab(SfxRequest&, sal_Bool bLabel);
@@ -138,25 +137,23 @@ public:
TYPEINFO();
SFX_DECL_INTERFACE(SW_INTERFACE_MODULE)
- // dieser Ctor nur fuer SW-Dll
+ // This Ctor only for SW-Dll.
SwModule( SfxObjectFactory* pFact,
SfxObjectFactory* pWebFact,
SfxObjectFactory* pGlobalFact );
~SwModule();
- // View setzen nur fuer internen Gebrauch,
- // aus techn. Gruenden public
- //
+ // Set view for internal use only. It is public only for technical reasons.
inline void SetView(SwView* pVw) { pView = pVw; }
inline SwView* GetView() { return pView; }
- //Die Handler fuer die Slots
- void StateOther(SfxItemSet &); // andere
+ // Handler for slots.
+ void StateOther(SfxItemSet &);
- void ExecOther(SfxRequest &); // Felder, Formel ..
+ void ExecOther(SfxRequest &); // Fields, formula...
- // Benutzereinstellungen modifizieren
+ // Modify user settings.
const SwMasterUsrPref *GetUsrPref(sal_Bool bWeb) const;
const SwViewOption* GetViewOption(sal_Bool bWeb);
void ApplyUsrPref(const SwViewOption &, SwView*,
@@ -166,12 +163,12 @@ public:
void ApplyFldUpdateFlags(SwFldUpdateFlags eFldFlags);
void ApplyLinkMode(sal_Int32 nNewLinkMode);
- //default page mode for text grid
+ // Default page mode for text grid.
void ApplyDefaultPageMode(sal_Bool bIsSquaredPageMode);
void ApplyUserCharUnit(sal_Bool bApplyChar, sal_Bool bWeb); // apply_char_unit
- // ConfigItems erzeugen
+ // Create ConfigItems.
SwModuleOptions* GetModuleConfig() { return pModuleConfig;}
SwPrintOptions* GetPrtOptions(sal_Bool bWeb);
SwChapterNumRules* GetChapterNumRules();
@@ -186,7 +183,7 @@ public:
SvtUserOptions& GetUserOptions();
SvtUndoOptions& GetUndoOptions();
- // Ueber Sichten iterieren
+ // Iterate over views.
static SwView* GetFirstView();
static SwView* GetNextView(SwView*);
@@ -195,12 +192,12 @@ public:
void ShowDBObj( SwView& rView, const SwDBData& rData, sal_Bool bOnlyIfAvailable = sal_False);
- // Tabellenmodi
+ // Table modi.
sal_Bool IsInsTblFormatNum(sal_Bool bHTML) const;
sal_Bool IsInsTblChangeNumFormat(sal_Bool bHTML) const;
sal_Bool IsInsTblAlignNum(sal_Bool bHTML) const;
- // Redlining
+ // Redlining.
sal_uInt16 GetRedlineAuthor();
const String& GetRedlineAuthor(sal_uInt16 nPos);
sal_uInt16 InsertRedlineAuthor(const String& rAuthor);
@@ -212,27 +209,27 @@ public:
sal_uInt16 GetRedlineMarkPos();
const Color& GetRedlineMarkColor();
- // returne den definierten DocStat - WordDelimiter
+ // Return defined DocStat - WordDelimiter.
const String& GetDocStatWordDelim() const;
- // Durchreichen der Metric von der ModuleConfig (fuer HTML-Export)
+ // Pass metric of ModuleConfig (for HTML-export).
sal_uInt16 GetMetric( sal_Bool bWeb ) const;
- // Update-Stati durchreichen
+ // Pass update-statuses.
sal_uInt16 GetLinkUpdMode( sal_Bool bWeb ) const;
SwFldUpdateFlags GetFldUpdateFlags( sal_Bool bWeb ) const;
- //virtuelle Methoden fuer den Optionendialog
+ // Virtual methods for options dialog.
virtual SfxItemSet* CreateItemSet( sal_uInt16 nId );
virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet );
virtual SfxTabPage* CreateTabPage( sal_uInt16 nId, Window* pParent, const SfxItemSet& rSet );
- //hier wird der Pool angelegt und an der SfxShell gesetzt
+ // Pool is created here and set at SfxShell.
void InitAttrPool();
- //Pool loeschen bevor es zu spaet ist
+ // Delete pool before it is too late.
void RemoveAttrPool();
- // Invalidiert ggf. OnlineSpell-WrongListen
+ // Invalidates online spell-wrong-lists if necessary.
void CheckSpellChanges( sal_Bool bOnlineSpelling,
sal_Bool bIsSpellWrongAgain, sal_Bool bIsSpellAllAgain, sal_Bool bSmartTags );
@@ -268,9 +265,7 @@ inline void SwModule::SetLngSvcEvtListener(
}
-/*
- Zugriff auf das SwModule, die ::com::sun::star::sdbcx::View und die Shell
-*/
+// Access to SwModule, the ::com::sun::star::sdbcx::View and the shell.
#define SW_MOD() ( *(SwModule**) GetAppData(SHL_WRITER))