Kaydet (Commit) cfc64733 authored tarafından Matthias Freund's avatar Matthias Freund Kaydeden (comit) Thomas Arnhold

Comment translation german-english

Three small files...

Change-Id: I9dd5914caef6ca061e94d52d7abd5afb59c8ed29
Reviewed-on: https://gerrit.libreoffice.org/2353Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst 74f74aa5
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
#include <txtftn.hxx> #include <txtftn.hxx>
#include <fmtftn.hxx> #include <fmtftn.hxx>
#include <editsh.hxx> #include <editsh.hxx>
#include <edimp.hxx> // fuer MACROS #include <edimp.hxx> // for MACROS
#include <doc.hxx> #include <doc.hxx>
#include <swundo.hxx> // fuer UNDO-Ids #include <swundo.hxx> // for UNDO-Ids
#include <ndtxt.hxx> #include <ndtxt.hxx>
#include <ftnidx.hxx> #include <ftnidx.hxx>
#include <expfld.hxx> #include <expfld.hxx>
...@@ -47,12 +47,12 @@ ...@@ -47,12 +47,12 @@
#include <algorithm> #include <algorithm>
/************************************* /**
* harte Formatierung (Attribute) * hard Formatting (Attributes)
*************************************/ */
// wenn Selektion groesser Max Nodes oder mehr als Max Selektionen // if selection is bigger as max nodes or more than max selections
// => keine Attribute // => no attributes
const sal_uInt16& getMaxLookup() const sal_uInt16& getMaxLookup()
{ {
static const sal_uInt16 nMaxLookup = 1000; static const sal_uInt16 nMaxLookup = 1000;
...@@ -117,8 +117,8 @@ sal_Bool SwEditShell::GetPaMAttr( SwPaM* pPaM, SfxItemSet& rSet, ...@@ -117,8 +117,8 @@ sal_Bool SwEditShell::GetPaMAttr( SwPaM* pPaM, SfxItemSet& rSet,
return sal_False; return sal_False;
} }
// beim 1.Node traegt der Node die Werte in den GetSet ein (Initial) // at first node the node enter his values into the GetSet (Initial)
// alle weiteren Nodes werden zum GetSet zu gemergt // all additional nodes are additional merged to GetSet
for( sal_uLong n = nSttNd; n <= nEndNd; ++n ) for( sal_uLong n = nSttNd; n <= nEndNd; ++n )
{ {
SwNode* pNd = GetDoc()->GetNodes()[ n ]; SwNode* pNd = GetDoc()->GetNodes()[ n ];
...@@ -277,7 +277,7 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const ...@@ -277,7 +277,7 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const
sal_Bool SwEditShell::GetCurFtn( SwFmtFtn* pFillFtn ) sal_Bool SwEditShell::GetCurFtn( SwFmtFtn* pFillFtn )
{ {
// der Cursor muss auf dem akt. Fussnoten-Anker stehen: // The cursor must be positioned on the current footnotes anchor:
SwPaM* pCrsr = GetCrsr(); SwPaM* pCrsr = GetCrsr();
SwTxtNode* pTxtNd = pCrsr->GetNode()->GetTxtNode(); SwTxtNode* pTxtNd = pCrsr->GetNode()->GetTxtNode();
if( !pTxtNd ) if( !pTxtNd )
...@@ -287,7 +287,7 @@ sal_Bool SwEditShell::GetCurFtn( SwFmtFtn* pFillFtn ) ...@@ -287,7 +287,7 @@ sal_Bool SwEditShell::GetCurFtn( SwFmtFtn* pFillFtn )
pCrsr->GetPoint()->nContent.GetIndex(), RES_TXTATR_FTN); pCrsr->GetPoint()->nContent.GetIndex(), RES_TXTATR_FTN);
if( pFtn && pFillFtn ) if( pFtn && pFillFtn )
{ {
// Daten vom Attribut uebertragen // Transfer data from the attribute
const SwFmtFtn &rFtn = ((SwTxtFtn*)pFtn)->GetFtn(); const SwFmtFtn &rFtn = ((SwTxtFtn*)pFtn)->GetFtn();
pFillFtn->SetNumber( rFtn ); pFillFtn->SetNumber( rFtn );
pFillFtn->SetEndNote( rFtn.IsEndNote() ); pFillFtn->SetEndNote( rFtn.IsEndNote() );
...@@ -327,7 +327,7 @@ bool SwEditShell::HasFtns( bool bEndNotes ) const ...@@ -327,7 +327,7 @@ bool SwEditShell::HasFtns( bool bEndNotes ) const
} }
// gebe Liste aller Fussnoten und deren Anfangstexte // Give a List of all footnotes and their beginning texts
sal_uInt16 SwEditShell::GetSeqFtnList( SwSeqFldList& rList, bool bEndNotes ) sal_uInt16 SwEditShell::GetSeqFtnList( SwSeqFldList& rList, bool bEndNotes )
{ {
rList.Clear(); rList.Clear();
...@@ -424,7 +424,7 @@ void SwEditShell::MoveLeftMargin( bool bRight, bool bModulus ) ...@@ -424,7 +424,7 @@ void SwEditShell::MoveLeftMargin( bool bRight, bool bModulus )
StartUndo( UNDO_START ); StartUndo( UNDO_START );
SwPaM* pCrsr = GetCrsr(); SwPaM* pCrsr = GetCrsr();
if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ? if( pCrsr->GetNext() != pCrsr ) // Multiple selection ?
{ {
SwPamRanges aRangeArr( *pCrsr ); SwPamRanges aRangeArr( *pCrsr );
SwPaM aPam( *pCrsr->GetPoint() ); SwPaM aPam( *pCrsr->GetPoint() );
......
...@@ -92,7 +92,7 @@ sal_Bool SwEditShell::RejectRedline( sal_uInt16 nPos ) ...@@ -92,7 +92,7 @@ sal_Bool SwEditShell::RejectRedline( sal_uInt16 nPos )
return bRet; return bRet;
} }
// Kommentar am Redline setzen // Set the comment at the Redline
sal_Bool SwEditShell::SetRedlineComment( const String& rS ) sal_Bool SwEditShell::SetRedlineComment( const String& rS )
{ {
sal_Bool bRet = sal_False; sal_Bool bRet = sal_False;
...@@ -122,8 +122,8 @@ void SwEditShell::UpdateRedlineAttr() ...@@ -122,8 +122,8 @@ void SwEditShell::UpdateRedlineAttr()
} }
} }
// suche das Redline zu diesem Data und returne die Pos im Array // Search the Redline of this data and return the Pos of the Array
// USHRT_MAX wird returnt, falls nicht vorhanden // return USHRT_MAX if not present
sal_uInt16 SwEditShell::FindRedlineOfData( const SwRedlineData& rData ) const sal_uInt16 SwEditShell::FindRedlineOfData( const SwRedlineData& rData ) const
{ {
const SwRedlineTbl& rTbl = GetDoc()->GetRedlineTbl(); const SwRedlineTbl& rTbl = GetDoc()->GetRedlineTbl();
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <IDocumentUndoRedo.hxx> #include <IDocumentUndoRedo.hxx>
#include <pam.hxx> #include <pam.hxx>
#include <docary.hxx> #include <docary.hxx>
#include <swundo.hxx> // fuer die UndoIds #include <swundo.hxx> // for the UndoIds
#include <section.hxx> #include <section.hxx>
#include <edimp.hxx> #include <edimp.hxx>
#include <sectfrm.hxx> // SwSectionFrm #include <sectfrm.hxx> // SwSectionFrm
...@@ -78,11 +78,11 @@ const SwSection* SwEditShell::GetCurrSection() const ...@@ -78,11 +78,11 @@ const SwSection* SwEditShell::GetCurrSection() const
return GetDoc()->GetCurrSection( *GetCrsr()->GetPoint() ); return GetDoc()->GetCurrSection( *GetCrsr()->GetPoint() );
} }
/*-------------------------------------------------- /**
* SwEditShell::GetAnySection liefert den fuer Spalten * SwEditShell::GetAnySection delivers the responsible area
* zustaendigen Bereich, bei Fussnoten kann es nicht der * of the columns, in footnotes it may not be the
* Bereich innerhalb der Fussnote sein. * area within the footnote.
* --------------------------------------------------*/ */
const SwSection* SwEditShell::GetAnySection( sal_Bool bOutOfTab, const Point* pPt ) const const SwSection* SwEditShell::GetAnySection( sal_Bool bOutOfTab, const Point* pPt ) const
{ {
...@@ -161,7 +161,7 @@ void SwEditShell::DelSectionFmt( sal_uInt16 nFmt ) ...@@ -161,7 +161,7 @@ void SwEditShell::DelSectionFmt( sal_uInt16 nFmt )
{ {
StartAllAction(); StartAllAction();
GetDoc()->DelSectionFmt( GetDoc()->GetSections()[ nFmt ] ); GetDoc()->DelSectionFmt( GetDoc()->GetSections()[ nFmt ] );
// rufe das AttrChangeNotify auf der UI-Seite. // Call the AttrChangeNotify on the UI page.
CallChgLnk(); CallChgLnk();
EndAllAction(); EndAllAction();
} }
...@@ -172,7 +172,7 @@ void SwEditShell::UpdateSection(sal_uInt16 const nSect, ...@@ -172,7 +172,7 @@ void SwEditShell::UpdateSection(sal_uInt16 const nSect,
{ {
StartAllAction(); StartAllAction();
GetDoc()->UpdateSection( nSect, rNewData, pAttr ); GetDoc()->UpdateSection( nSect, rNewData, pAttr );
// rufe das AttrChangeNotify auf der UI-Seite. // Call the AttrChangeNotify on the UI page.
CallChgLnk(); CallChgLnk();
EndAllAction(); EndAllAction();
} }
...@@ -249,7 +249,7 @@ void SwEditShell::_SetSectionAttr( SwSectionFmt& rSectFmt, ...@@ -249,7 +249,7 @@ void SwEditShell::_SetSectionAttr( SwSectionFmt& rSectFmt,
else else
GetDoc()->SetAttr( rSet, rSectFmt ); GetDoc()->SetAttr( rSet, rSectFmt );
// rufe das AttrChangeNotify auf der UI-Seite. // Call the AttrChangeNotify on the UI page.
CallChgLnk(); CallChgLnk();
EndAllAction(); EndAllAction();
} }
...@@ -274,7 +274,7 @@ sal_uInt16 SwEditShell::GetFullSelectedSectionCount() const ...@@ -274,7 +274,7 @@ sal_uInt16 SwEditShell::GetFullSelectedSectionCount() const
break; break;
} }
// !!!!!!!!!!!!!!!!!!!!!!!!!! // !!!
// what about table at start or end ? // what about table at start or end ?
// There is no selection possible! // There is no selection possible!
// What about only a table inside the section ? // What about only a table inside the section ?
......
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