diff options
author | Albert Thuswaldner <albert.thuswaldner@gmail.com> | 2015-07-23 13:33:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-29 18:55:40 +0000 |
commit | 12047823544c13060966e5f422875a56d5e80727 (patch) | |
tree | 89ae76c81ed98a424cc9eb92d7aacf8510fbf839 | |
parent | 79c9598d0a586f44757954556661ce6eda1f997e (diff) |
tdf#39468 translated german comments in output.cxx and output2.cxx
Change-Id: I36f7e2ffa8868692b99c0a7d77692d25b82662d8
Reviewed-on: https://gerrit.libreoffice.org/17319
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sc/source/ui/view/output.cxx | 32 | ||||
-rw-r--r-- | sc/source/ui/view/output3.cxx | 2 |
2 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index cef48f92d362..a84aa3b5ec57 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -389,7 +389,7 @@ void ScOutputData::DrawGrid(vcl::RenderContext& rRenderContext, bool bGrid, bool if ( bPage ) { - // Seitenumbrueche auch in ausgeblendeten suchen + // Search also in hidden part for page breaks SCCOL nCol = nXplus1; while (nCol <= MAXCOL) { @@ -1677,8 +1677,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co { Polygon aPoly( 4, aPoints ); - // ohne Pen wird bei DrawPolygon rechts und unten - // ein Pixel weggelassen... + // for DrawPolygon, whitout Pen one pixel is left out + // to the right and below... if ( rColor.GetTransparency() == 0 ) rRenderContext.SetLineColor(rColor); else @@ -1693,8 +1693,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co Polygon aPoly( 4, aPoints ); const Color* pColor = pInfo->pColorScale.get(); - // ohne Pen wird bei DrawPolygon rechts und unten - // ein Pixel weggelassen... + // for DrawPolygon, whitout Pen one pixel is left out + // to the right and below... if ( pColor->GetTransparency() == 0 ) rRenderContext.SetLineColor(*pColor); else @@ -1706,9 +1706,9 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co svx::frame::Style aTopLine, aBottomLine, aLeftLine, aRightLine; - if ( nX < nX1 || nX > nX2 ) // Attribute in FillInfo nicht gesetzt + if ( nX < nX1 || nX > nX2 ) // Attributes in FillInfo not set { - //! Seitengrenzen fuer Druck beruecksichtigen !!!!! + //! consider page borders for printing !!!!! const ::editeng::SvxBorderLine* pLeftLine; const ::editeng::SvxBorderLine* pTopLine; const ::editeng::SvxBorderLine* pRightLine; @@ -1794,10 +1794,10 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co nPosX += nColWidth * nLayoutSign; } - // erst hinterher im zweiten Schritt die Linien fuer normale Ausgabe loeschen + // delete the lines for normal output only afterwards in the second step nX = nX1 > 0 ? (nX1-1) : static_cast<SCCOL>(0); - for (; nX<=nX2+1; nX++) // sichtbarer Teil +- 1 + for (; nX<=nX2+1; nX++) // visible part +- 1 { sal_uInt16 nArrX = nX + 1; CellInfo& rInfo = rThisRowInfo.pCellInfo[nArrX]; @@ -1806,8 +1806,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co { size_t nCol = lclGetArrayColFromCellInfoX( nArrX, nX1, nX2, bLayoutRTL ); - // horizontal: angrenzende Linie verlaengern - // (nur, wenn die gedrehte Zelle eine Umrandung hat) + // horizontal: extend adjacent line + // (only when the rotated cell has a border) sal_uInt16 nDir = rInfo.nRotateDir; if ( rArray.GetCellStyleTop( nCol, nRow ).Prim() ) { @@ -2267,17 +2267,17 @@ void ScOutputData::DrawChangeTrack() ScChangeTrack* pTrack = mpDoc->GetChangeTrack(); ScChangeViewSettings* pSettings = mpDoc->GetChangeViewSettings(); if ( !pTrack || !pTrack->GetFirst() || !pSettings || !pSettings->ShowChanges() ) - return; // nix da oder abgeschaltet + return; // nothing there or hidden ScActionColorChanger aColorChanger(*pTrack); - // Clipping passiert von aussen - //! ohne Clipping, nur betroffene Zeilen painten ??!??!? + // clipping happens from the outside + //! without clipping, only paínt affected cells ??!??!? SCCOL nEndX = nX2; SCROW nEndY = nY2; - if ( nEndX < MAXCOL ) ++nEndX; // auch noch von der naechsten Zelle, weil die Markierung - if ( nEndY < MAXROW ) ++nEndY; // in die jeweils vorhergehende Zelle hineinragt + if ( nEndX < MAXCOL ) ++nEndX; // also from the next cell since the mark + if ( nEndY < MAXROW ) ++nEndY; // protrudes from the preceding cell ScRange aViewRange( nX1, nY1, nTab, nEndX, nEndY, nTab ); const ScChangeAction* pAction = pTrack->GetFirst(); while (pAction) diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx index 4b56c47421ab..2e8c4355e668 100644 --- a/sc/source/ui/view/output3.cxx +++ b/sc/source/ui/view/output3.cxx @@ -215,7 +215,7 @@ void ScOutputData::DrawSelectiveObjects(const sal_uInt16 nLayer) mpDev->SetDrawMode(nOldDrawMode); } -// Teile nur fuer Bildschirm +// parts only for the screen // #109985# void ScOutputData::DrawingSingle(const sal_uInt16 nLayer) |