Kaydet (Commit) f5b7fecb authored tarafından Gerhard Oettl's avatar Gerhard Oettl Kaydeden (comit) Kohei Yoshida

fdo#39468: Translated German comments in sc/source/core/inc

Change-Id: I81b7330bf3178b539855f73aac25539013a2bd90
Reviewed-by: 's avatarPhilipp Riemer <ruderphilipp@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/493Reviewed-by: 's avatarKohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: 's avatarKohei Yoshida <kohei.yoshida@gmail.com>
üst 0f33979f
...@@ -49,20 +49,20 @@ class ScAddInAsync : public SvtBroadcaster ...@@ -49,20 +49,20 @@ class ScAddInAsync : public SvtBroadcaster
private: private:
union union
{ {
double nVal; // aktueller Wert double nVal; // current value
String* pStr; String* pStr;
}; };
ScAddInDocs* pDocs; // Liste der benutzenden Dokumente ScAddInDocs* pDocs; // List of using documents
FuncData* mpFuncData; // Zeiger auf die Daten in der Collection FuncData* mpFuncData; // Pointer to files in collection
sal_uLong nHandle; // wird von double auf sal_uLong gecasted sal_uLong nHandle; // is casted from double to sal_uLong
ParamType meType; // PTR_DOUBLE oder PTR_STRING Ergebnis ParamType meType; // result of type PTR_DOUBLE or PTR_STRING
sal_Bool bValid; // ob Wert gueltig sal_Bool bValid; // is value valid?
public: public:
// cTor nur wenn ScAddInAsync::Get fehlschlaegt! // cTor only if ScAddInAsync::Get fails.
// nIndex: Index aus der FunctionCollection // nIndex: Index from FunctionCollection
ScAddInAsync(sal_uLong nHandle, FuncData* pFuncData, ScDocument* pDoc); ScAddInAsync(sal_uLong nHandle, FuncData* pFuncData, ScDocument* pDoc);
// default-cTor nur fuer das eine globale aSeekObj !!! // default-cTor only for that single, global aSeekObj!
ScAddInAsync(); ScAddInAsync();
virtual ~ScAddInAsync(); virtual ~ScAddInAsync();
static ScAddInAsync* Get( sal_uLong nHandle ); static ScAddInAsync* Get( sal_uLong nHandle );
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
{ return pDocs->find( pDoc ) != pDocs->end(); } { return pDocs->find( pDoc ) != pDocs->end(); }
void AddDocument( ScDocument* pDoc ) { pDocs->insert( pDoc ); } void AddDocument( ScDocument* pDoc ) { pDocs->insert( pDoc ); }
// Vergleichsoperatoren fuer PtrArrSort // Comparators for PtrArrSort
bool operator< ( const ScAddInAsync& r ) const { return nHandle < r.nHandle; } bool operator< ( const ScAddInAsync& r ) const { return nHandle < r.nHandle; }
bool operator==( const ScAddInAsync& r ) const { return nHandle == r.nHandle; } bool operator==( const ScAddInAsync& r ) const { return nHandle == r.nHandle; }
}; };
......
...@@ -46,14 +46,14 @@ static sal_Bool bIsInUpdate; ...@@ -46,14 +46,14 @@ static sal_Bool bIsInUpdate;
ScDocument* pDoc; ScDocument* pDoc;
String aAppl; // Verbindungsdaten String aAppl; // connection/ link data
String aTopic; String aTopic;
String aItem; String aItem;
sal_uInt8 nMode; // Zahlformat-Modus sal_uInt8 nMode; // number format mode
sal_Bool bNeedUpdate; // wird gesetzt, wenn Update nicht moeglich war sal_Bool bNeedUpdate; // is set, if update was not possible
ScMatrixRef pResult; // Ergebnis ScMatrixRef pResult;
public: public:
TYPEINFO(); TYPEINFO();
...@@ -67,14 +67,14 @@ public: ...@@ -67,14 +67,14 @@ public:
void Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const; void Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const;
// von SvBaseLink ueberladen: // overloaded by SvBaseLink:
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
const String& rMimeType, const ::com::sun::star::uno::Any & rValue ); const String& rMimeType, const ::com::sun::star::uno::Any & rValue );
// von SvtBroadcaster ueberladen: // overloaded by SvtBroadcaster:
virtual void ListenersGone(); virtual void ListenersGone();
// fuer Interpreter: // for interpreter:
const ScMatrix* GetResult() const { return pResult.get(); } const ScMatrix* GetResult() const { return pResult.get(); }
void SetResult( ScMatrixRef pRes ) { pResult = pRes; } void SetResult( ScMatrixRef pRes ) { pResult = pRes; }
......
...@@ -102,7 +102,7 @@ public: ...@@ -102,7 +102,7 @@ public:
static void SetGlobalConfig(const ScCalcConfig& rConfig); static void SetGlobalConfig(const ScCalcConfig& rConfig);
static const ScCalcConfig& GetGlobalConfig(); static const ScCalcConfig& GetGlobalConfig();
static void GlobalExit(); // aus ScGlobal::Clear() gerufen static void GlobalExit(); // called by ScGlobal::Clear()
/// Could string be a regular expression? /// Could string be a regular expression?
/// If pDoc!=NULL the document options are taken into account and if /// If pDoc!=NULL the document options are taken into account and if
...@@ -172,9 +172,9 @@ void PushIllegalParameter(); ...@@ -172,9 +172,9 @@ void PushIllegalParameter();
void PushIllegalArgument(); void PushIllegalArgument();
void PushNoValue(); void PushNoValue();
void PushNA(); void PushNA();
//-------------------------------------------------------------------------
// Funktionen fuer den Zugriff auf das Document // Functions for accessing a document
//-------------------------------------------------------------------------
void ReplaceCell( ScAddress& ); // for TableOp void ReplaceCell( ScAddress& ); // for TableOp
void ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ); // for TableOp void ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ); // for TableOp
bool IsTableOpInRange( const ScRange& ); bool IsTableOpInRange( const ScRange& );
...@@ -207,9 +207,7 @@ bool CreateStringArr(SCCOL nCol1, SCROW nRow1, SCTAB nTab1, ...@@ -207,9 +207,7 @@ bool CreateStringArr(SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
bool CreateCellArr(SCCOL nCol1, SCROW nRow1, SCTAB nTab1, bool CreateCellArr(SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
SCCOL nCol2, SCROW nRow2, SCTAB nTab2, sal_uInt8* pCellArr); SCCOL nCol2, SCROW nRow2, SCTAB nTab2, sal_uInt8* pCellArr);
//-----------------------------------------------------------------------------
// Stack operations // Stack operations
//-----------------------------------------------------------------------------
/** Does substitute with formula::FormulaErrorToken in case nGlobalError is set and the token /** Does substitute with formula::FormulaErrorToken in case nGlobalError is set and the token
passed is not formula::FormulaErrorToken. passed is not formula::FormulaErrorToken.
...@@ -350,10 +348,12 @@ ScMatrixRef CreateMatrixFromDoubleRef( const formula::FormulaToken* pToken, ...@@ -350,10 +348,12 @@ ScMatrixRef CreateMatrixFromDoubleRef( const formula::FormulaToken* pToken,
inline ScTokenMatrixMap& GetTokenMatrixMap(); inline ScTokenMatrixMap& GetTokenMatrixMap();
ScTokenMatrixMap* CreateTokenMatrixMap(); ScTokenMatrixMap* CreateTokenMatrixMap();
ScMatrixRef GetMatrix(); ScMatrixRef GetMatrix();
void ScTableOp(); // Mehrfachoperationen void ScTableOp(); // repeated operations
void ScErrCell(); // Sonderbehandlung void ScErrCell(); // special handling for
// Fehlerzelle // error cell
//-----------------------------allgemeine Hilfsfunktionen
// common helper functions
void SetMaxIterationCount(sal_uInt16 n); void SetMaxIterationCount(sal_uInt16 n);
inline void CurFmtToFuncFmt() inline void CurFmtToFuncFmt()
{ nFuncFmtType = nCurFmtType; nFuncFmtIndex = nCurFmtIndex; } { nFuncFmtType = nCurFmtType; nFuncFmtIndex = nCurFmtIndex; }
...@@ -615,7 +615,7 @@ void ScDecimal(); ...@@ -615,7 +615,7 @@ void ScDecimal();
void ScConvert(); void ScConvert();
void ScEuroConvert(); void ScEuroConvert();
//----------------------- Finanzfunktionen ------------------------------------ // financial functions
void ScNPV(); void ScNPV();
void ScIRR(); void ScIRR();
void ScMIRR(); void ScMIRR();
...@@ -660,8 +660,8 @@ void ScIntercept(); ...@@ -660,8 +660,8 @@ void ScIntercept();
double ScGetGCD(double fx, double fy); double ScGetGCD(double fx, double fy);
void ScGCD(); void ScGCD();
void ScLCM(); void ScLCM();
//-------------------------- Matrixfunktionen ---------------------------------
// matrix functions
void ScMatValue(); void ScMatValue();
void MEMat(const ScMatrixRef& mM, SCSIZE n); void MEMat(const ScMatrixRef& mM, SCSIZE n);
void ScMatDet(); void ScMatDet();
...@@ -698,7 +698,7 @@ void ScForecast(); ...@@ -698,7 +698,7 @@ void ScForecast();
//------------------------- Functions in interpr3.cxx ------------------------- //------------------------- Functions in interpr3.cxx -------------------------
void ScNoName(); void ScNoName();
void ScBadName(); void ScBadName();
// Statistik: // Statistics:
double phi(double x); double phi(double x);
double integralPhi(double x); double integralPhi(double x);
double taylor(double* pPolynom, sal_uInt16 nMax, double x); double taylor(double* pPolynom, sal_uInt16 nMax, double x);
......
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