diff options
author | Christoph Herzog <rhogez@googlemail.com> | 2011-01-08 02:37:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-09 20:24:05 +0000 |
commit | 6b497a1f57256808ff95e39bfa2d7e5af92e32c4 (patch) | |
tree | e08e897105515c715d5f90a5178ac25a49f62eab /sw/inc/IDocumentRedlineAccess.hxx | |
parent | 267dbb72e620aba14910211be66e6a321c79c1e0 (diff) |
Translations of comments in writer/sw/inc
Diffstat (limited to 'sw/inc/IDocumentRedlineAccess.hxx')
-rw-r--r-- | sw/inc/IDocumentRedlineAccess.hxx | 77 |
1 files changed, 20 insertions, 57 deletions
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx index 0e00188dac6b..52517e495dfc 100644 --- a/sw/inc/IDocumentRedlineAccess.hxx +++ b/sw/inc/IDocumentRedlineAccess.hxx @@ -60,31 +60,31 @@ namespace nsRedlineMode_t const RedlineMode_t REDLINE_SHOW_DELETE = 0x20;// show all delets const RedlineMode_t REDLINE_SHOW_MASK = REDLINE_SHOW_INSERT | REDLINE_SHOW_DELETE; - // fuer die interne Verwaltung: - // die originalen Redlines inclusive des Contents entfernen - // (ClipBoard/Textbausteine) + // For internal management: + // remove the original Redlines together with their content + // (Clipboard/text modules). const RedlineMode_t REDLINE_DELETE_REDLINES = 0x100; - // beim Loeschen innerhalb ein RedlineObjectes, waehrend des Appends, - // das DeleteRedline ignorieren + // When deleting within a RedlineObject + // ignore the DeleteRedline during Append. const RedlineMode_t REDLINE_IGNOREDELETE_REDLINES = 0x200; - // don't combine any readlines. This flags is may only used in the Undo. + // don't combine any redlines. This flag may be only used in Undo. const RedlineMode_t REDLINE_DONTCOMBINE_REDLINES = 0x400; } typedef USHORT RedlineType_t; namespace nsRedlineType_t { - // die RedlineTypen gehen von 0 bis 127 - const RedlineType_t REDLINE_INSERT = 0x0;// Inhalt wurde eingefuegt - const RedlineType_t REDLINE_DELETE = 0x1;// Inhalt wurde geloescht - const RedlineType_t REDLINE_FORMAT = 0x2;// Attributierung wurde angewendet - const RedlineType_t REDLINE_TABLE = 0x3;// TabellenStruktur wurde veraendert - const RedlineType_t REDLINE_FMTCOLL = 0x4;// FormatVorlage wurde veraendert (Autoformat!) - - // ab 128 koennen Flags hineinverodert werden + // Range of RedlineTypes is 0 to 127. + const RedlineType_t REDLINE_INSERT = 0x0;// Content has been inserted. + const RedlineType_t REDLINE_DELETE = 0x1;// Content has been deleted. + const RedlineType_t REDLINE_FORMAT = 0x2;// Attributes have been applied. + const RedlineType_t REDLINE_TABLE = 0x3;// Table structure has been altered. + const RedlineType_t REDLINE_FMTCOLL = 0x4;// Style has been altered (Autoformat!). + + // When larger than 128, flags can be inserted. const RedlineType_t REDLINE_NO_FLAG_MASK = 0x7F; //const RedlineType_t REDLINE_FLAG_MASK = 0xFF80; - const RedlineType_t REDLINE_FORM_AUTOFMT = 0x80;// kann als Flag im RedlineType stehen + const RedlineType_t REDLINE_FORM_AUTOFMT = 0x80;// Can be a flag in RedlineType. } /** IDocumentRedlineAccess @@ -139,18 +139,11 @@ public: */ virtual bool IsRedlineOn() const = 0; - /** - */ virtual bool IsIgnoreRedline() const = 0; - /** - */ virtual const SwRedlineTbl& GetRedlineTbl() const = 0; - - /* - */ - virtual bool IsInRedlines(const SwNode& rNode) const = 0; + virtual bool IsInRedlines(const SwNode& rNode) const = 0; /*************************************************** Manipulation @@ -166,90 +159,60 @@ public: */ virtual bool AppendRedline(/*[in]*/SwRedline* pPtr, /*[in]*/bool bCallDelete) = 0; - /** - */ virtual bool SplitRedline(/*[in]*/const SwPaM& rPam) = 0; - /** - */ virtual bool DeleteRedline( /*[in]*/const SwPaM& rPam, /*[in]*/bool bSaveInUndo, /*[in]*/sal_uInt16 nDelType) = 0; - /** - */ virtual bool DeleteRedline( /*[in]*/const SwStartNode& rSection, /*[in]*/bool bSaveInUndo, /*[in]*/sal_uInt16 nDelType) = 0; - /** - */ virtual sal_uInt16 GetRedlinePos( /*[in]*/const SwNode& rNode, /*[in]*/sal_uInt16 nType) const = 0; virtual void CompressRedlines() = 0; - /** - */ virtual const SwRedline* GetRedline( /*[in]*/const SwPosition& rPos, /*[in]*/sal_uInt16* pFndPos) const = 0; - /** - */ virtual bool IsRedlineMove() const = 0; - /** - */ virtual void SetRedlineMove(/*[in]*/bool bFlag) = 0; - /** - */ virtual bool AcceptRedline(/*[in]*/sal_uInt16 nPos, /*[in]*/bool bCallDelete) = 0; - /** - */ virtual bool AcceptRedline(/*[in]*/const SwPaM& rPam, /*[in]*/bool bCallDelete) = 0; - /** - */ virtual bool RejectRedline(/*[in]*/sal_uInt16 nPos, /*[in]*/bool bCallDelete) = 0; - /** - */ virtual bool RejectRedline(/*[in]*/const SwPaM& rPam, /*[in]*/bool bCallDelete) = 0; - /** - */ virtual const SwRedline* SelNextRedline(/*[in]*/SwPaM& rPam) const = 0; - /** - */ virtual const SwRedline* SelPrevRedline(/*[in]*/SwPaM& rPam) const = 0; - // alle Redline invalidieren, die Darstellung hat sich geaendert + // Representation has changed, invalidate all Redlines. virtual void UpdateRedlineAttr() = 0; - // legt gegebenenfalls einen neuen Author an + // Create a new Author if required. virtual sal_uInt16 GetRedlineAuthor() = 0; - // fuer die Reader usw. - neuen Author in die Tabelle eintragen + // For Readers etc.: register new Author in table. virtual sal_uInt16 InsertRedlineAuthor(const String& rAuthor) = 0; - // Kommentar am Redline an der Position setzen + // Place a comment at Redline at given position. virtual bool SetRedlineComment( /*[in]*/const SwPaM& rPam, /*[in]*/const String& rComment) = 0; - /** - */ virtual const ::com::sun::star::uno::Sequence <sal_Int8>& GetRedlinePassword() const = 0; - /** - */ virtual void SetRedlinePassword( /*[in]*/const ::com::sun::star::uno::Sequence <sal_Int8>& rNewPassword) = 0; |