Kaydet (Commit) 12047823 authored tarafından Albert Thuswaldner's avatar Albert Thuswaldner Kaydeden (comit) Michael Stahl

tdf#39468 translated german comments in output.cxx and output2.cxx

Change-Id: I36f7e2ffa8868692b99c0a7d77692d25b82662d8
Reviewed-on: https://gerrit.libreoffice.org/17319Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 79c9598d
...@@ -389,7 +389,7 @@ void ScOutputData::DrawGrid(vcl::RenderContext& rRenderContext, bool bGrid, bool ...@@ -389,7 +389,7 @@ void ScOutputData::DrawGrid(vcl::RenderContext& rRenderContext, bool bGrid, bool
if ( bPage ) if ( bPage )
{ {
// Seitenumbrueche auch in ausgeblendeten suchen // Search also in hidden part for page breaks
SCCOL nCol = nXplus1; SCCOL nCol = nXplus1;
while (nCol <= MAXCOL) while (nCol <= MAXCOL)
{ {
...@@ -1677,8 +1677,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co ...@@ -1677,8 +1677,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co
{ {
Polygon aPoly( 4, aPoints ); Polygon aPoly( 4, aPoints );
// ohne Pen wird bei DrawPolygon rechts und unten // for DrawPolygon, whitout Pen one pixel is left out
// ein Pixel weggelassen... // to the right and below...
if ( rColor.GetTransparency() == 0 ) if ( rColor.GetTransparency() == 0 )
rRenderContext.SetLineColor(rColor); rRenderContext.SetLineColor(rColor);
else else
...@@ -1693,8 +1693,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co ...@@ -1693,8 +1693,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co
Polygon aPoly( 4, aPoints ); Polygon aPoly( 4, aPoints );
const Color* pColor = pInfo->pColorScale.get(); const Color* pColor = pInfo->pColorScale.get();
// ohne Pen wird bei DrawPolygon rechts und unten // for DrawPolygon, whitout Pen one pixel is left out
// ein Pixel weggelassen... // to the right and below...
if ( pColor->GetTransparency() == 0 ) if ( pColor->GetTransparency() == 0 )
rRenderContext.SetLineColor(*pColor); rRenderContext.SetLineColor(*pColor);
else else
...@@ -1706,9 +1706,9 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co ...@@ -1706,9 +1706,9 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co
svx::frame::Style aTopLine, aBottomLine, aLeftLine, aRightLine; 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* pLeftLine;
const ::editeng::SvxBorderLine* pTopLine; const ::editeng::SvxBorderLine* pTopLine;
const ::editeng::SvxBorderLine* pRightLine; const ::editeng::SvxBorderLine* pRightLine;
...@@ -1794,10 +1794,10 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co ...@@ -1794,10 +1794,10 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co
nPosX += nColWidth * nLayoutSign; 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); 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; sal_uInt16 nArrX = nX + 1;
CellInfo& rInfo = rThisRowInfo.pCellInfo[nArrX]; CellInfo& rInfo = rThisRowInfo.pCellInfo[nArrX];
...@@ -1806,8 +1806,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co ...@@ -1806,8 +1806,8 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext, const Co
{ {
size_t nCol = lclGetArrayColFromCellInfoX( nArrX, nX1, nX2, bLayoutRTL ); size_t nCol = lclGetArrayColFromCellInfoX( nArrX, nX1, nX2, bLayoutRTL );
// horizontal: angrenzende Linie verlaengern // horizontal: extend adjacent line
// (nur, wenn die gedrehte Zelle eine Umrandung hat) // (only when the rotated cell has a border)
sal_uInt16 nDir = rInfo.nRotateDir; sal_uInt16 nDir = rInfo.nRotateDir;
if ( rArray.GetCellStyleTop( nCol, nRow ).Prim() ) if ( rArray.GetCellStyleTop( nCol, nRow ).Prim() )
{ {
...@@ -2267,17 +2267,17 @@ void ScOutputData::DrawChangeTrack() ...@@ -2267,17 +2267,17 @@ void ScOutputData::DrawChangeTrack()
ScChangeTrack* pTrack = mpDoc->GetChangeTrack(); ScChangeTrack* pTrack = mpDoc->GetChangeTrack();
ScChangeViewSettings* pSettings = mpDoc->GetChangeViewSettings(); ScChangeViewSettings* pSettings = mpDoc->GetChangeViewSettings();
if ( !pTrack || !pTrack->GetFirst() || !pSettings || !pSettings->ShowChanges() ) if ( !pTrack || !pTrack->GetFirst() || !pSettings || !pSettings->ShowChanges() )
return; // nix da oder abgeschaltet return; // nothing there or hidden
ScActionColorChanger aColorChanger(*pTrack); ScActionColorChanger aColorChanger(*pTrack);
// Clipping passiert von aussen // clipping happens from the outside
//! ohne Clipping, nur betroffene Zeilen painten ??!??!? //! without clipping, only paínt affected cells ??!??!?
SCCOL nEndX = nX2; SCCOL nEndX = nX2;
SCROW nEndY = nY2; SCROW nEndY = nY2;
if ( nEndX < MAXCOL ) ++nEndX; // auch noch von der naechsten Zelle, weil die Markierung if ( nEndX < MAXCOL ) ++nEndX; // also from the next cell since the mark
if ( nEndY < MAXROW ) ++nEndY; // in die jeweils vorhergehende Zelle hineinragt if ( nEndY < MAXROW ) ++nEndY; // protrudes from the preceding cell
ScRange aViewRange( nX1, nY1, nTab, nEndX, nEndY, nTab ); ScRange aViewRange( nX1, nY1, nTab, nEndX, nEndY, nTab );
const ScChangeAction* pAction = pTrack->GetFirst(); const ScChangeAction* pAction = pTrack->GetFirst();
while (pAction) while (pAction)
......
...@@ -215,7 +215,7 @@ void ScOutputData::DrawSelectiveObjects(const sal_uInt16 nLayer) ...@@ -215,7 +215,7 @@ void ScOutputData::DrawSelectiveObjects(const sal_uInt16 nLayer)
mpDev->SetDrawMode(nOldDrawMode); mpDev->SetDrawMode(nOldDrawMode);
} }
// Teile nur fuer Bildschirm // parts only for the screen
// #109985# // #109985#
void ScOutputData::DrawingSingle(const sal_uInt16 nLayer) void ScOutputData::DrawingSingle(const sal_uInt16 nLayer)
......
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