Kaydet (Commit) 43401d5f authored tarafından Martin Kepplinger's avatar Martin Kepplinger

Translate german comments

Translate german code comments to english!

This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
license.
üst 518c769c
...@@ -44,7 +44,7 @@ class SwWrtShell; ...@@ -44,7 +44,7 @@ class SwWrtShell;
class SwForm; class SwForm;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Markierung fuer Verzeichniseintrag einfuegen Description: insert marker for index entry
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwIdxFormDlg : public SvxStandardDialog class SwIdxFormDlg : public SvxStandardDialog
{ {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
class SwWrtShell; class SwWrtShell;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Rahmendialog Description: frame dialog
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwFrmDlg : public SfxTabDialog class SwFrmDlg : public SfxTabDialog
{ {
......
...@@ -70,18 +70,18 @@ class SW_DLLPUBLIC SwFlyFrmAttrMgr ...@@ -70,18 +70,18 @@ class SW_DLLPUBLIC SwFlyFrmAttrMgr
sal_Bool bIsInVerticalL2R; sal_Bool bIsInVerticalL2R;
// <-- // <--
// interne Verrechnung fuer Umrandung // internal calculation for borders
SW_DLLPRIVATE SwTwips CalcTopSpace(); SW_DLLPRIVATE SwTwips CalcTopSpace();
SW_DLLPRIVATE SwTwips CalcBottomSpace(); SW_DLLPRIVATE SwTwips CalcBottomSpace();
SW_DLLPRIVATE SwTwips CalcLeftSpace(); SW_DLLPRIVATE SwTwips CalcLeftSpace();
SW_DLLPRIVATE SwTwips CalcRightSpace(); SW_DLLPRIVATE SwTwips CalcRightSpace();
SW_DLLPRIVATE void _UpdateFlyFrm(); //Nacharbeit nach Einfuegen oder Update SW_DLLPRIVATE void _UpdateFlyFrm(); // post-treatment after insertation or update
public: public:
SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell* pSh, sal_uInt8 nType ); SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell* pSh, sal_uInt8 nType );
//CopyCtor fuer die Dialoge, zum Pruefen der Metrics //CopyCtor for dialogs to check the metrics
SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell *pSh, const SfxItemSet &rSet ); SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell *pSh, const SfxItemSet &rSet );
inline SwWrtShell* GetShell() { return pOwnSh; } inline SwWrtShell* GetShell() { return pOwnSh; }
...@@ -92,14 +92,14 @@ public: ...@@ -92,14 +92,14 @@ public:
void SetHorzOrientation(sal_Int16 eOrient); void SetHorzOrientation(sal_Int16 eOrient);
void SetVertOrientation(sal_Int16 eOrient); void SetVertOrientation(sal_Int16 eOrient);
// Absolute Position // absolute position
void SetAbsPos(const Point& rLPoint); void SetAbsPos(const Point& rLPoint);
// Relative Position vom Anker // anchor's relative position
void SetPos(const Point& rLPoint); void SetPos(const Point& rLPoint);
inline Point GetPos() const; inline Point GetPos() const;
// Groesse // size
void SetSize(const Size& rLSize); void SetSize(const Size& rLSize);
inline const Size& GetSize() const; inline const Size& GetSize() const;
...@@ -107,7 +107,7 @@ public: ...@@ -107,7 +107,7 @@ public:
void SetHeightSizeType(SwFrmSize eType); void SetHeightSizeType(SwFrmSize eType);
// Abstand zum Inhalt // space to content
void SetLRSpace( long nLeft = LONG_MAX, void SetLRSpace( long nLeft = LONG_MAX,
long nRight = LONG_MAX ); long nRight = LONG_MAX );
void SetULSpace( long nTop = LONG_MAX, void SetULSpace( long nTop = LONG_MAX,
...@@ -115,25 +115,25 @@ public: ...@@ -115,25 +115,25 @@ public:
void SetCol( const SwFmtCol &rCol); void SetCol( const SwFmtCol &rCol);
// Attribute aendern und erfragen // change and query attributes
void UpdateAttrMgr(); void UpdateAttrMgr();
void UpdateFlyFrm(); void UpdateFlyFrm();
// neuen Rahmen erzeugen // create new frame
sal_Bool InsertFlyFrm(); sal_Bool InsertFlyFrm();
void InsertFlyFrm(RndStdIds eAnchorType, void InsertFlyFrm(RndStdIds eAnchorType,
const Point &rPos, const Point &rPos,
const Size &rSize, const Size &rSize,
sal_Bool bAbsPos = sal_False); sal_Bool bAbsPos = sal_False);
// Metriken pruefen und aendern // check and change metrics
void ValidateMetrics(SvxSwFrameValidation& rVal, void ValidateMetrics(SvxSwFrameValidation& rVal,
const SwPosition* pToCharCntntPos, const SwPosition* pToCharCntntPos,
sal_Bool bOnlyPercentRefValue = sal_False); sal_Bool bOnlyPercentRefValue = sal_False);
void DelAttr(sal_uInt16 nId); void DelAttr(sal_uInt16 nId);
// Set rausreichen // reach out the set
inline const SfxItemSet &GetAttrSet() const { return aSet; } inline const SfxItemSet &GetAttrSet() const { return aSet; }
inline SfxItemSet &GetAttrSet() { return aSet; } inline SfxItemSet &GetAttrSet() { return aSet; }
void SetAttrSet(const SfxItemSet& rSet); void SetAttrSet(const SfxItemSet& rSet);
......
...@@ -48,11 +48,11 @@ struct FrmMap; ...@@ -48,11 +48,11 @@ struct FrmMap;
struct SwPosition; struct SwPosition;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Rahmendialog Description: frame dialog
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwFrmPage: public SfxTabPage class SwFrmPage: public SfxTabPage
{ {
// Size // size
FixedLine aSizeFL; FixedLine aSizeFL;
FixedText aWidthFT; FixedText aWidthFT;
FixedText aWidthAutoFT; FixedText aWidthAutoFT;
...@@ -67,7 +67,7 @@ class SwFrmPage: public SfxTabPage ...@@ -67,7 +67,7 @@ class SwFrmPage: public SfxTabPage
CheckBox aFixedRatioCB; CheckBox aFixedRatioCB;
PushButton aRealSizeBT; PushButton aRealSizeBT;
// Anker // anchor
FixedLine aTypeSepFL; FixedLine aTypeSepFL;
FixedLine aTypeFL; FixedLine aTypeFL;
RadioButton aAnchorAtPageRB; RadioButton aAnchorAtPageRB;
...@@ -76,7 +76,7 @@ class SwFrmPage: public SfxTabPage ...@@ -76,7 +76,7 @@ class SwFrmPage: public SfxTabPage
RadioButton aAnchorAsCharRB; RadioButton aAnchorAsCharRB;
RadioButton aAnchorAtFrameRB; RadioButton aAnchorAtFrameRB;
// Position // position
FixedLine aPositionFL; FixedLine aPositionFL;
FixedText aHorizontalFT; FixedText aHorizontalFT;
ListBox aHorizontalDLB; ListBox aHorizontalDLB;
...@@ -94,7 +94,7 @@ class SwFrmPage: public SfxTabPage ...@@ -94,7 +94,7 @@ class SwFrmPage: public SfxTabPage
// OD 02.10.2003 #i18732# - check box for new option 'FollowTextFlow' // OD 02.10.2003 #i18732# - check box for new option 'FollowTextFlow'
CheckBox aFollowTextFlowCB; CheckBox aFollowTextFlowCB;
// Example // example
SvxSwFrameExample aExampleWN; SvxSwFrameExample aExampleWN;
//'string provider' //'string provider'
...@@ -125,7 +125,7 @@ class SwFrmPage: public SfxTabPage ...@@ -125,7 +125,7 @@ class SwFrmPage: public SfxTabPage
// to character anchored objects. // to character anchored objects.
const SwPosition* mpToCharCntntPos; const SwPosition* mpToCharCntntPos;
// Die alten Ausrichtungen // old alignment
short nOldH; short nOldH;
short nOldHRel; short nOldHRel;
short nOldV; short nOldV;
...@@ -157,7 +157,7 @@ class SwFrmPage: public SfxTabPage ...@@ -157,7 +157,7 @@ class SwFrmPage: public SfxTabPage
DECL_LINK( AutoWidthClickHdl, void* ); DECL_LINK( AutoWidthClickHdl, void* );
DECL_LINK( AutoHeightClickHdl, void* ); DECL_LINK( AutoHeightClickHdl, void* );
// Beispiel aktualisieren // update example
void UpdateExample(); void UpdateExample();
DECL_LINK( ModifyHdl, Edit * ); DECL_LINK( ModifyHdl, Edit * );
...@@ -206,7 +206,7 @@ public: ...@@ -206,7 +206,7 @@ public:
class SwGrfExtPage: public SfxTabPage class SwGrfExtPage: public SfxTabPage
{ {
// Spiegeln // mirror
FixedLine aMirrorFL; FixedLine aMirrorFL;
CheckBox aMirrorVertBox; CheckBox aMirrorVertBox;
CheckBox aMirrorHorzBox; CheckBox aMirrorHorzBox;
...@@ -227,7 +227,7 @@ class SwGrfExtPage: public SfxTabPage ...@@ -227,7 +227,7 @@ class SwGrfExtPage: public SfxTabPage
sal_Bool bHtmlMode; sal_Bool bHtmlMode;
// Handler fuer Spiegeln // handler for mirroring
DECL_LINK( MirrorHdl, CheckBox * ); DECL_LINK( MirrorHdl, CheckBox * );
DECL_LINK( BrowseHdl, Button * ); DECL_LINK( BrowseHdl, Button * );
...@@ -249,7 +249,7 @@ public: ...@@ -249,7 +249,7 @@ public:
class SwFrmURLPage : public SfxTabPage class SwFrmURLPage : public SfxTabPage
{ {
//Hyperlink // hyperlink
FixedLine aHyperLinkFL; FixedLine aHyperLinkFL;
FixedText aURLFT; FixedText aURLFT;
Edit aURLED; Edit aURLED;
...@@ -259,7 +259,7 @@ class SwFrmURLPage : public SfxTabPage ...@@ -259,7 +259,7 @@ class SwFrmURLPage : public SfxTabPage
FixedText aFrameFT; FixedText aFrameFT;
ComboBox aFrameCB; ComboBox aFrameCB;
//Image map // image map
FixedLine aImageFL; FixedLine aImageFL;
CheckBox aServerCB; CheckBox aServerCB;
CheckBox aClientCB; CheckBox aClientCB;
......
...@@ -78,8 +78,8 @@ public: ...@@ -78,8 +78,8 @@ public:
sal_Bool CopyOrMove( const String& rSourceGroupName, String& rSourceShortName, sal_Bool CopyOrMove( const String& rSourceGroupName, String& rSourceShortName,
const String& rDestGroupName, const String& rLongName, sal_Bool bMove ); const String& rDestGroupName, const String& rLongName, sal_Bool bMove );
sal_Bool HasShortName(const String &rShortName) const; sal_Bool HasShortName(const String &rShortName) const;
//wird NewGlossary vom Basic gerufen, dann soll dir zuvor eingestellte // when NewGlossary is called from Basic then the previously set group should
//Gruppe ggf. neu erstellt werden // be newly created if applicable.
sal_Bool NewGlossary(const String &rName, const String &rShortName, sal_Bool NewGlossary(const String &rName, const String &rShortName,
sal_Bool bApiCall = sal_False, sal_Bool bNoAttr = sal_False ); sal_Bool bApiCall = sal_False, sal_Bool bNoAttr = sal_False );
sal_Bool DelGlossary(const String&); sal_Bool DelGlossary(const String&);
...@@ -100,7 +100,7 @@ public: ...@@ -100,7 +100,7 @@ public:
sal_Bool IsReadOnly( const String* = 0 ) const; sal_Bool IsReadOnly( const String* = 0 ) const;
sal_Bool IsOld() const; sal_Bool IsOld() const;
sal_Bool FindGroupName(String & rGroup); // Gruppe ohne Pfadindex finden sal_Bool FindGroupName(String & rGroup); // find group without path index
sal_Bool ImportGlossaries( const String& rName ); sal_Bool ImportGlossaries( const String& rName );
......
...@@ -43,8 +43,8 @@ struct AutoTextGroup ...@@ -43,8 +43,8 @@ struct AutoTextGroup
sal_uInt16 nCount; sal_uInt16 nCount;
String sName; String sName;
String sTitle; String sTitle;
String sLongNames; // durch 0x0A getrennte Langnamen String sLongNames; // by 0x0A seperated long names
String sShortNames; // durch 0x0A getrennte Kurznamen String sShortNames; // by 0x0A seperated short names
DateTime aDateModified; DateTime aDateModified;
}; };
......
...@@ -41,12 +41,12 @@ private: ...@@ -41,12 +41,12 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenator > xHyph; ::com::sun::star::linguistic2::XHyphenator > xHyph;
Link aOldLnk; Link aOldLnk;
LanguageType nLangError; // nicht vorhandene Sprache LanguageType nLangError; // non existing language
sal_uInt16 nPageCount; // Seitenanzahl fuer Progressanzeige sal_uInt16 nPageCount; // page count for progress view
sal_uInt16 nPageStart; // 1. gepruefte Seite sal_uInt16 nPageStart; // 1st checked page
sal_Bool bInSelection : 1; // Trennen von selektiertem Text sal_Bool bInSelection : 1; // seperating selected text
sal_Bool bShowError : 1; // nicht vorhandene Sprache melden sal_Bool bShowError : 1; // report non existing language
sal_Bool bAutomatic : 1; // Trennstellen ohne Rueckfrage einfuegen sal_Bool bAutomatic : 1; // insert seperators without further inquiry
sal_Bool bInfoBox : 1; // display info-box when ending sal_Bool bInfoBox : 1; // display info-box when ending
DECL_LINK( SpellError, LanguageType * ); DECL_LINK( SpellError, LanguageType * );
...@@ -55,7 +55,7 @@ protected: ...@@ -55,7 +55,7 @@ protected:
virtual sal_Bool SpellContinue(); virtual sal_Bool SpellContinue();
virtual void SpellEnd( ); virtual void SpellEnd( );
virtual sal_Bool SpellMore(); virtual sal_Bool SpellMore();
virtual void InsertHyphen( const sal_uInt16 nPos ); // Hyphen einfuegen virtual void InsertHyphen( const sal_uInt16 nPos ); // insert hyphen
public: public:
SwHyphWrapper( SwView* pVw, SwHyphWrapper( SwView* pVw,
......
...@@ -62,7 +62,7 @@ extern SvStringsDtor* pDBNameList; ...@@ -62,7 +62,7 @@ extern SvStringsDtor* pDBNameList;
extern SvStringsDtor* pAuthFieldNameList; extern SvStringsDtor* pAuthFieldNameList;
extern SvStringsDtor* pAuthFieldTypeList; extern SvStringsDtor* pAuthFieldTypeList;
// stellt die Textbausteinverwaltung zur Verfuegung // provides textblock management
class SwGlossaries; class SwGlossaries;
SW_DLLPUBLIC SwGlossaries* GetGlossaries(); SW_DLLPUBLIC SwGlossaries* GetGlossaries();
......
...@@ -41,7 +41,7 @@ class SwField; ...@@ -41,7 +41,7 @@ class SwField;
class SwWrtShell; class SwWrtShell;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Einfuegen Felder Description: insert fields
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwFldInputDlg: public SvxStandardDialog class SwFldInputDlg: public SvxStandardDialog
......
...@@ -69,8 +69,8 @@ friend class InputEdit; ...@@ -69,8 +69,8 @@ friend class InputEdit;
String aAktTableName, sOldFml; String aAktTableName, sOldFml;
sal_Int32 m_nActionCount; sal_Int32 m_nActionCount;
sal_Bool bFirst : 1; //Initialisierungen beim ersten Aufruf sal_Bool bFirst : 1; // initialisations at first call
sal_Bool bActive : 1; //fuer Hide/Show beim Dokumentwechsel sal_Bool bActive : 1; // for hide/show when switching documents
sal_Bool bIsTable : 1; sal_Bool bIsTable : 1;
sal_Bool bDelSel : 1; sal_Bool bDelSel : 1;
bool m_bDoesUndo : 1; bool m_bDoesUndo : 1;
......
...@@ -41,7 +41,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog ...@@ -41,7 +41,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog
{ {
SwWrtShell &rSh; SwWrtShell &rSh;
//Alles fuer das/die Zeichen // everything for the character(s)
String aFontName; String aFontName;
CharSet eCharSet; CharSet eCharSet;
char cExtChar; char cExtChar;
...@@ -53,7 +53,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog ...@@ -53,7 +53,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog
Edit aNumberCharEdit; Edit aNumberCharEdit;
PushButton aNumberExtChar; PushButton aNumberExtChar;
//Alles fuer die Auswahl Fussnote/Endnote // everything for the selection footnote/endnote
FixedLine aTypeFL; FixedLine aTypeFL;
RadioButton aFtnBtn; RadioButton aFtnBtn;
RadioButton aEndNoteBtn; RadioButton aEndNoteBtn;
......
...@@ -50,28 +50,28 @@ public: ...@@ -50,28 +50,28 @@ public:
virtual SfxPoolItem* Clone(SfxItemPool* = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* = 0) const;
rtl::OUString aLstMake; //Letzte Auswahl merken. rtl::OUString aLstMake; // remember last selection
rtl::OUString aLstType; rtl::OUString aLstType;
rtl::OUString sDBName; // Verwendete Datenbank rtl::OUString sDBName; // used database
rtl::OUString aWriting; // Aufschrift rtl::OUString aWriting; // label
rtl::OUString aMake; // Etikettenmarke rtl::OUString aMake; // label mark
rtl::OUString aType; // Etikettentyp rtl::OUString aType; // label type
rtl::OUString aBin; // Druckerschacht rtl::OUString aBin; // printer shaft
sal_Int32 lHDist; // Horizontaler Abstand (Benutzer) sal_Int32 lHDist; // horizontal distance (user)
sal_Int32 lVDist; // Vertikaler Abstand (Benutzer) sal_Int32 lVDist; // vertical distance (user)
sal_Int32 lWidth; // Breite (Benutzer) sal_Int32 lWidth; // width (user)
sal_Int32 lHeight; // Hoehe (Benutzer) sal_Int32 lHeight; // height (user)
sal_Int32 lLeft; // Rand links (Benutzer) sal_Int32 lLeft; // left border (user)
sal_Int32 lUpper; // Rand oben (Benutzer) sal_Int32 lUpper; // upper border (user)
sal_Int32 nCols; // Anzahl Spalten (Benutzer) sal_Int32 nCols; // number of columns (user)
sal_Int32 nRows; // Anzahl Zeilen (Benutzer) sal_Int32 nRows; // number of rows (user)
sal_Int32 nCol; // Spalte fuer Einzeldruck sal_Int32 nCol; // column for single print
sal_Int32 nRow; // Zeile fuer Einzeldruck sal_Int32 nRow; // row for single print
sal_Bool bAddr;// Adresse als Aufschrift? sal_Bool bAddr;// adress as label?
sal_Bool bCont;// Endlospapier? sal_Bool bCont;// continuous paper?
sal_Bool bPage;// Ganze Seite oder einzelnes Etikett? sal_Bool bPage;// whole page or single labels?
sal_Bool bSynchron;// Alle Etiketten synchronisieren sal_Bool bSynchron;// synchronise all labels
//parts of the business card //parts of the business card
rtl::OUString aPrivFirstName; rtl::OUString aPrivFirstName;
......
...@@ -42,7 +42,7 @@ class SwView; ...@@ -42,7 +42,7 @@ class SwView;
class SwWrtShell; class SwWrtShell;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: SingleTabDialog Description: SingleTabDialog
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwLineNumberingDlg : public SfxSingleTabDialog class SwLineNumberingDlg : public SfxSingleTabDialog
{ {
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
}; };
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: TabPage Description: TabPage
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwLineNumberingPage : public SfxTabPage class SwLineNumberingPage : public SfxTabPage
{ {
......
...@@ -288,7 +288,7 @@ public: ...@@ -288,7 +288,7 @@ public:
SwMailMessage(); SwMailMessage();
~SwMailMessage(); ~SwMailMessage();
// Attributes // attributes
virtual ::rtl::OUString SAL_CALL getSenderName() throw (::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSenderName() throw (::com::sun::star::uno::RuntimeException);
virtual ::rtl::OUString SAL_CALL getSenderAddress() throw (::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSenderAddress() throw (::com::sun::star::uno::RuntimeException);
virtual ::rtl::OUString SAL_CALL getReplyToAddress() throw (::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getReplyToAddress() throw (::com::sun::star::uno::RuntimeException);
...@@ -302,7 +302,7 @@ public: ...@@ -302,7 +302,7 @@ public:
virtual void SAL_CALL setBody( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& _body ) virtual void SAL_CALL setBody( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& _body )
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException);
// Methods // methods
virtual void SAL_CALL addRecipient( const ::rtl::OUString& sRecipientAddress ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addRecipient( const ::rtl::OUString& sRecipientAddress ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addCcRecipient( const ::rtl::OUString& sRecipientAddress ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addCcRecipient( const ::rtl::OUString& sRecipientAddress ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addBccRecipient( const ::rtl::OUString& sRecipientAddress ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addBccRecipient( const ::rtl::OUString& sRecipientAddress ) throw (::com::sun::star::uno::RuntimeException);
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
class SwTOXMgr; class SwTOXMgr;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Markierung fuer Verzeichniseintrag einfuegen Description: insert mark for index entry
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwMultiTOXMarkDlg : public SvxStandardDialog class SwMultiTOXMarkDlg : public SvxStandardDialog
......
...@@ -38,7 +38,7 @@ class SwNavigationConfig : public utl::ConfigItem ...@@ -38,7 +38,7 @@ class SwNavigationConfig : public utl::ConfigItem
sal_Int32 nRegionMode; //InsertMode sal_Int32 nRegionMode; //InsertMode
sal_Int32 nActiveBlock; //ActiveBlock//Expand/CollapsState sal_Int32 nActiveBlock; //ActiveBlock//Expand/CollapsState
sal_Bool bIsSmall; //ShowListBox sal_Bool bIsSmall; //ShowListBox
sal_Bool bIsGlobalActive; //GlobalDocMode// Globalansicht fuer GlobalDoc gueltig? sal_Bool bIsGlobalActive; //GlobalDocMode// global view for GlobalDoc valid?
com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames();
......
...@@ -35,16 +35,16 @@ class SwDocShell; ...@@ -35,16 +35,16 @@ class SwDocShell;
class TransferDataContainer; class TransferDataContainer;
class TransferableDataHelper; class TransferableDataHelper;
/* [Beschreibung] /*
Navigator-Bookmark zur eindeutigen Identifizierung im Sw navigator bookmark for distinct identification in Sw
*/ */
class NaviContentBookmark class NaviContentBookmark
{ {
String aUrl; // URL inkl. Sprungmarke String aUrl; // URL including jump mark
String aDescr; // Description String aDescr; // description
long nDocSh; // Adresse der DocShell long nDocSh; // adress of DocShell
sal_uInt16 nDefDrag; // Description enthaelt defaultDragType sal_uInt16 nDefDrag; // description contains defaultDragType
public: public:
NaviContentBookmark(); NaviContentBookmark();
......
...@@ -77,7 +77,7 @@ class SwNavigationPI : public Window, ...@@ -77,7 +77,7 @@ class SwNavigationPI : public Window,
String sContentFileName; String sContentFileName;
String aContextArr[3]; String aContextArr[3];
String aStatusArr[4]; String aStatusArr[4];
Point aBoxBottomLeft; // Pos., wenn Box unten ist Point aBoxBottomLeft; // Pos when Box is at bottom
SfxObjectShellLock *pxObjectShell; SfxObjectShellLock *pxObjectShell;
SwView *pContentView; SwView *pContentView;
...@@ -95,7 +95,7 @@ class SwNavigationPI : public Window, ...@@ -95,7 +95,7 @@ class SwNavigationPI : public Window,
long nDocLBIniHeight; long nDocLBIniHeight;
long nWishWidth; long nWishWidth;
sal_uInt16 nAutoMarkIdx; sal_uInt16 nAutoMarkIdx;
sal_uInt16 nRegionMode; // 0 - URL, 1 - Bereich mit Link 2 - B. ohne Link sal_uInt16 nRegionMode; // 0 - URL, 1 - region with link 2 - region without link
short nZoomIn; short nZoomIn;
short nZoomOutInit; short nZoomOutInit;
short nZoomOut; short nZoomOut;
...@@ -143,7 +143,7 @@ protected: ...@@ -143,7 +143,7 @@ protected:
virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt );
// zum App-Ende rechtzeitig ObjectShellLock loslassen // release ObjectShellLock early enough for app end
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
NumEditAction& GetPageEdit(); NumEditAction& GetPageEdit();
...@@ -155,7 +155,7 @@ public: ...@@ -155,7 +155,7 @@ public:
SwNavigationPI(SfxBindings*, SfxChildWindowContext*, Window*); SwNavigationPI(SfxBindings*, SfxChildWindowContext*, Window*);
~SwNavigationPI(); ~SwNavigationPI();
void GotoPage(); // Seite anspringen; bindbare Funktion void GotoPage(); // jump to page; bindable function
void Update() { FillBox(); } void Update() { FillBox(); }
void UpdateListBox(); void UpdateListBox();
......
...@@ -101,7 +101,7 @@ class SwNumPositionTabPage : public SfxTabPage ...@@ -101,7 +101,7 @@ class SwNumPositionTabPage : public SfxTabPage
sal_Bool bModified : 1; sal_Bool bModified : 1;
sal_Bool bPreset : 1; sal_Bool bPreset : 1;
sal_Bool bInInintControl : 1; //Modify-Fehler umgehen, soll ab 391 behoben sein sal_Bool bInInintControl : 1; // work around modify-error; should be resolved from 391 on
bool bLabelAlignmentPosAndSpaceModeActive; bool bLabelAlignmentPosAndSpaceModeActive;
void InitControls(); void InitControls();
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
/* --- class SwParagraphNumTabPage ---------------------------------------- /* --- class SwParagraphNumTabPage ----------------------------------------
Mit dieser TabPage werden Numerierungseinstellungen am Absatz bzw. der with this TabPage numbering settings at the paragraph / paragraph style
Absatzvorlage vorgenommen. are performed.
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
class SwParagraphNumTabPage : public SfxTabPage class SwParagraphNumTabPage : public SfxTabPage
......
...@@ -95,7 +95,7 @@ public: ...@@ -95,7 +95,7 @@ public:
}; };
/*-------------------------------------------------------- /*--------------------------------------------------------
TabPage Druckereinstellungen Zusaetze TabPage printer settings additions
--------------------------------------------------------- */ --------------------------------------------------------- */
class SwAddPrinterTabPage : public SfxTabPage class SwAddPrinterTabPage : public SfxTabPage
{ {
...@@ -199,7 +199,7 @@ class SwStdFontTabPage : public SfxTabPage ...@@ -199,7 +199,7 @@ class SwStdFontTabPage : public SfxTabPage
SwStdFontConfig* pFontConfig; SwStdFontConfig* pFontConfig;
SwWrtShell* pWrtShell; SwWrtShell* pWrtShell;
LanguageType eLanguage; LanguageType eLanguage;
// waren nur defaults vorhanden? wurden sie mit den Boxen ueberschrieben // only defaults were there? they were signed with the boxes
sal_Bool bListDefault :1; sal_Bool bListDefault :1;
sal_Bool bSetListDefault :1; sal_Bool bSetListDefault :1;
sal_Bool bLabelDefault :1; sal_Bool bLabelDefault :1;
...@@ -301,7 +301,7 @@ public: ...@@ -301,7 +301,7 @@ public:
}; };
/*-------------------------------------------------- /*--------------------------------------------------
TabPage fuer ShadowCrsr TabPage for ShadowCrsr
--------------------------------------------------*/ --------------------------------------------------*/
class SwShdwCrsrOptionsTabPage : public SfxTabPage class SwShdwCrsrOptionsTabPage : public SfxTabPage
{ {
...@@ -352,7 +352,7 @@ public: ...@@ -352,7 +352,7 @@ public:
}; };
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
Beschreibung: Markierungsvorschau Description: mark preview
-----------------------------------------------------------------------*/ -----------------------------------------------------------------------*/
class SwMarkPreview : public Window class SwMarkPreview : public Window
{ {
...@@ -389,7 +389,7 @@ public: ...@@ -389,7 +389,7 @@ public:
}; };
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
Beschreibung: Redlining-Optionen Description: redlining options
-----------------------------------------------------------------------*/ -----------------------------------------------------------------------*/
class SwRedlineOptionsTabPage : public SfxTabPage class SwRedlineOptionsTabPage : public SfxTabPage
{ {
...@@ -445,7 +445,7 @@ public: ...@@ -445,7 +445,7 @@ public:
}; };
/*------------------------------------------------------- /*-------------------------------------------------------
TabPage Testeinstellungen fuer SW TabPage test settings for SW
--------------------------------------------------------- */ --------------------------------------------------------- */
#if OSL_DEBUG_LEVEL > 1 #if OSL_DEBUG_LEVEL > 1
...@@ -484,4 +484,4 @@ private: ...@@ -484,4 +484,4 @@ private:
#endif //PRODUCT #endif //PRODUCT
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <vcl/field.hxx> #include <vcl/field.hxx>
#include "swtypes.hxx" //fuer MAXLEVEL #include "swtypes.hxx" //for MAXLEVEL
#include <numprevw.hxx> #include <numprevw.hxx>
#include <numberingtypelistbox.hxx> #include <numberingtypelistbox.hxx>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <svtools/ctrlbox.hxx> #include <svtools/ctrlbox.hxx>
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Fussnoteneinstellungs-TabPage Description: footnote settings TabPage
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwFootNotePage: public SfxTabPage class SwFootNotePage: public SfxTabPage
{ {
......
...@@ -37,7 +37,7 @@ class SwNavigationPI; ...@@ -37,7 +37,7 @@ class SwNavigationPI;
class SwHelpToolBox: public ToolBox, public DropTargetHelper class SwHelpToolBox: public ToolBox, public DropTargetHelper
{ {
Link aDoubleClickLink; Link aDoubleClickLink;
Link aRightClickLink; // Link bekommt MouseEvent als Parameter !!! Link aRightClickLink; // link gets mouse event as parameter !!!
using ToolBox::DoubleClick; using ToolBox::DoubleClick;
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
class SW_DLLPUBLIC PercentField : public MetricField class SW_DLLPUBLIC PercentField : public MetricField
{ {
sal_Int64 nRefValue; // 100%-Wert fuer Umrechnung (in Twips) sal_Int64 nRefValue; // 100% value for conversion (in Twips)
sal_Int64 nOldMax; sal_Int64 nOldMax;
sal_Int64 nOldMin; sal_Int64 nOldMin;
sal_Int64 nOldSpinSize; sal_Int64 nOldSpinSize;
......
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
SwPagePreViewWin( Window* pParent, SwPagePreView& rView ); SwPagePreViewWin( Window* pParent, SwPagePreView& rView );
~SwPagePreViewWin(); ~SwPagePreViewWin();
//Ruft ViewShell::Paint // calls ViewShell::Paint
virtual void Paint( const Rectangle& rRect ); virtual void Paint( const Rectangle& rRect );
virtual void KeyInput( const KeyEvent & ); virtual void KeyInput( const KeyEvent & );
virtual void Command( const CommandEvent& rCEvt ); virtual void Command( const CommandEvent& rCEvt );
...@@ -172,12 +172,12 @@ public: ...@@ -172,12 +172,12 @@ public:
}; };
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Sicht auf ein Dokument Description: view of a document
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SW_DLLPUBLIC SwPagePreView: public SfxViewShell class SW_DLLPUBLIC SwPagePreView: public SfxViewShell
{ {
// ViewWindow und Henkel zur Core // ViewWindow and handle to core
// aktuelle Dispatcher-Shell // current dispatcher shell
SwPagePreViewWin aViewWin; SwPagePreViewWin aViewWin;
//viewdata of the previous SwView and the new crsrposition //viewdata of the previous SwView and the new crsrposition
String sSwViewData, String sSwViewData,
...@@ -185,18 +185,17 @@ class SW_DLLPUBLIC SwPagePreView: public SfxViewShell ...@@ -185,18 +185,17 @@ class SW_DLLPUBLIC SwPagePreView: public SfxViewShell
sNewCrsrPos; sNewCrsrPos;
// to support keyboard the number of the page to go to can be set too // to support keyboard the number of the page to go to can be set too
sal_uInt16 nNewPage; sal_uInt16 nNewPage;
// Sichtbarer Bereich // visible range
String sPageStr; String sPageStr;
Size aDocSz; Size aDocSz;
Rectangle aVisArea; Rectangle aVisArea;
// MDI Bedienelemente // MDI control elements
SwScrollbar *pHScrollbar; SwScrollbar *pHScrollbar;
SwScrollbar *pVScrollbar; SwScrollbar *pVScrollbar;
ImageButton *pPageUpBtn, ImageButton *pPageUpBtn,
*pPageDownBtn; *pPageDownBtn;
// Dummy-Window zum F�llen der rechten unteren Ecke, wenn beide Scrollbars // dummy window for filling the lower right edge when both scrollbars are active
// aktiv sind
Window *pScrollFill; Window *pScrollFill;
sal_uInt16 mnPageCount; sal_uInt16 mnPageCount;
...@@ -284,7 +283,7 @@ public: ...@@ -284,7 +283,7 @@ public:
sal_uInt16 GetNewPage() const {return nNewPage;} sal_uInt16 GetNewPage() const {return nNewPage;}
void SetNewPage(sal_uInt16 nSet) {nNewPage = nSet;} void SetNewPage(sal_uInt16 nSet) {nNewPage = nSet;}
// Handler // handler
void Execute(SfxRequest&); void Execute(SfxRequest&);
void GetState(SfxItemSet&); void GetState(SfxItemSet&);
void StateUndo(SfxItemSet&); void StateUndo(SfxItemSet&);
...@@ -324,7 +323,7 @@ public: ...@@ -324,7 +323,7 @@ public:
~SwPagePreView(); ~SwPagePreView();
}; };
// ----------------- inline Methoden ---------------------- // ----------------- inline methods ----------------------
inline void SwPagePreView::AdjustEditWin() inline void SwPagePreView::AdjustEditWin()
{ {
OuterResizePixel( Point(), GetFrameWindow()->GetOutputSizePixel() ); OuterResizePixel( Point(), GetFrameWindow()->GetOutputSizePixel() );
......
...@@ -44,17 +44,17 @@ class SwChildWinWrapper; ...@@ -44,17 +44,17 @@ class SwChildWinWrapper;
struct SwRedlineDataChild struct SwRedlineDataChild
{ {
const SwRedlineData* pChild; // Verweis auf originale gestackte Daten const SwRedlineData* pChild; // link to original stacked data
const SwRedlineDataChild* pNext; // Verweis auf gestackte Daten const SwRedlineDataChild* pNext; // link to stacked data
SvLBoxEntry* pTLBChild; // zugehoeriger TreeListBox-Eintrag SvLBoxEntry* pTLBChild; // corresponding TreeListBox entry
}; };
struct SwRedlineDataParent struct SwRedlineDataParent
{ {
const SwRedlineData* pData; // RedlineDataPtr const SwRedlineData* pData; // RedlineDataPtr
const SwRedlineDataChild* pNext; // Verweis auf gestackte Daten const SwRedlineDataChild* pNext; // link to stacked data
SvLBoxEntry* pTLBParent; // zugehoeriger TreeListBox-Eintrag SvLBoxEntry* pTLBParent; // corresponding TreeListBox entry
String sComment; // Redline-Kommentar String sComment; // redline comment
inline sal_Bool operator==( const SwRedlineDataParent& rObj ) const inline sal_Bool operator==( const SwRedlineDataParent& rObj ) const
{ return (pData && pData->GetSeqNo() == rObj.pData->GetSeqNo()); } { return (pData && pData->GetSeqNo() == rObj.pData->GetSeqNo()); }
......
...@@ -62,7 +62,7 @@ namespace sfx2 ...@@ -62,7 +62,7 @@ namespace sfx2
} }
/************************************************************************* /*************************************************************************
Dialog "Bereiche bearbeiten" dialog "edit regions"
*************************************************************************/ *************************************************************************/
class SectRepr; class SectRepr;
typedef SectRepr* SectReprPtr; typedef SectRepr* SectReprPtr;
...@@ -156,7 +156,7 @@ public: ...@@ -156,7 +156,7 @@ public:
}; };
/************************************************************************* /*************************************************************************
Dialog "Bereich einfuegen" dialog "insert region"
*************************************************************************/ *************************************************************************/
class SwInsertSectionTabPage : public SfxTabPage class SwInsertSectionTabPage : public SfxTabPage
{ {
......
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
class SwScrollbar: public ScrollBar class SwScrollbar: public ScrollBar
{ {
Size aDocSz; Size aDocSz;
sal_Bool bHori :1; // Horizontal = sal_True, sonst Vertikal sal_Bool bHori :1; // horizontal = salTrue, otherwise vertical
sal_Bool bAuto :1; // fuer Scrollingmode sal_Bool bAuto :1; // for scrolling mode
sal_Bool bThumbEnabled:1; sal_Bool bThumbEnabled:1;
sal_Bool bVisible :1; // Show/Hide sollen nur noch dieses Flag setzen sal_Bool bVisible :1; // show/hide should only set this flag
sal_Bool bSizeSet :1; // wurde die Groesse bereits gesetzt? sal_Bool bSizeSet :1; // was the size already set?
void AutoShow(); void AutoShow();
...@@ -51,11 +51,11 @@ public: ...@@ -51,11 +51,11 @@ public:
void SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ); void SetPosSizePixel( const Point& rNewPos, const Size& rNewSize );
sal_Bool IsVisible(sal_Bool bReal) const { return bReal ? ScrollBar::IsVisible() : bVisible; } sal_Bool IsVisible(sal_Bool bReal) const { return bReal ? ScrollBar::IsVisible() : bVisible; }
// Aenderung der Dokumentgroesse // changing of document size
void DocSzChgd(const Size &rNewSize); void DocSzChgd(const Size &rNewSize);
// Aenderung des sichtbaren Bereiches // changing of visible region
void ViewPortChgd(const Rectangle &rRectangle); void ViewPortChgd(const Rectangle &rRectangle);
// was fuer einer ist es denn ?? // what is it??
sal_Bool IsHoriScroll() const { return bHori; } sal_Bool IsHoriScroll() const { return bHori; }
void SetAuto(sal_Bool bSet); void SetAuto(sal_Bool bSet);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment