Kaydet (Commit) 59ba9bfd authored tarafından Nicolas Christener's avatar Nicolas Christener Kaydeden (comit) Christina Rossmanith

translate german comments in /sc/inc

üst 620cbe02
......@@ -33,11 +33,9 @@
#include <rtl/ustring.hxx>
//------------------------------------------------------------------------
#define MAXFUNCPARAM 16
#define MAXARRSIZE 0xfffe
//------------------------------------------------------------------------
#ifndef WIN
#ifndef WNT
#define CALLTYPE
......@@ -54,7 +52,6 @@ extern "C" {
typedef void (CALLTYPE* AdvData)( double& nHandle, void* pData );
}
//------------------------------------------------------------------------
enum ParamType
{
PTR_DOUBLE,
......@@ -65,7 +62,6 @@ enum ParamType
NONE
};
//------------------------------------------------------------------------
class ModuleData;
class FuncData : public ScDataObject
{
......@@ -108,7 +104,6 @@ public:
};
//------------------------------------------------------------------------
class FuncCollection : public ScSortedCollection
{
public:
......
......@@ -114,7 +114,7 @@ public:
Returns false for formula cells returning nothing, use HasEmptyData() for that. */
bool IsBlank( bool bIgnoreNotes = false ) const;
// fuer Idle-Berechnung
// for idle-calculations
inline USHORT GetTextWidth() const { return nTextWidth; }
inline void SetTextWidth( USHORT nNew ) { nTextWidth = nNew; }
......@@ -161,7 +161,7 @@ public:
BOOL HasEmptyData() const;
BOOL HasValueData() const;
BOOL HasStringData() const;
String GetStringData() const; // nur echte Strings
String GetStringData() const; // only real strings
static BOOL CellEqual( const ScBaseCell* pCell1, const ScBaseCell* pCell2 );
......@@ -200,8 +200,6 @@ private:
ScNoteCell( const ScNoteCell& );
};
// ============================================================================
class SC_DLLPUBLIC ScValueCell : public ScBaseCell
{
public:
......@@ -222,8 +220,6 @@ private:
double mfValue;
};
// ============================================================================
class SC_DLLPUBLIC ScStringCell : public ScBaseCell
{
public:
......@@ -246,8 +242,6 @@ private:
String maString;
};
// ============================================================================
class SC_DLLPUBLIC ScEditCell : public ScBaseCell
{
private:
......@@ -286,8 +280,6 @@ public:
void RemoveCharAttribs( const ScPatternAttr& rAttr );
};
// ============================================================================
class ScEditDataArray
{
public:
......@@ -330,8 +322,6 @@ private:
::std::vector<Item> maArray;
};
// ============================================================================
enum ScMatrixMode {
MM_NONE = 0, // No matrix formula
MM_FORMULA = 1, // Upper left matrix formula cell
......@@ -554,8 +544,6 @@ public:
ScToken* GetNextRefToken();
};
// ============================================================================
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -39,9 +39,9 @@ class SvNumberFormatter;
class Color;
enum ScForceTextFmt {
ftDontForce, // Zahlen als Zahlen
ftForce, // Zahlen als Text
ftCheck // ist das Zahlenformat ein Textformat?
ftDontForce, // numbers as numbers
ftForce, // numbers as text
ftCheck // is the numberformat a textformat?
};
//------------------------------------------------------------------------
......
......@@ -69,12 +69,12 @@ public:
};
class SC_DLLPUBLIC ScChartArray : public ScDataObject // nur noch Parameter-Struct
class SC_DLLPUBLIC ScChartArray : public ScDataObject // only parameter-struct
{
String aName;
ScDocument* pDocument;
ScChartPositioner aPositioner;
BOOL bValid; // fuer Erzeugung aus SchMemChart
BOOL bValid; // for creation out of SchMemChart
private:
ScMemChart* CreateMemChartSingle();
......
......@@ -76,7 +76,7 @@ private:
ScChartUnoData* pUnoData;
ScDocument* pDoc;
BOOL bUsed; // fuer ScChartListenerCollection::FreeUnused
BOOL bUsed; // for ScChartListenerCollection::FreeUnused
BOOL bDirty;
BOOL bSeriesRangesScheduled;
......@@ -172,13 +172,13 @@ public:
virtual ~ScChartListenerCollection();
// nur nach copy-ctor noetig, wenn neu ins Dok gehaengt
// only needed after copy-ctor, if newly added to doc
void StartAllListeners();
void ChangeListening( const String& rName,
const ScRangeListRef& rRangeListRef,
BOOL bDirty = FALSE );
// FreeUnused nur wie in ScDocument::UpdateChartListenerCollection verwenden!
// use FreeUnused only the way it's used in ScDocument::UpdateChartListenerCollection
void FreeUnused();
void FreeUno( const com::sun::star::uno::Reference< com::sun::star::chart::XChartDataChangeEventListener >& rListener,
const com::sun::star::uno::Reference< com::sun::star::chart::XChartData >& rSource );
......@@ -188,7 +188,7 @@ public:
void SetDiffDirty( const ScChartListenerCollection&,
BOOL bSetChartRangeLists = FALSE );
void SetRangeDirty( const ScRange& rRange ); // z.B. Zeilen/Spalten
void SetRangeDirty( const ScRange& rRange ); // for example rows/columns
void UpdateScheduledSeriesRanges();
void UpdateChartsContainingTab( SCTAB nTab );
......
......@@ -60,7 +60,7 @@ class ScChartsObj : public cppu::WeakImplHelper4<
{
private:
ScDocShell* pDocShell;
SCTAB nTab; // Charts sind pro Sheet
SCTAB nTab; // Charts are per sheet
ScChartObj* GetObjectByIndex_Impl(long nIndex) const;
ScChartObj* GetObjectByName_Impl(const ::rtl::OUString& aName) const;
......@@ -134,7 +134,7 @@ class ScChartObj : public ::comphelper::OBaseMutex
{
private:
ScDocShell* pDocShell;
SCTAB nTab; // Charts sind pro Sheet
SCTAB nTab; // Charts are per sheet
String aChartName;
void Update_Impl( const ScRangeListRef& rRanges, bool bColHeaders, bool bRowHeaders );
......
......@@ -619,7 +619,7 @@ class ScChangeActionMove : public ScChangeAction
ScBigRange aFromRange;
ScChangeTrack* pTrack;
ScChangeActionCellListEntry* pFirstCell;
ULONG nStartLastCut; // fuer PasteCut Undo
ULONG nStartLastCut; // for PasteCut undo
ULONG nEndLastCut;
ScChangeActionMove( const ScRange& rFromRange,
......
......@@ -90,7 +90,7 @@ class SC_DLLPUBLIC ScSortedCollection : public ScCollection
private:
BOOL bDuplicates;
protected:
// fuer ScStrCollection Load/Store
// for ScStrCollection load/store
void SetDups( BOOL bVal ) { bDuplicates = bVal; }
BOOL IsDups() const { return bDuplicates; }
public:
......@@ -121,13 +121,11 @@ public:
StrData(const StrData& rData) : ScDataObject(), aStr(rData.aStr) {}
virtual ScDataObject* Clone() const;
const String& GetString() const { return aStr; }
// SetString nur, wenn StrData nicht in ScStrCollection ist! !!!
// z.B. fuer Searcher
// SetString only, if StrData is not in ScStrCollection! for example
// for Searcher
void SetString( const String& rNew ) { aStr = rNew; }
};
//------------------------------------------------------------------------
class SvStream;
class SC_DLLPUBLIC ScStrCollection : public ScSortedCollection
......
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