diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-04-07 06:14:10 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-04-10 15:57:11 +0200 |
commit | 52ef09114187776b8556193059cdf63554c657aa (patch) | |
tree | 121069b4c48fc8997e74e9519107f1db6e043fe3 | |
parent | bac6141665049e53c01715a88d46ca04d678ddf0 (diff) |
tdf#39468 Translate German comments
Last German comments in sc/ found with "./bin/find-german-comments sc"
Change-Id: I88274904c55d5ac4d7057f2ae4de5650815dae2f
Reviewed-on: https://gerrit.libreoffice.org/36248
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/excform.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/op.h | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/tool.h | 4 | ||||
-rw-r--r-- | sc/source/ui/cctrl/cbuttonw.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/drawsh2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconstr.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuins2.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 28 | ||||
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/areasdlg.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tphfedit.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/unoobj/datauno.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 30 | ||||
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 30 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh5.cxx | 4 |
18 files changed, 77 insertions, 79 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index a93bc4db9468..19900015ee29 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -1593,7 +1593,7 @@ void ScInterpreter::ScISPMT() } } -// Finanzfunktionen +// financial functions double ScInterpreter::ScGetBw(double fInterest, double fZzr, double fRmz, double fZw, bool bPayInAdvance) { diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx index 3ae86c0c4d58..42bbe151f4b0 100644 --- a/sc/source/filter/excel/excform.cxx +++ b/sc/source/filter/excel/excform.cxx @@ -1564,7 +1564,7 @@ void ExcelToSc::DoMulArgs( DefTokenId eId, sal_uInt8 nAnz ) if( nAnz > 0 && eId == ocExternal ) { TokenId n = eParam[ nAnz - 1 ]; -//##### ADJUST GRUETZE (?) FOR BASIC-FUNCS! +//##### ADJUST STUPIDITY FOR BASIC-FUNCS! if( const OUString* pExt = aPool.GetExternal( n ) ) { if( const XclFunctionInfo* pFuncInfo = maFuncProv.GetFuncInfoFromXclMacroName( *pExt ) ) diff --git a/sc/source/filter/inc/op.h b/sc/source/filter/inc/op.h index 156df3cdfd28..8d36ecc8f623 100644 --- a/sc/source/filter/inc/op.h +++ b/sc/source/filter/inc/op.h @@ -22,7 +22,7 @@ #include <patattr.hxx> -// OP-Code-Funktionen +// OP code functions class SvStream; struct LotusContext; void NI(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLaenge ); diff --git a/sc/source/filter/inc/tool.h b/sc/source/filter/inc/tool.h index 97624ad4432d..08384c732767 100644 --- a/sc/source/filter/inc/tool.h +++ b/sc/source/filter/inc/tool.h @@ -41,8 +41,8 @@ double Snum32ToDouble( sal_uInt32 nValue ); typedef sal_uInt16 StampTyp; #define MAKE_STAMP(nF,nS) ((nS&0x0F)+((nF&0x7F)*16)) - // Bit 0...3 = Bit 0...3 von Stellenzahl - // Bit 4...10 = Bit 0...6 von Formatbyte + // Bit 0...3 = Bit 0...3 of number of digits + // Bit 4...10 = Bit 0...6 of Formatbyte class FormIdent { diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx index 4fa281c4734a..e559ea185f25 100644 --- a/sc/source/ui/cctrl/cbuttonw.cxx +++ b/sc/source/ui/cctrl/cbuttonw.cxx @@ -44,7 +44,7 @@ void ScDDComboBoxButton::SetOutputDevice( OutputDevice* pOutputDevice ) void ScDDComboBoxButton::SetOptSizePixel() { aBtnSize = pOut->LogicToPixel( Size(0,11), MapUnit::MapAppFont ); - //aBtnSize.Width() = GetSystemMetrics( SM_CXVSCROLL ) - 1; // Win SDK-Funktion + //aBtnSize.Width() = GetSystemMetrics( SM_CXVSCROLL ) - 1; // Win SDK function aBtnSize.Width() = pOut->GetSettings().GetStyleSettings().GetScrollBarSize(); } diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index 78fc94b493a3..a92397a112f5 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -126,7 +126,7 @@ void ScDrawShell::GetState( SfxItemSet& rSet ) // Zustaende / Toggles } } -void ScDrawShell::GetDrawFuncState( SfxItemSet& rSet ) // Funktionen disablen +void ScDrawShell::GetDrawFuncState( SfxItemSet& rSet ) // disable functions { ScDrawView* pView = pViewData->GetScDrawView(); diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx index a8d546b497c6..f05076cb8499 100644 --- a/sc/source/ui/drawfunc/fuconstr.cxx +++ b/sc/source/ui/drawfunc/fuconstr.cxx @@ -32,13 +32,13 @@ #include "document.hxx" #include "gridwin.hxx" -// Maximal erlaubte Mausbewegung um noch Drag&Drop zu starten -//! fusel,fuconstr,futext - zusammenfassen! +// maximal permitted mouse movement to start Drag&Drop +//! fusel,fuconstr,futext - combine them! #define SC_MAXDRAGMOVE 3 /************************************************************************* |* -|* Konstruktor +|* ctor |* \************************************************************************/ @@ -50,7 +50,7 @@ FuConstruct::FuConstruct(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* /************************************************************************* |* -|* Destruktor +|* dtor |* \************************************************************************/ diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index f6cf018b0d75..9d006f7f8e23 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -229,7 +229,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* if( ! rReq.IsAPI() ) rReq.Done(); - //! hier DLL's initalisieren, damit die Factories existieren? + //! initialize DLLs here, so that the factories exist? uno::Reference < embed::XEmbeddedObject > xObj; uno::Reference < embed::XStorage > xStorage = comphelper::OStorageHelper::GetTemporaryStorage(); @@ -325,7 +325,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* aMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( nAspect ) ); if (aSize.Height() == 0 || aSize.Width() == 0) { - // Rechteck mit ausgewogenem Kantenverhaeltnis + // rectangle with balanced edge ratio aSize.Width() = 5000; aSize.Height() = 5000; Size aTmp = OutputDevice::LogicToLogic( aSize, MapUnit::Map100thMM, aMapUnit ); @@ -342,7 +342,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* MapMode( aMapUnit ), aMap100 ); } - // Chart initialisieren ? + // initialize chart ? if ( SvtModuleOptions().IsChart() && SotExchange::IsChart( SvGlobalName( xObj->getClassID() ) ) ) lcl_ChartInit(xObj, &pViewSh->GetViewData(), OUString(), false); diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 3a0c6ad35c79..b7f468a77aa4 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -49,8 +49,8 @@ #include "docuno.hxx" #include "docsh.hxx" -// Maximal erlaubte Mausbewegung um noch Drag&Drop zu starten -//! fusel,fuconstr,futext - zusammenfassen! +// maximal permitted mouse movement to start Drag&Drop +//! fusel,fuconstr,futext - combine them! #define SC_MAXDRAGMOVE 3 // Min necessary mouse motion for normal dragging #define SC_MINDRAGMOVE 2 @@ -59,7 +59,7 @@ using namespace com::sun::star; /************************************************************************* |* -|* Konstruktor +|* ctor |* \************************************************************************/ @@ -71,7 +71,7 @@ FuSelection::FuSelection(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* /************************************************************************* |* -|* Destruktor +|* dtor |* \************************************************************************/ @@ -97,7 +97,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) return true; } - bIsInDragMode = false; // irgendwo muss es ja zurueckgesetzt werden (#50033#) + bIsInDragMode = false; // somewhere it has to be reset (#50033#) bool bReturn = FuDraw::MouseButtonDown(rMEvt); @@ -269,7 +269,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) if ( pView->MarkObj( aMDPos, -2, false, rMEvt.IsMod1() ) ) { - //Objekt verschieben + // move object if (pView->IsMarkedHit(aMDPos)) { @@ -284,18 +284,16 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) pView->BegDragObj(aMDPos, nullptr, pHdl); bReturn = true; } - else // Objekt am Rand getroffen + else // object at the edge if (pViewShell->IsDrawSelMode()) bReturn = true; } else { - // nichts getroffen - if (pViewShell->IsDrawSelMode()) { - //Objekt selektieren + // select object pView->BegMarkObj(aMDPos); bReturn = true; @@ -308,7 +306,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) if (!bIsInDragMode) { - // VC rufen selber CaptureMouse + // VC calls CaptureMouse itself pWindow->CaptureMouse(); ForcePointer(&rMEvt); } @@ -386,7 +384,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsDragObj() ) { /****************************************************************** - * Objekt wurde verschoben + * object was moved ******************************************************************/ if ( rMEvt.IsMod1() ) { @@ -465,7 +463,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) } /************************************************************************** - * Ggf. OLE-Objekt beruecksichtigen + * maybe consider OLE object **************************************************************************/ SfxInPlaceClient* pIPClient = pViewShell ? pViewShell->GetIPClient() : nullptr; @@ -545,8 +543,8 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) if (pWindow->IsMouseCaptured()) pWindow->ReleaseMouse(); - // Command-Handler fuer Kontext-Menue kommt erst nach MouseButtonUp, - // darum hier die harte IsLeft-Abfrage + // command handler for context menu follows after MouseButtonUp, + // therefore here the hard IsLeft call if ( !bReturn && rMEvt.IsLeft() ) if (pViewShell->IsDrawSelMode()) pViewShell->GetViewData().GetDispatcher(). diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index 8f13dd83ce03..8a567c694e72 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -166,7 +166,7 @@ void ScFunctionWin::UpdateLRUList() #* #* Class: ScFunctionWin #* -#* Function: Erklaerungstext fuer die Funktion einstellen. +#* Function: #* #* Input: --- #* diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx index 1e640071b07c..4649fe2dabf7 100644 --- a/sc/source/ui/pagedlg/areasdlg.cxx +++ b/sc/source/ui/pagedlg/areasdlg.cxx @@ -616,13 +616,13 @@ IMPL_LINK( ScPrintAreasDlg, Impl_ModifyHdl, Edit&, rEd, void ) pLb->SelectEntryPos( !aStrEd.isEmpty() ? nUserDefPos : 0 ); } -// globale Funktionen: +// global functions: // TODO: It might make sense to move these functions to address.?xx. -kohei static bool lcl_CheckOne_OOO( const OUString& rStr, bool bIsRow, SCCOLROW& rVal ) { - // Zulaessige Syntax fuer rStr: + // Allowed syntax for rStr: // Row: [$]1-MAXTAB // Col: [$]A-IV diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index 1a05f543edc6..6349b16f081e 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx @@ -143,8 +143,8 @@ void ScEditWindow::SetNumType(SvxNumType eNumType) EditTextObject* ScEditWindow::CreateTextObject() { - // Absatzattribute zuruecksetzen - // (GetAttribs beim Format-Dialog-Aufruf gibt immer gesetzte Items zurueck) + // reset paragraph attributes + // (GetAttribs at creation of format dialog always returns the set items) const SfxItemSet& rEmpty = pEdEngine->GetEmptyItemSet(); sal_Int32 nParCnt = pEdEngine->GetParagraphCount(); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index ce319d16e68b..034de933a539 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -4813,8 +4813,8 @@ uno::Sequence<sal_Int8> SAL_CALL ScCellRangeObj::getImplementationId() // XCellRange -// ColumnCount / RowCount sind weggefallen -//! werden im Writer fuer Tabellen noch gebraucht ??? +// ColumnCount / RowCount vanished +//! are used in Writer for tables ??? uno::Reference<table::XCell> ScCellRangeObj::GetCellByPosition_Impl( sal_Int32 nColumn, sal_Int32 nRow ) @@ -5699,7 +5699,7 @@ uno::Reference<sheet::XSubTotalDescriptor> SAL_CALL ScCellRangeObj::createSubTot { ScSubTotalParam aParam; pData->GetSubTotalParam(aParam); - // im SubTotalDescriptor sind die Fields innerhalb des Bereichs gezaehlt + // SubTotalDescriptor contains the counted fields inside the area ScRange aDBRange; pData->GetArea(aDBRange); SCCOL nFieldStart = aDBRange.aStart.Col(); @@ -6990,7 +6990,7 @@ void SAL_CALL ScTableSheetObj::removeAllManualPageBreaks() ScDocShell* pDocSh = GetDocShell(); if ( pDocSh ) { - //! docfunc Funktion, auch fuer ScViewFunc::RemoveManualBreaks + //! DocFunc function, also for ScViewFunc::RemoveManualBreaks ScDocument& rDoc = pDocSh->GetDocument(); bool bUndo (rDoc.IsUndoEnabled()); @@ -8746,12 +8746,12 @@ void ScTableRowObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntr bool bVis = ScUnoHelpFunctions::GetBoolFromAny( aValue ); ScSizeMode eMode = bVis ? SC_SIZE_SHOW : SC_SIZE_DIRECT; rFunc.SetWidthOrHeight(false, aRowArr, nTab, eMode, 0, true, true); - // SC_SIZE_DIRECT mit Groesse 0 blendet aus + // SC_SIZE_DIRECT with size zero will hide } else if ( pEntry->nWID == SC_WID_UNO_CELLFILT ) { bool bFil = ScUnoHelpFunctions::GetBoolFromAny( aValue ); - // SC_SIZE_DIRECT mit Groesse 0 blendet aus + // SC_SIZE_DIRECT with size zero will hide rDoc.SetRowFiltered(nRow, nRow, nTab, bFil); } else if ( pEntry->nWID == SC_WID_UNO_OHEIGHT ) diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx index 910e01ec3a57..e9a4b2877568 100644 --- a/sc/source/ui/unoobj/datauno.cxx +++ b/sc/source/ui/unoobj/datauno.cxx @@ -1699,7 +1699,7 @@ uno::Sequence<beans::PropertyValue> SAL_CALL ScDatabaseRangeObj::getSortDescript { pData->GetSortParam(aParam); - // im SortDescriptor sind die Fields innerhalb des Bereichs gezaehlt + // SortDescriptor contains the counted fields inside the area ScRange aDBRange; pData->GetArea(aDBRange); SCCOLROW nFieldStart = aParam.bByRow ? static_cast<SCCOLROW>(aDBRange.aStart.Col()) : static_cast<SCCOLROW>(aDBRange.aStart.Row()); @@ -1720,7 +1720,7 @@ void ScDatabaseRangeObj::GetQueryParam(ScQueryParam& rQueryParam) const { pData->GetQueryParam(rQueryParam); - // im FilterDescriptor sind die Fields innerhalb des Bereichs gezaehlt + // FilterDescriptor contains the counted fields inside the area ScRange aDBRange; pData->GetArea(aDBRange); SCCOLROW nFieldStart = rQueryParam.bByRow ? static_cast<SCCOLROW>(aDBRange.aStart.Col()) : static_cast<SCCOLROW>(aDBRange.aStart.Row()); @@ -1739,7 +1739,7 @@ void ScDatabaseRangeObj::SetQueryParam(const ScQueryParam& rQueryParam) const ScDBData* pData = GetDBData_Impl(); if (pData) { - // im FilterDescriptor sind die Fields innerhalb des Bereichs gezaehlt + // FilterDescriptor contains the counted fields inside the area ScQueryParam aParam(rQueryParam); ScRange aDBRange; pData->GetArea(aDBRange); @@ -1774,7 +1774,7 @@ void ScDatabaseRangeObj::GetSubTotalParam(ScSubTotalParam& rSubTotalParam) const { pData->GetSubTotalParam(rSubTotalParam); - // im FilterDescriptor sind die Fields innerhalb des Bereichs gezaehlt + // FilterDescriptor contains the counted fields inside the area ScRange aDBRange; pData->GetArea(aDBRange); SCCOL nFieldStart = aDBRange.aStart.Col(); @@ -1798,7 +1798,7 @@ void ScDatabaseRangeObj::SetSubTotalParam(const ScSubTotalParam& rSubTotalParam) const ScDBData* pData = GetDBData_Impl(); if (pData) { - // im FilterDescriptor sind die Fields innerhalb des Bereichs gezaehlt + // FilterDescriptor contains the counted fields inside the area ScSubTotalParam aParam(rSubTotalParam); ScRange aDBRange; pData->GetArea(aDBRange); @@ -1914,7 +1914,7 @@ uno::Reference<table::XCellRange> SAL_CALL ScDatabaseRangeObj::getReferredCells( ScDBData* pData = GetDBData_Impl(); if ( pData ) { - //! static Funktion um ScCellObj/ScCellRangeObj zu erzeugen am ScCellRangeObj ??? + //! static function to create ScCellObj/ScCellRange on ScCellRangeObj ??? pData->GetArea(aRange); if ( aRange.aStart == aRange.aEnd ) diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index 0a468e66cd95..530ea3519afa 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -167,7 +167,7 @@ static const SfxItemPropertySet* lcl_GetCellStyleSet() return &aCellStyleSet_Impl; } -// Map mit allen Seitenattributen, incl. Kopf-/Fusszeilenattribute +// map with all site attributes including header and footer attributes static const SfxItemPropertySet * lcl_GetPageStyleSet() { @@ -288,7 +288,7 @@ static const SfxItemPropertySet * lcl_GetPageStyleSet() return &aPageStyleSet_Impl; } -// Map mit Inhalten des Header-Item-Sets +// map with content of the Header-Item-Sets static const SfxItemPropertyMap* lcl_GetHeaderStyleMap() { @@ -327,7 +327,7 @@ static const SfxItemPropertyMap* lcl_GetHeaderStyleMap() return &aHeaderStyleMap; } -// Map mit Inhalten des Footer-Item-Sets +// map with content of the Footer-Item-Sets static const SfxItemPropertyMap* lcl_GetFooterStyleMap() { @@ -477,7 +477,7 @@ uno::Any SAL_CALL ScStyleFamiliesObj::getByIndex( sal_Int32 nIndex ) uno::Type SAL_CALL ScStyleFamiliesObj::getElementType() { SolarMutexGuard aGuard; - return cppu::UnoType<container::XNameContainer>::get(); // muss zu getByIndex passen + return cppu::UnoType<container::XNameContainer>::get(); // has to fit to getByIndex } sal_Bool SAL_CALL ScStyleFamiliesObj::hasElements() @@ -700,7 +700,7 @@ void SAL_CALL ScStyleFamilyObj::insertByName( const OUString& aName, const uno:: void SAL_CALL ScStyleFamilyObj::replaceByName( const OUString& aName, const uno::Any& aElement ) { SolarMutexGuard aGuard; - //! zusammenfassen? + //! combine? removeByName( aName ); insertByName( aName, aElement ); } @@ -716,7 +716,7 @@ void SAL_CALL ScStyleFamilyObj::removeByName( const OUString& aName ) ScDocument& rDoc = pDocShell->GetDocument(); ScStyleSheetPool* pStylePool = rDoc.GetStyleSheetPool(); - //! DocFunc-Funktion?? + //! DocFunc function?? //! Undo ????????????? SfxStyleSheetBase* pStyle = pStylePool->Find( aString, eFamily ); @@ -725,7 +725,7 @@ void SAL_CALL ScStyleFamilyObj::removeByName( const OUString& aName ) bFound = true; if ( eFamily == SfxStyleFamily::Para ) { - // wie ScViewFunc::RemoveStyleSheetInUse + // like ScViewFunc::RemoveStyleSheetInUse ScopedVclPtrInstance< VirtualDevice > pVDev; Point aLogic = pVDev->LogicToPixel( Point(1000,1000), MapUnit::MapTwip ); double nPPTX = aLogic.X() / 1000.0; @@ -788,7 +788,7 @@ uno::Any SAL_CALL ScStyleFamilyObj::getByIndex( sal_Int32 nIndex ) uno::Type SAL_CALL ScStyleFamilyObj::getElementType() { SolarMutexGuard aGuard; - return cppu::UnoType<style::XStyle>::get(); // muss zu getByIndex passen + return cppu::UnoType<style::XStyle>::get(); // has to fit to getByIndex } sal_Bool SAL_CALL ScStyleFamilyObj::hasElements() @@ -1048,7 +1048,7 @@ void SAL_CALL ScStyleObj::setParentStyle( const OUString& rParentStyle ) if ( eFamily == SfxStyleFamily::Para && lcl_AnyTabProtected( pDocShell->GetDocument() ) ) return; //! exception? - //! DocFunc-Funktion?? + //! DocFunc function?? //! Undo ????????????? OUString aString(ScStyleNameConversion::ProgrammaticToDisplayName( rParentStyle, eFamily )); @@ -1106,7 +1106,7 @@ void SAL_CALL ScStyleObj::setName( const OUString& aNewName ) if ( eFamily == SfxStyleFamily::Para && lcl_AnyTabProtected( pDocShell->GetDocument() ) ) return; //! exception? - //! DocFunc-Funktion?? + //! DocFunc function?? //! Undo ????????????? bool bOk = pStyle->SetName( aNewName ); @@ -1118,7 +1118,7 @@ void SAL_CALL ScStyleObj::setName( const OUString& aNewName ) if ( eFamily == SfxStyleFamily::Para && !rDoc.IsImportingXML() ) rDoc.GetPool()->CellStyleCreated( aNewName, &rDoc ); - // Zellvorlagen = 2, Seitenvorlagen = 4 + // cell styles = 2, page styles = 4 sal_uInt16 nId = ( eFamily == SfxStyleFamily::Para ) ? SID_STYLE_FAMILY2 : SID_STYLE_FAMILY4; SfxBindings* pBindings = pDocShell->GetViewBindings(); @@ -1537,7 +1537,7 @@ void ScStyleObj::setPropertyValue_Impl( const OUString& rPropertyName, const Sfx { if (pValue) { - switch ( pEntry->nWID ) // fuer Item-Spezial-Behandlungen + switch ( pEntry->nWID ) // special item handling { case ATTR_VALUE_FORMAT: { @@ -1770,7 +1770,7 @@ void ScStyleObj::setPropertyValue_Impl( const OUString& rPropertyName, const Sfx ScDocument& rDoc = pDocShell->GetDocument(); if ( eFamily == SfxStyleFamily::Para ) { - // update lineheight + // update line height ScopedVclPtrInstance< VirtualDevice > pVDev; Point aLogic = pVDev->LogicToPixel( Point(1000,1000), MapUnit::MapTwip ); double nPPTX = aLogic.X() / 1000.0; @@ -1815,7 +1815,7 @@ uno::Any ScStyleObj::getPropertyValue_Impl( const OUString& aPropertyName ) if ( IsScItemWid( nWhich ) ) { - switch ( nWhich ) // fuer Item-Spezial-Behandlungen + switch ( nWhich ) // for special item handling { case ATTR_VALUE_FORMAT: if ( pDocShell ) @@ -1848,7 +1848,7 @@ uno::Any ScStyleObj::getPropertyValue_Impl( const OUString& aPropertyName ) case ATTR_PAGE_CHARTS: case ATTR_PAGE_OBJECTS: case ATTR_PAGE_DRAWINGS: - //! sal_Bool-MID fuer ScViewObjectModeItem definieren? + //! define sal_Bool-MID for ScViewObjectModeItem? aAny <<= static_cast<const ScViewObjectModeItem&>(pItemSet->Get(nWhich)).GetValue() == VOBJ_MODE_SHOW; break; case ATTR_PAGE_PAPERBIN: diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 69f1ffe1ef49..feb9ab575e0b 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -437,7 +437,7 @@ void ScTabView::ResetDrawDragMode() void ScTabView::ViewOptionsHasChanged( bool bHScrollChanged, bool bGraphicsChanged ) { - // DrawView erzeugen, wenn Gitter angezeigt werden soll + // create DrawView when grid should be displayed if ( !pDrawView && aViewData.GetOptions().GetGridOptions().GetGridVisible() ) MakeDrawLayer(); @@ -495,7 +495,7 @@ void ScTabView::DrawEnableAnim(bool bSet) { pDrawView->SetAnimationEnabled(); - // Animierte GIFs muessen wieder gestartet werden: + // animated GIFs must be restarted: ScDocument* pDoc = aViewData.GetDocument(); for (i=0; i<4; i++) if ( pGridWin[i] && pGridWin[i]->IsVisible() ) @@ -544,25 +544,25 @@ void ScTabView::MakeVisible( const tools::Rectangle& rHMMRect ) tools::Rectangle aRect = pWin->LogicToPixel( rHMMRect ); - long nScrollX=0, nScrollY=0; // Pixel + long nScrollX=0, nScrollY=0; // pixel - if ( aRect.Right() >= aWinSize.Width() ) // rechts raus + if ( aRect.Right() >= aWinSize.Width() ) // right out { - nScrollX = aRect.Right() - aWinSize.Width() + 1; // rechter Rand sichtbar + nScrollX = aRect.Right() - aWinSize.Width() + 1; // right border visible if ( aRect.Left() < nScrollX ) - nScrollX = aRect.Left(); // links sichtbar (falls zu gross) + nScrollX = aRect.Left(); // left visible (if too big) } - if ( aRect.Bottom() >= aWinSize.Height() ) // unten raus + if ( aRect.Bottom() >= aWinSize.Height() ) // bottom out { - nScrollY = aRect.Bottom() - aWinSize.Height() + 1; // unterer Rand sichtbar + nScrollY = aRect.Bottom() - aWinSize.Height() + 1; // bottom border visible if ( aRect.Top() < nScrollY ) - nScrollY = aRect.Top(); // oben sichtbar (falls zu gross) + nScrollY = aRect.Top(); // top visible (if too big) } - if ( aRect.Left() < 0 ) // links raus - nScrollX = aRect.Left(); // linker Rand sichtbar - if ( aRect.Top() < 0 ) // oben raus - nScrollY = aRect.Top(); // oberer Rand sichtbar + if ( aRect.Left() < 0 ) // left out + nScrollX = aRect.Left(); // left border visible + if ( aRect.Top() < 0 ) // top out + nScrollY = aRect.Top(); // top border visible if (nScrollX || nScrollY) { @@ -576,7 +576,7 @@ void ScTabView::MakeVisible( const tools::Rectangle& rHMMRect ) SCCOL nPosX = aViewData.GetPosX(WhichH(eWhich)); SCROW nPosY = aViewData.GetPosY(WhichV(eWhich)); - long nLinesX=0, nLinesY=0; // Spalten/Zeilen - um mindestens nScrollX/Y scrollen + long nLinesX=0, nLinesY=0; // columns/rows - scroll at least nScrollX/Y if (nScrollX > 0) while (nScrollX > 0 && nPosX < MAXCOL) @@ -608,7 +608,7 @@ void ScTabView::MakeVisible( const tools::Rectangle& rHMMRect ) --nLinesY; } - ScrollLines( nLinesX, nLinesY ); // ausfuehren + ScrollLines( nLinesX, nLinesY ); // execute } } diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index dd08716d7198..b24e950bd61f 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -1619,7 +1619,7 @@ void ScTabViewShell::Construct( TriState nForceDesignMode ) // ScDispatchProviderInterceptor registers itself in ctor xDisProvInterceptor = new ScDispatchProviderInterceptor( this ); - bFirstActivate = true; // NavigatorUpdate aufschieben bis Activate() + bFirstActivate = true; // delay NavigatorUpdate until Activate() // #105575#; update only in the first creation of the ViewShell pDocSh->SetUpdateEnabled(false); diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx index 478a49b01bae..bee5f1501dd7 100644 --- a/sc/source/ui/view/tabvwsh5.cxx +++ b/sc/source/ui/view/tabvwsh5.cxx @@ -229,7 +229,7 @@ void ScTabViewShell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { GetSelEngine()->Reset(); GetFunctionSet().SetAnchorFlag(true); - // AnchorFlag, damit gleich mit Control angehaengt werden kann + // AnchorFlag, so immediately Control can appended } } break; @@ -313,7 +313,7 @@ void ScTabViewShell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SvxNumberInfoItem* ScTabViewShell::MakeNumberInfoItem( ScDocument* pDoc, ScViewData* pViewData ) { - // NumberInfo-Item konstruieren: + // construct NumberInfo item SvxNumberValueType eValType = SvxNumberValueType::Undefined; double nCellValue = 0; |