translate German comments in svdotext.hxx
Change-Id: Ia1d30a74abfbe0a3dcfc6e0038b9f805a787ad02 Reviewed-on: https://gerrit.libreoffice.org/27830 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
committed by
Markus Mohrhard
parent
33d031502d
commit
1520d30268
@@ -34,7 +34,7 @@
|
|||||||
#include <svx/svdpagv.hxx>
|
#include <svx/svdpagv.hxx>
|
||||||
|
|
||||||
|
|
||||||
// Vorausdeklarationen
|
// forward declarations
|
||||||
|
|
||||||
|
|
||||||
class OutlinerParaObject;
|
class OutlinerParaObject;
|
||||||
@@ -83,7 +83,7 @@ namespace sdr { namespace table {
|
|||||||
#define SDRUSERDATA_OBJTEXTLINK (1)
|
#define SDRUSERDATA_OBJTEXTLINK (1)
|
||||||
|
|
||||||
|
|
||||||
// Hilfsklasse SdrTextObjGeoData
|
// helper class SdrTextObjGeoData
|
||||||
|
|
||||||
|
|
||||||
class SdrTextObjGeoData : public SdrObjGeoData
|
class SdrTextObjGeoData : public SdrObjGeoData
|
||||||
@@ -94,7 +94,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Hilfsklasse ImpSdrObjTextLinkUserData
|
// helper class ImpSdrObjTextLinkUserData
|
||||||
|
|
||||||
|
|
||||||
class ImpSdrObjTextLinkUserData : public SdrObjUserData
|
class ImpSdrObjTextLinkUserData : public SdrObjUserData
|
||||||
@@ -179,33 +179,32 @@ private:
|
|||||||
friend class SdrText; // fuer ImpGetDrawOutliner
|
friend class SdrText; // fuer ImpGetDrawOutliner
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Das aRect ist gleichzeig auch das Rect vom RectObj und CircObj.
|
// The "aRect" is also the rect of RectObj and CircObj.
|
||||||
// Bei bTextFrame=sal_True wird der Text in dieses Rect hineinformatiert.
|
// When bTextFrame=sal_True the text will be formatted into this rect
|
||||||
// Bei bTextFrame=sal_False wird der Text am Mittelpunkt des Rect zentriert.
|
// When bTextFrame=sal_False the text will be centered around its middle
|
||||||
Rectangle maRect;
|
Rectangle maRect;
|
||||||
|
|
||||||
// Der GeoStat enthaelt den Drehwinkel und einen Shearwinkel
|
// The GeoStat contains the rotation and shear angles
|
||||||
GeoStat aGeo;
|
GeoStat aGeo;
|
||||||
|
|
||||||
// this is the active text
|
// this is the active text
|
||||||
SdrText* mpText;
|
SdrText* mpText;
|
||||||
|
|
||||||
// Hier merke ich mir die Ausmasse des Textes (n.i.)
|
// This contains the dimensions of the text
|
||||||
Size aTextSize;
|
Size aTextSize;
|
||||||
|
|
||||||
// Ein Outliner*, damit
|
// an Outliner*, so that
|
||||||
// 1. das TextObj nicht von mehreren Views gleichzeitig editiert und
|
// 1. the TextObj won't be edited simultaneously by multiple views, and
|
||||||
// 2. beim Streamen waerend des Editierens ein Flush() ausgefuehrt
|
// 2. when streaming while editing Flush() can be done
|
||||||
// werden kann
|
|
||||||
SdrOutliner* pEdtOutl;
|
SdrOutliner* pEdtOutl;
|
||||||
|
|
||||||
// Moegliche Werte fuer eTextKind sind:
|
// Possible values for eTextKind are:
|
||||||
// OBJ_TEXT normaler Textrahmen
|
// OBJ_TEXT regular text frame
|
||||||
// OBJ_TEXTEXT Textfortsetzungsrahmen
|
// OBJ_TEXTEXT text continuation frame
|
||||||
// OBJ_TITLETEXT TitleText fuer StarDraw-Praesentation
|
// OBJ_TITLETEXT TitleText for presentations
|
||||||
// OBJ_OUTLINETEXT OutlineText fuer StarDraw-Praesentation
|
// OBJ_OUTLINETEXT OutlineText for presentations
|
||||||
// eTextKind hat nur Bedeutung, wenn bTextFrame=sal_True, da es sich sonst
|
// eTextKind only has meaning when bTextFrame=sal_True, since otherwise
|
||||||
// um ein beschriftetes Grafikobjekt handelt.
|
// we're dealing with a labeled graphical object
|
||||||
SdrObjKind eTextKind;
|
SdrObjKind eTextKind;
|
||||||
|
|
||||||
// For text editing in SW Header/Footer it is necessary to be
|
// For text editing in SW Header/Footer it is necessary to be
|
||||||
@@ -227,27 +226,27 @@ protected:
|
|||||||
SdrTextObj *mpNextInChain = nullptr;
|
SdrTextObj *mpNextInChain = nullptr;
|
||||||
SdrTextObj *mpPrevInChain = nullptr;
|
SdrTextObj *mpPrevInChain = nullptr;
|
||||||
|
|
||||||
// Fuer beschriftete Zeichenobjekte ist bTextFrame=FALSE. Der Textblock
|
// For labeled graphical objects bTextFrame is FALSE. The block of text
|
||||||
// wird dann hoizontal und vertikal an aRect zentriert. Bei bTextFrame=
|
// will then be centered horizontally and vertically on aRect.
|
||||||
// sal_True wird der Text in aRect hineinformatiert. Der eigentliche Textrahmen
|
// For bTextFalse=sal_True the text will be formatted into aRect.
|
||||||
// ist durch ein SdrRectObj mit bTextFrame=sal_True realisiert.
|
// The actual text frame is realized by an SdrRectObj with
|
||||||
|
// bTextFrame=sal_True.
|
||||||
bool bTextFrame : 1;
|
bool bTextFrame : 1;
|
||||||
bool bPortionInfoChecked : 1; // Fuer Optimierung von Textobjekten
|
bool bPortionInfoChecked : 1; // to optimise text objects
|
||||||
bool bNoShear : 1; // Obj darf nicht gesheart werden (->Graf+Ole+TextFrame)
|
bool bNoShear : 1; // disable shearing (->graphic+Ole+TextFrame)
|
||||||
bool bNoMirror : 1; // Obj darf nicht gespiegelt werden (->Ole,TextFrame)
|
bool bNoMirror : 1; // disable mirroring (->Ole,TextFrame)
|
||||||
bool bTextSizeDirty : 1;
|
bool bTextSizeDirty : 1;
|
||||||
|
|
||||||
bool mbInEditMode : 1; // Is this text object in edit mode?
|
bool mbInEditMode : 1; // Is this text object in edit mode?
|
||||||
|
|
||||||
// Fuer Objekt mit freier Groesse im Draw (Mengentext). Das Flag wird vom
|
// For objects with free size (flow text). The flag is set by the
|
||||||
// der App beim Create gesetzt.
|
// application on create. If the object width is later resized,
|
||||||
// Wenn das Objekt dann spaeter in der Breite resized wird, wird
|
// AutoGrowWidth will be disabled (set to sal_False). This flag will
|
||||||
// AutoGrowWidth abgeschaltet (Hart auf sal_False attributiert). Das Flag wird
|
// then also be set to sal_False, so that the object behaves like a
|
||||||
// dann ebenfalls auf sal_False gesetzt, sodass sich das Objekt anschliessend
|
// normal text object.
|
||||||
// wie ein normales Textobjekt verhaelt.
|
// Width resize can result from:
|
||||||
// Resize in der Breite kann sein:
|
// - Interactive Resize in single or multiple selections
|
||||||
// - Interaktives Resize in Einfach- oder Mehrfachselektion
|
// - position/size dialog
|
||||||
// - Positions+Groesse Dialog
|
|
||||||
bool bDisableAutoWidthOnDragging : 1;
|
bool bDisableAutoWidthOnDragging : 1;
|
||||||
|
|
||||||
// Flag for allowing text animation. Default is sal_true.
|
// Flag for allowing text animation. Default is sal_true.
|
||||||
@@ -308,11 +307,11 @@ protected:
|
|||||||
// and object sizes
|
// and object sizes
|
||||||
virtual void AdaptTextMinSize();
|
virtual void AdaptTextMinSize();
|
||||||
|
|
||||||
// Konstruktoren fuer beschriftete Zeichenobjekte
|
// constructors for labeled graphical objects
|
||||||
SdrTextObj();
|
SdrTextObj();
|
||||||
SdrTextObj(const Rectangle& rNewRect);
|
SdrTextObj(const Rectangle& rNewRect);
|
||||||
|
|
||||||
// Konstruktoren fuer Textrahmen
|
// constructors for text frames
|
||||||
SdrTextObj(SdrObjKind eNewTextKind);
|
SdrTextObj(SdrObjKind eNewTextKind);
|
||||||
SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect);
|
SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect);
|
||||||
|
|
||||||
@@ -322,16 +321,17 @@ public:
|
|||||||
|
|
||||||
bool IsInEditMode() const { return mbInEditMode; }
|
bool IsInEditMode() const { return mbInEditMode; }
|
||||||
|
|
||||||
// via eCharSet kann der CharSet der vorliegenden Datei uebergeben werden.
|
// via eCharSet the character set of a file can be passed. For
|
||||||
// Bei RTL_TEXTENCODING_DONTKNOW wird der CharSet der aktuellen Plattform verwendet.
|
// RTL_TEXTENCODING_DONTKNOW the platform's character set is used.
|
||||||
// Derzeit unterstuetzt wird ASCII und RTF wobei ich die Unterscheidung
|
// Currently ASCII and RTF are supported and the differentiation is done
|
||||||
// selbst treffe. rFilterName ist noch ohne Bedeutung und muss leer gelassen
|
// internally.
|
||||||
// werden.
|
// rFilterName has no meaning and must be empty
|
||||||
// I.d.R. muss die App nur SetTextLink() rufen - der Rest geschieht von
|
// Normally the application only has to call SetTextLink() - der
|
||||||
// selbst (SfxLinkManager). Die Methode LoadText() kann ausserdem verwendet
|
// remainer is automatic (SfxLinkManager).
|
||||||
// werden, um eine Datei in ein Textobjekt zu laden (ohne Verknuepfung).
|
// The LoadText() method can also be used to load a file into a text
|
||||||
// TextLinks koennen nicht editiert werden (allenfalls spaeter mal ReadOnly).
|
// object (without linking.)
|
||||||
// Eine Attributierung kann nur am Textrahmen vollzogen werden.
|
// TextLinks can't be edited (if needed later could be ReadOnly).
|
||||||
|
// Setting attributes can only be done on the text frame.
|
||||||
void SetTextLink(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet);
|
void SetTextLink(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet);
|
||||||
void ReleaseTextLink();
|
void ReleaseTextLink();
|
||||||
bool IsLinkedText() const { return pPlusData!=nullptr && GetLinkUserData()!=nullptr; }
|
bool IsLinkedText() const { return pPlusData!=nullptr && GetLinkUserData()!=nullptr; }
|
||||||
@@ -389,17 +389,18 @@ public:
|
|||||||
void NbcSetText(SvStream& rInput, const OUString& rBaseURL, sal_uInt16 eFormat);
|
void NbcSetText(SvStream& rInput, const OUString& rBaseURL, sal_uInt16 eFormat);
|
||||||
void SetText(SvStream& rInput, const OUString& rBaseURL, sal_uInt16 eFormat);
|
void SetText(SvStream& rInput, const OUString& rBaseURL, sal_uInt16 eFormat);
|
||||||
|
|
||||||
// FitToSize und Fontwork wird bei GetTextSize() nicht berueksichtigt!
|
// FitToSize and Fontwork are not taken into account in GetTextSize()!
|
||||||
virtual const Size& GetTextSize() const;
|
virtual const Size& GetTextSize() const;
|
||||||
void FitFrameToTextSize();
|
void FitFrameToTextSize();
|
||||||
|
|
||||||
// Gleichzeitig wird der Text in den Outliner gesetzt (ggf.
|
// Simultaneously sets the text into the Outliner (possibly
|
||||||
// der des EditOutliners) und die PaperSize gesetzt.
|
// the one of the EditOutliner) and sets the PaperSize.
|
||||||
virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
|
virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
|
||||||
Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const;
|
Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const;
|
||||||
virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const;
|
virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const;
|
||||||
const GeoStat& GetGeoStat() const { return aGeo; }
|
const GeoStat& GetGeoStat() const { return aGeo; }
|
||||||
|
|
||||||
|
// get corner radius
|
||||||
long GetEckenradius() const;
|
long GetEckenradius() const;
|
||||||
virtual bool IsAutoGrowHeight() const;
|
virtual bool IsAutoGrowHeight() const;
|
||||||
long GetMinTextFrameHeight() const;
|
long GetMinTextFrameHeight() const;
|
||||||
@@ -411,20 +412,18 @@ public:
|
|||||||
SdrFitToSizeType GetFitToSize() const;
|
SdrFitToSizeType GetFitToSize() const;
|
||||||
const Rectangle &GetGeoRect() const;
|
const Rectangle &GetGeoRect() const;
|
||||||
|
|
||||||
// Feststellen, ob TextFontwork
|
// check if it's a TextFontwork
|
||||||
virtual bool IsFontwork() const;
|
virtual bool IsFontwork() const;
|
||||||
|
|
||||||
// Soll die Fontwork-Kontour versteckt werden?
|
// should the Fontwork contour be hidden?
|
||||||
bool IsHideContour() const;
|
bool IsHideContour() const;
|
||||||
|
|
||||||
// Textfluss innerhalb Kontur
|
// text flow within contour
|
||||||
bool IsContourTextFrame() const;
|
bool IsContourTextFrame() const;
|
||||||
|
|
||||||
// Horizontale Textausrichtung
|
|
||||||
SdrTextHorzAdjust GetTextHorizontalAdjust(const SfxItemSet& rSet) const;
|
SdrTextHorzAdjust GetTextHorizontalAdjust(const SfxItemSet& rSet) const;
|
||||||
SdrTextHorzAdjust GetTextHorizontalAdjust() const;
|
SdrTextHorzAdjust GetTextHorizontalAdjust() const;
|
||||||
|
|
||||||
// Vertikale Textausrichtung
|
|
||||||
SdrTextVertAdjust GetTextVerticalAdjust(const SfxItemSet& rSet) const;
|
SdrTextVertAdjust GetTextVerticalAdjust(const SfxItemSet& rSet) const;
|
||||||
SdrTextVertAdjust GetTextVerticalAdjust() const;
|
SdrTextVertAdjust GetTextVerticalAdjust() const;
|
||||||
|
|
||||||
@@ -444,7 +443,7 @@ public:
|
|||||||
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const override;
|
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const override;
|
||||||
virtual sal_uInt16 GetObjIdentifier() const override;
|
virtual sal_uInt16 GetObjIdentifier() const override;
|
||||||
|
|
||||||
// Wird zur Bestimmung des Textankerbereichs benoetigt
|
// needed to determine text anchor area
|
||||||
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
|
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
|
||||||
virtual OUString TakeObjNameSingul() const override;
|
virtual OUString TakeObjNameSingul() const override;
|
||||||
virtual OUString TakeObjNamePlural() const override;
|
virtual OUString TakeObjNamePlural() const override;
|
||||||
|
Reference in New Issue
Block a user