Kaydet (Commit) 7efdc59d authored tarafından Michael Weghorn's avatar Michael Weghorn Kaydeden (comit) Noel Grandin

fdo#39468 translate German comments

Change-Id: Ibcd2199db171c531018301631d76ec56924da23a
Reviewed-on: https://gerrit.libreoffice.org/13511Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 652e09f7
...@@ -96,8 +96,8 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase ...@@ -96,8 +96,8 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase
friend class SotFactory; friend class SotFactory;
sal_uInt16 nOwnerLockCount; sal_uInt16 nOwnerLockCount;
bool bOwner; bool bOwner;
bool bSVObject; // Ist Proxy, dann TRUE wenn andere Seite SV ist bool bSVObject; // is proxy, then TRUE if other side is SV
bool bInClose; // TRUE, im DoClose bool bInClose; // TRUE, in DoClose
protected: protected:
virtual ~SotObject(); virtual ~SotObject();
...@@ -115,7 +115,7 @@ public: ...@@ -115,7 +115,7 @@ public:
virtual const SotFactory * GetSvFactory() const; virtual const SotFactory * GetSvFactory() const;
virtual void * Cast( const SotFactory * ); virtual void * Cast( const SotFactory * );
// Nur damit die Makros in So3 nicht ganz ausufern // only for the macros in So3 not to get out of hand
virtual IUnknown * GetInterface( const SvGlobalName & ); virtual IUnknown * GetInterface( const SvGlobalName & );
bool Owner() const { return bOwner; } bool Owner() const { return bOwner; }
...@@ -127,7 +127,7 @@ public: ...@@ -127,7 +127,7 @@ public:
bool IsInClose() const { return bInClose; } bool IsInClose() const { return bInClose; }
private: private:
// Kopieren und Zuweisen dieses Objekttyps ist nicht erlaubt // copying and assigning this object type is not allowed
SOT_DLLPRIVATE SotObject & operator = ( const SotObject & ); SOT_DLLPRIVATE SotObject & operator = ( const SotObject & );
SOT_DLLPRIVATE SotObject( const SotObject & ); SOT_DLLPRIVATE SotObject( const SotObject & );
}; };
......
...@@ -52,7 +52,7 @@ class BaseStorageStream; ...@@ -52,7 +52,7 @@ class BaseStorageStream;
class SOT_DLLPUBLIC SotStorageStream : virtual public SotObject, public SvStream class SOT_DLLPUBLIC SotStorageStream : virtual public SotObject, public SvStream
{ {
friend class SotStorage; friend class SotStorage;
BaseStorageStream * pOwnStm;// Zeiger auf den eigenen Stream BaseStorageStream * pOwnStm; // pointer to the own stream
protected: protected:
virtual sal_uLong GetData( void* pData, sal_uLong nSize ) SAL_OVERRIDE; virtual sal_uLong GetData( void* pData, sal_uLong nSize ) SAL_OVERRIDE;
virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) SAL_OVERRIDE; virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) SAL_OVERRIDE;
...@@ -103,13 +103,13 @@ class SOT_DLLPUBLIC SotStorage : virtual public SotObject ...@@ -103,13 +103,13 @@ class SOT_DLLPUBLIC SotStorage : virtual public SotObject
friend class SotStorageStream; friend class SotStorageStream;
friend class SvStorage; friend class SvStorage;
BaseStorage * m_pOwnStg; // Zielstorage BaseStorage * m_pOwnStg; // target storage
SvStream * m_pStorStm; // nur fuer SDSTORAGES SvStream * m_pStorStm; // only for SDSTORAGES
sal_uLong m_nError; sal_uLong m_nError;
OUString m_aName; // Name des Storage OUString m_aName; // name of the storage
bool m_bIsRoot; // z.B.: File-Storage bool m_bIsRoot; // e.g.: File Storage
bool m_bDelStm; bool m_bDelStm;
OString m_aKey; // aKey.Len != 0 -> Verschluesselung OString m_aKey; // aKey.Len != 0 -> encryption
long m_nVersion; long m_nVersion;
protected: protected:
...@@ -170,40 +170,39 @@ public: ...@@ -170,40 +170,39 @@ public:
void SignAsRoot( bool b = true ) { m_bIsRoot = b; } void SignAsRoot( bool b = true ) { m_bIsRoot = b; }
void SetDeleteStream( bool bDelete ) { m_bDelStm = bDelete; } void SetDeleteStream( bool bDelete ) { m_bDelStm = bDelete; }
// eigener Datenbereich // own data sector
virtual void SetClass( const SvGlobalName & rClass, virtual void SetClass( const SvGlobalName & rClass,
sal_uLong bOriginalClipFormat, sal_uLong bOriginalClipFormat,
const OUString & rUserTypeName ); const OUString & rUserTypeName );
virtual void SetConvertClass( const SvGlobalName & rConvertClass, virtual void SetConvertClass( const SvGlobalName & rConvertClass,
sal_uLong bOriginalClipFormat, sal_uLong bOriginalClipFormat,
const OUString & rUserTypeName ); const OUString & rUserTypeName );
virtual SvGlobalName GetClassName();// Typ der Daten im Storage virtual SvGlobalName GetClassName(); // type of data in the storage
virtual sal_uLong GetFormat(); virtual sal_uLong GetFormat();
virtual OUString GetUserName(); virtual OUString GetUserName();
virtual bool ShouldConvert(); virtual bool ShouldConvert();
// Liste aller Elemente // list of all elements
virtual void FillInfoList( SvStorageInfoList * ) const; virtual void FillInfoList( SvStorageInfoList * ) const;
virtual bool CopyTo( SotStorage * pDestStg ); virtual bool CopyTo( SotStorage * pDestStg );
virtual bool Commit(); virtual bool Commit();
virtual bool Revert(); virtual bool Revert();
/* Element Methoden */ // create stream with connection to Storage,
// Stream mit Verbindung zu Storage erzeugen, // more or less a Parent-Child relationship
// in etwa eine Parent-Child Beziehung
SotStorageStream * OpenSotStream( const OUString & rEleName, SotStorageStream * OpenSotStream( const OUString & rEleName,
StreamMode = STREAM_STD_READWRITE, StreamMode = STREAM_STD_READWRITE,
StorageMode = 0 ); StorageMode = 0 );
SotStorage * OpenSotStorage( const OUString & rEleName, SotStorage * OpenSotStorage( const OUString & rEleName,
StreamMode = STREAM_STD_READWRITE, StreamMode = STREAM_STD_READWRITE,
bool transacted = true ); bool transacted = true );
// Abfrage auf Storage oder Stream // query whether Storage or Stream
virtual bool IsStream( const OUString & rEleName ) const; virtual bool IsStream( const OUString & rEleName ) const;
virtual bool IsStorage( const OUString & rEleName ) const; virtual bool IsStorage( const OUString & rEleName ) const;
virtual bool IsContained( const OUString & rEleName ) const; virtual bool IsContained( const OUString & rEleName ) const;
// Element loeschen // remove element
virtual bool Remove( const OUString & rEleName ); virtual bool Remove( const OUString & rEleName );
// Elementnamen aendern // change element's name
virtual bool Rename( const OUString & rEleName, virtual bool Rename( const OUString & rEleName,
const OUString & rNewName ); const OUString & rNewName );
virtual bool CopyTo( const OUString & rEleName, SotStorage * pDest, virtual bool CopyTo( const OUString & rEleName, SotStorage * pDest,
......
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
SvxMacro( const OUString &rMacName, const OUString &rLanguage); SvxMacro( const OUString &rMacName, const OUString &rLanguage);
SvxMacro( const OUString &rMacName, const OUString &rLibName, SvxMacro( const OUString &rMacName, const OUString &rLibName,
ScriptType eType); // = STARBASIC entfernt ScriptType eType); // = STARBASIC removes
const OUString &GetLibName() const { return aLibName; } const OUString &GetLibName() const { return aLibName; }
const OUString &GetMacName() const { return aMacName; } const OUString &GetMacName() const { return aMacName; }
...@@ -69,8 +69,7 @@ inline SvxMacro::SvxMacro( const OUString &rMacName, const OUString &rLibName, ...@@ -69,8 +69,7 @@ inline SvxMacro::SvxMacro( const OUString &rMacName, const OUString &rLibName,
: aMacName( rMacName ), aLibName( rLibName ), eType( eTyp ) : aMacName( rMacName ), aLibName( rLibName ), eType( eTyp )
{} {}
//Macro Table, zerstoert die Pointer im DTor! // Macro Table, destroys the pointers in the DTor!
typedef std::map<sal_uInt16, SvxMacro> SvxMacroTable; typedef std::map<sal_uInt16, SvxMacro> SvxMacroTable;
#define SVX_MACROTBL_VERSION31 0 #define SVX_MACROTBL_VERSION31 0
...@@ -89,7 +88,7 @@ public: ...@@ -89,7 +88,7 @@ public:
SvxMacroTableDtor& operator=( const SvxMacroTableDtor &rCpy ); SvxMacroTableDtor& operator=( const SvxMacroTableDtor &rCpy );
int operator==( const SvxMacroTableDtor& rOther ) const; int operator==( const SvxMacroTableDtor& rOther ) const;
// loescht alle Eintraege // deletes all entries
void clear() { aSvxMacroTable.clear(); } void clear() { aSvxMacroTable.clear(); }
SvStream& Read( SvStream &, sal_uInt16 nVersion = SVX_MACROTBL_AKTVERSION ); SvStream& Read( SvStream &, sal_uInt16 nVersion = SVX_MACROTBL_AKTVERSION );
...@@ -118,8 +117,7 @@ public: ...@@ -118,8 +117,7 @@ public:
/* /*
[Beschreibung] This item describes a Macro table.
Dieses Item beschreibt eine Makro-Tabelle.
*/ */
class SVL_DLLPUBLIC SvxMacroItem: public SfxPoolItem class SVL_DLLPUBLIC SvxMacroItem: public SfxPoolItem
...@@ -129,7 +127,7 @@ public: ...@@ -129,7 +127,7 @@ public:
explicit inline SvxMacroItem ( const sal_uInt16 nId ); explicit inline SvxMacroItem ( const sal_uInt16 nId );
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual methods" of SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual bool GetPresentation( SfxItemPresentation ePres, virtual bool GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
......
...@@ -62,9 +62,9 @@ public: ...@@ -62,9 +62,9 @@ public:
void SetNumberFormatter(SvNumberFormatter* pNew); void SetNumberFormatter(SvNumberFormatter* pNew);
SvNumberFormatter* GetNumberFormatter() const; SvNumberFormatter* GetNumberFormatter() const;
// ueberladen, um Attribute im Dokument anzupassen // overload to adapt attributes in the document
virtual void NumberFormatDeleted(sal_uInt32 nKey); virtual void NumberFormatDeleted(sal_uInt32 nKey);
// ueberladen, um evtl. neu zu formatieren // overload to possibly format something anew
virtual void SettingsChanged(); virtual void SettingsChanged();
// XNumberFormatsSupplier // XNumberFormatsSupplier
......
...@@ -48,7 +48,7 @@ enum SfxItemKind { ...@@ -48,7 +48,7 @@ enum SfxItemKind {
#define SFX_ITEMS_MAXREF 0xfffffffe #define SFX_ITEMS_MAXREF 0xfffffffe
#define SFX_ITEMS_SPECIAL 0xffffffff #define SFX_ITEMS_SPECIAL 0xffffffff
#define CONVERT_TWIPS 0x80 //Uno-Konvertierung fuer Massangaben (fuer MemberId) #define CONVERT_TWIPS 0x80 // Uno conversion for measurement (for MemberId)
...@@ -81,8 +81,6 @@ inline ::com::sun::star::uno::Any Bool2Any( bool bValue ) ...@@ -81,8 +81,6 @@ inline ::com::sun::star::uno::Any Bool2Any( bool bValue )
} }
//! Notloesung!!!
enum SfxFieldUnit enum SfxFieldUnit
{ {
SFX_FUNIT_NONE, SFX_FUNIT_TWIP SFX_FUNIT_NONE, SFX_FUNIT_TWIP
...@@ -111,13 +109,11 @@ enum SfxMapUnit ...@@ -111,13 +109,11 @@ enum SfxMapUnit
enum SfxItemPresentation enum SfxItemPresentation
/* [Beschreibung] /*
* The values of this enum describe the degree of textual
Die Werte dieses Enums bezeichnen den Grad der textuellen * representation of an item after calling the virtual
Presentation eines Items nach Aufruf der virtuellen Methode * method <SfxPoolItem::GetPresentation()const>.
<SfxPoolItem::GetPresentation()const>. */
*/
{ {
SFX_ITEM_PRESENTATION_NAMELESS, SFX_ITEM_PRESENTATION_NAMELESS,
SFX_ITEM_PRESENTATION_COMPLETE SFX_ITEM_PRESENTATION_COMPLETE
......
...@@ -78,18 +78,18 @@ private: ...@@ -78,18 +78,18 @@ private:
SVL_DLLPRIVATE static SfxStyleSheetBasePool& implGetStaticPool(); SVL_DLLPRIVATE static SfxStyleSheetBasePool& implGetStaticPool();
protected: protected:
SfxStyleSheetBasePool* pPool; // zugehoeriger Pool SfxStyleSheetBasePool* pPool; // related pool
SfxStyleFamily nFamily; // Familie SfxStyleFamily nFamily;
OUString aName, aParent, aFollow; OUString aName, aParent, aFollow;
OUString maDisplayName; OUString maDisplayName;
OUString aHelpFile; // Name der Hilfedatei OUString aHelpFile; // name of the help file
SfxItemSet* pSet; // ItemSet SfxItemSet* pSet; // ItemSet
sal_uInt16 nMask; // Flags sal_uInt16 nMask; // Flags
sal_uLong nHelpId; // Hilfe-ID sal_uLong nHelpId; // help ID
bool bMySet; // sal_True: Set loeschen im dtor bool bMySet; // sal_True: delete Set in dtor
bool bHidden; bool bHidden;
SfxStyleSheetBase( const OUString&, SfxStyleSheetBasePool*, SfxStyleFamily eFam, sal_uInt16 mask ); SfxStyleSheetBase( const OUString&, SfxStyleSheetBasePool*, SfxStyleFamily eFam, sal_uInt16 mask );
...@@ -127,8 +127,8 @@ public: ...@@ -127,8 +127,8 @@ public:
virtual bool HasParentSupport() const; // Default true virtual bool HasParentSupport() const; // Default true
virtual bool HasClearParentSupport() const; // Default false virtual bool HasClearParentSupport() const; // Default false
virtual bool IsUsed() const; // Default true virtual bool IsUsed() const; // Default true
// Default aus dem Itemset; entweder dem uebergebenen // Default from the Itemset; either from the passed one
// oder aus dem per GetItemSet() zurueckgelieferten Set // or from the Set returned by GetItemSet()
virtual OUString GetDescription(); virtual OUString GetDescription();
virtual OUString GetDescription( SfxMapUnit eMetric ); virtual OUString GetDescription( SfxMapUnit eMetric );
......
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