Kaydet (Commit) ff5d0dae authored tarafından Tobias Madl's avatar Tobias Madl Kaydeden (comit) Caolán McNamara

fdo#39468: Translated some german comments

Change-Id: I7fba5d4d91c85289f2be5c0338977bea2cce2b06
Reviewed-on: https://gerrit.libreoffice.org/13178Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst ab515d82
...@@ -44,15 +44,15 @@ namespace sdr { ...@@ -44,15 +44,15 @@ namespace sdr {
class SelectionController; class SelectionController;
} }
enum SdrEndTextEditKind {SDRENDTEXTEDIT_UNCHANGED, // Textobjekt unveraendert enum SdrEndTextEditKind {SDRENDTEXTEDIT_UNCHANGED, // textobject unchanged
SDRENDTEXTEDIT_CHANGED, // Textobjekt wurde geaendert SDRENDTEXTEDIT_CHANGED, // textobject changed
SDRENDTEXTEDIT_DELETED, // Textobjekt implizit geloescht SDRENDTEXTEDIT_DELETED, // textobject implicitly deleted
SDRENDTEXTEDIT_SHOULDBEDELETED}; // Fuer Writer: Textobjekt sollte geloescht werden SDRENDTEXTEDIT_SHOULDBEDELETED}; // for writer: textobject should be deleted
// - Allgemeines Edit fuer objektspeziefische Eigenschaften // - general edit for objectspecific properties
// - Textedit fuer alle vom SdrTextObj abgeleiteten Zeichenobjekte // - textedit for all drawobjects, inherited from SdrTextObj
// - Macromodus // - macromod
class SVX_DLLPUBLIC SdrObjEditView: public SdrGlueEditView class SVX_DLLPUBLIC SdrObjEditView: public SdrGlueEditView
...@@ -62,27 +62,27 @@ class SVX_DLLPUBLIC SdrObjEditView: public SdrGlueEditView ...@@ -62,27 +62,27 @@ class SVX_DLLPUBLIC SdrObjEditView: public SdrGlueEditView
protected: protected:
// TextEdit // TextEdit
SdrObjectWeakRef mxTextEditObj; // Aktuell im TextEdit befindliches Obj SdrObjectWeakRef mxTextEditObj; // current object in TextEdit
SdrPageView* pTextEditPV; SdrPageView* pTextEditPV;
SdrOutliner* pTextEditOutliner; // Na eben der Outliner fuers TextEdit SdrOutliner* pTextEditOutliner; // outliner for the TextEdit
OutlinerView* pTextEditOutlinerView; // die aktuelle View des Outliners OutlinerView* pTextEditOutlinerView; // current view of the outliners
vcl::Window* pTextEditWin; // passendes Win zu pTextEditOutlinerView vcl::Window* pTextEditWin; // matching window to pTextEditOutlinerView
vcl::Cursor* pTextEditCursorMerker; // Zum Restaurieren des Cursors am jeweiligen Win vcl::Cursor* pTextEditCursorMerker; // to restore the cursor in each window
ImpSdrEditPara* pEditPara; // Da hau' ich erstmal alles rein um kompatibel zu bleiben... ImpSdrEditPara* pEditPara; // trashbin for everything else to stay compatible
SdrObject* pMacroObj; SdrObject* pMacroObj;
SdrPageView* pMacroPV; SdrPageView* pMacroPV;
vcl::Window* pMacroWin; vcl::Window* pMacroWin;
Rectangle aTextEditArea; Rectangle aTextEditArea;
Rectangle aMinTextEditArea; Rectangle aMinTextEditArea;
Link aOldCalcFieldValueLink; // Zum rufen des alten Handlers Link aOldCalcFieldValueLink; // for call the old handler
Point aMacroDownPos; Point aMacroDownPos;
sal_uInt16 nMacroTol; sal_uInt16 nMacroTol;
bool bTextEditDontDelete : 1; // Outliner und View bei SdrEndTextEdit nicht deleten (f. Rechtschreibpruefung) bool bTextEditDontDelete : 1; // do not delete outliner and view of SdrEndTextEdit (f. spellchecking)
bool bTextEditOnlyOneView : 1; // Nur eine OutlinerView (f. Rechtschreibpruefung) bool bTextEditOnlyOneView : 1; // a single OutlinerView (f. spellchecking)
bool bTextEditNewObj : 1; // Aktuell editiertes Objekt wurde gerade neu erzeugt bool bTextEditNewObj : 1; // current edited object was just recreated
bool bQuickTextEditMode : 1; // persistent(->CrtV). Default=TRUE bool bQuickTextEditMode : 1; // persistent(->CrtV). Default=TRUE
bool bMacroMode : 1; // persistent(->CrtV). Default=TRUE bool bMacroMode : 1; // persistent(->CrtV). Default=TRUE
bool bMacroDown : 1; bool bMacroDown : 1;
...@@ -104,18 +104,18 @@ protected: ...@@ -104,18 +104,18 @@ protected:
OutlinerView* ImpFindOutlinerView(vcl::Window* pWin) const; OutlinerView* ImpFindOutlinerView(vcl::Window* pWin) const;
// Eine neue OutlinerView auf dem Heap anlegen und alle erforderlichen Parameter setzen. // Create a new OutlinerView at the heap and initialize all required parameters.
// pTextEditObj, pTextEditPV und pTextEditOutliner muessen initiallisiert sein. // pTextEditObj, pTextEditPV and pTextEditOutliner have to be initialized
OutlinerView* ImpMakeOutlinerView(vcl::Window* pWin, bool bNoPaint, OutlinerView* pGivenView) const; OutlinerView* ImpMakeOutlinerView(vcl::Window* pWin, bool bNoPaint, OutlinerView* pGivenView) const;
void ImpPaintOutlinerView(OutlinerView& rOutlView, const Rectangle& rRect, OutputDevice& rTargetDevice) const; void ImpPaintOutlinerView(OutlinerView& rOutlView, const Rectangle& rRect, OutputDevice& rTargetDevice) const;
void ImpInvalidateOutlinerView(OutlinerView& rOutlView) const; void ImpInvalidateOutlinerView(OutlinerView& rOutlView) const;
// Feststellen, ob der gesamte Text markiert ist. Liefert auch sal_True wenn // Check if the whole text is selected.
// kein Text vorhanden ist. // Still returns sal_True if there is no text present.
bool ImpIsTextEditAllSelected() const; bool ImpIsTextEditAllSelected() const;
void ImpMakeTextCursorAreaVisible(); void ImpMakeTextCursorAreaVisible();
// Handler fuer AutoGrowing Text bei aktivem Outliner // handler for AutoGrowing text with active Outliner
DECL_LINK(ImpOutlinerStatusEventHdl,EditStatus*); DECL_LINK(ImpOutlinerStatusEventHdl,EditStatus*);
DECL_LINK(ImpOutlinerCalcFieldValueHdl,EditFieldInfo*); DECL_LINK(ImpOutlinerCalcFieldValueHdl,EditFieldInfo*);
...@@ -139,7 +139,7 @@ public: ...@@ -139,7 +139,7 @@ public:
// outliner will be displayed on the overlay in edit mode. // outliner will be displayed on the overlay in edit mode.
void TextEditDrawing(SdrPaintWindow& rPaintWindow) const; void TextEditDrawing(SdrPaintWindow& rPaintWindow) const;
// Actionhandling fuer Macromodus // Actionhandling for macromod
virtual bool IsAction() const SAL_OVERRIDE; virtual bool IsAction() const SAL_OVERRIDE;
virtual void MovAction(const Point& rPnt) SAL_OVERRIDE; virtual void MovAction(const Point& rPnt) SAL_OVERRIDE;
virtual void EndAction() SAL_OVERRIDE; virtual void EndAction() SAL_OVERRIDE;
...@@ -151,64 +151,59 @@ public: ...@@ -151,64 +151,59 @@ public:
virtual void ModelHasChanged() SAL_OVERRIDE; virtual void ModelHasChanged() SAL_OVERRIDE;
// TextEdit ueber einen Outliner // TextEdit over an outliner
// QuickTextEditMode bedeutet, dass Objekte mit Text sofort beim Anklicken // QuickTextEditMode = edit the text straight after selection. Default=TRUE. Persistent.
// editiert werden sollen. Default=TRUE. Persistent.
void SetQuickTextEditMode(bool bOn) { bQuickTextEditMode=bOn; } void SetQuickTextEditMode(bool bOn) { bQuickTextEditMode=bOn; }
bool IsQuickTextEditMode() const { return bQuickTextEditMode; } bool IsQuickTextEditMode() const { return bQuickTextEditMode; }
// Starten des TextEditMode. Ist pWin==NULL, wird das erste an der View // Start the TextEditMode. If pWin==NULL, use the first window, which is logged at the View.
// angemeldete Win verwendet. // The cursor of the currently edited window is stored with SdrBeginTextEdit()
// Der Cursor des Fensters an dem Editiert wird wird bei // and restored with SdrEndTextEdit().
// SdrBeginTextEdit() gemerkt und bei SdrEndTextEdit() wieder restauriert. // The app has to ensure, that the BegEdit of the window logged cursor is still valid,
// Die App muss sicherstellen, das die zum Zeitpunkt des BegEdit am // when SdrEndTextEdit is called.
// Windows angemeldete Cursorinstanz beim SdrEndTextEdit noch gueltig ist. // With the parameter pEditOutliner, the app has the possibility to specify his own outliner,
// Ueber den Parameter pEditOutliner kann die Applikation einen eigenen // which is used for editing. After the SdrBeginTextEdit call, the outliner belongs to
// Outliner vorgeben, der zum Editieren verwendet wird. Dieser gehoert // SdrObjEditView, and is also later destroyed by this via delete (if bDontDeleteOutliner=sal_False).
// nach Aufruf von SdrBeginTextEdit der SdrObjEditView und wird von dieser // Afterwards the SdrObjEditView sets the modflag (EditEngine/Outliner) at this instance and also the
// spaeter via delete zerstoert (falls bDontDeleteOutliner=sal_False). Die // StatusEventHdl.
// SdrObjEditView setzt dann das Modusflag (EditEngine/Outliner) an // Similarly a specific OutlinerView can be specified.
// dieser Instanz und ausserdem auch den StatusEventHdl.
// Ebenso kann eine spezifische OutlinerView vorgegeben werden.
virtual bool SdrBeginTextEdit(SdrObject* pObj, SdrPageView* pPV = 0L, vcl::Window* pWin = 0L, bool bIsNewObj = false, virtual bool SdrBeginTextEdit(SdrObject* pObj, SdrPageView* pPV = 0L, vcl::Window* pWin = 0L, bool bIsNewObj = false,
SdrOutliner* pGivenOutliner = 0L, OutlinerView* pGivenOutlinerView = 0L, SdrOutliner* pGivenOutliner = 0L, OutlinerView* pGivenOutlinerView = 0L,
bool bDontDeleteOutliner = false, bool bOnlyOneView = false, bool bGrabFocus = true); bool bDontDeleteOutliner = false, bool bOnlyOneView = false, bool bGrabFocus = true);
// bDontDeleteReally ist ein Spezialparameter fuer den Writer. // bDontDeleteReally is a special parameter for writer
// Ist dieses Flag gesetzt, dann wird ein evtl. leeres Textobjekt // If this flag is set, then a maybe empty textobject is not deleted.
// nicht geloescht. Stattdessen gibt es dann einen Returncode // Instead you get a return code SDRENDTEXTEDIT_SHOULDBEDELETED
// SDRENDTEXTEDIT_SHOULDBEDELETED (anstelle von SDRENDTEXTEDIT_BEDELETED) // (in place of SDRENDTEXTEDIT_BEDELETED), which says, the obj should be
// der besagt, dass das Objekt geloescht werden sollte. // deleted.
virtual SdrEndTextEditKind SdrEndTextEdit(bool bDontDeleteReally = false); virtual SdrEndTextEditKind SdrEndTextEdit(bool bDontDeleteReally = false);
virtual bool IsTextEdit() const SAL_OVERRIDE; virtual bool IsTextEdit() const SAL_OVERRIDE;
// Diese Methode liefert sal_True, wenn der Punkt rHit innerhalb der // This method returns sal_True, if the point rHit is inside the
// des Objektbereichs oder der OutlinerView liegt. // objectspace or the OutlinerView.
bool IsTextEditHit(const Point& rHit, short nTol) const; bool IsTextEditHit(const Point& rHit, short nTol) const;
// Diese Methode liefert sal_True, wenn der Punkt rHit innerhalb des // This method returns sal_True, if the point rHit is inside the
// Handle-dicken Rahmens liegt, der die OutlinerView bei TextFrames // handle-thick frame, which surrounds the OutlinerView at TextFrames.
// umschliesst.
bool IsTextEditFrameHit(const Point& rHit) const; bool IsTextEditFrameHit(const Point& rHit) const;
// Bei aktiver Selektion, also zwischen MouseButtonDown und // At active selection, between MouseButtonDown and
// MouseButtonUp liefert diese Methode immer TRUE. // MouseButtonUp, this method always returns TRUE.
bool IsTextEditInSelectionMode() const; bool IsTextEditInSelectionMode() const;
// Wer das z.Zt. im TextEdit befindliche Objekt braucht: // If sb needs the object out of the TextEdit:
SdrObject* GetTextEditObject() const { return mxTextEditObj.get(); } SdrObject* GetTextEditObject() const { return mxTextEditObj.get(); }
// info about TextEditPageView. Default is 0L. // info about TextEditPageView. Default is 0L.
virtual SdrPageView* GetTextEditPageView() const SAL_OVERRIDE; virtual SdrPageView* GetTextEditPageView() const SAL_OVERRIDE;
// Das aktuelle Win des Outliners // Current window of the outliners.
vcl::Window* GetTextEditWin() const { return pTextEditWin; } vcl::Window* GetTextEditWin() const { return pTextEditWin; }
void SetTextEditWin(vcl::Window* pWin); void SetTextEditWin(vcl::Window* pWin);
// An den hier abgeholten Outliner kann man schliesslich // Now at this outliner, events can be send, attributes can be set,
// Events versenden, Attribute setzen, Cut/Copy/Paste rufen, // call Cut/Copy/Paste, call Undo/Redo, and so on...
// Undo/Redo rufen, etc.
const SdrOutliner* GetTextEditOutliner() const { return pTextEditOutliner; } const SdrOutliner* GetTextEditOutliner() const { return pTextEditOutliner; }
SdrOutliner* GetTextEditOutliner() { return pTextEditOutliner; } SdrOutliner* GetTextEditOutliner() { return pTextEditOutliner; }
const OutlinerView* GetTextEditOutlinerView() const { return pTextEditOutlinerView; } const OutlinerView* GetTextEditOutlinerView() const { return pTextEditOutlinerView; }
...@@ -230,7 +225,7 @@ public: ...@@ -230,7 +225,7 @@ public:
SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(bool& rOk) const; SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(bool& rOk) const;
bool SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr); bool SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr);
// Intern: Beim Splitteraufziehen neue OutlinerView... // Intern: at mounting new OutlinerView...
virtual void AddWindowToPaintView(OutputDevice* pNewWin) SAL_OVERRIDE; virtual void AddWindowToPaintView(OutputDevice* pNewWin) SAL_OVERRIDE;
virtual void DeleteWindowFromPaintView(OutputDevice* pOldWin) SAL_OVERRIDE; virtual void DeleteWindowFromPaintView(OutputDevice* pOldWin) SAL_OVERRIDE;
...@@ -238,11 +233,10 @@ public: ...@@ -238,11 +233,10 @@ public:
// Object-MacroModus (z.B. Rect als Button oder sowas): // Object-MacroModus (e.g. rect as button or sth. like that):
// Persistent. Default TRUE. SvDraw wertet das Flag u.a. bei // Persistent. Default TRUE. SvDraw evaluates the flag e.g. at SdrView::GetPreferredPointer().
// SdrView::GetPreferredPointer() aus. Hat nur Wirkung, wenn das Dokument // Has only effect, if the document has draw-objects with macrofunctionality (SdrObject::HasMacro()==sal_True).
// Draw-Objekte mit Macrofunktionalitaet hat (SdrObject::HasMacro()==sal_True).
void SetMacroMode(bool bOn) { bMacroMode=bOn; } void SetMacroMode(bool bOn) { bMacroMode=bOn; }
bool IsMacroMode() const { return bMacroMode; } bool IsMacroMode() const { return bMacroMode; }
bool BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* pPV, vcl::Window* pWin); bool BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* pPV, vcl::Window* pWin);
......
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
class SdrGluePoint; class SdrGluePoint;
// Editieren von Klebepunkten an den Objekten (Klebepunkte fuer Verbinder) // Edit GluePoints at the objects (GluePoints for connector)
class SVX_DLLPUBLIC SdrGlueEditView: public SdrPolyEditView class SVX_DLLPUBLIC SdrGlueEditView: public SdrPolyEditView
{ {
void ImpClearVars(); void ImpClearVars();
// Markierte Klebepunkte kopieren und anstelle der alten markieren // copy marked GluePoints and mark instead of the old ones
void ImpCopyMarkedGluePoints(); void ImpCopyMarkedGluePoints();
typedef void (*PGlueDoFunc)(SdrGluePoint&, const SdrObject* pObj, const void*, const void*, const void*, const void*, const void*); typedef void (*PGlueDoFunc)(SdrGluePoint&, const SdrObject* pObj, const void*, const void*, const void*, const void*, const void*);
typedef void (*PGlueTrFunc)(Point&, const void*, const void*, const void*, const void*, const void*); typedef void (*PGlueTrFunc)(Point&, const void*, const void*, const void*, const void*, const void*);
...@@ -46,35 +46,35 @@ protected: ...@@ -46,35 +46,35 @@ protected:
virtual ~SdrGlueEditView(); virtual ~SdrGlueEditView();
public: public:
// Durch den Parameter nThisEsc uebergibt man die Richtung, die man // the parameter nThisEsc is used to hand over the direction,
// checken bzw. setzen/loeschen will. // which one wished to check,set or delete
// Moegliche Werte fuer nThisEsc sind z.Zt. // possible values for nThisEsc are:
// SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP und SDRESC_BOTTOM // SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP and SDRESC_BOTTOM
SDR_TRISTATE IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const; SDR_TRISTATE IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const;
void SetMarkedGluePointsEscDir(sal_uInt16 nThisEsc, bool bOn); void SetMarkedGluePointsEscDir(sal_uInt16 nThisEsc, bool bOn);
bool IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); } bool IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Checken/setzen, ob die Klebepunktpositionen relativ zur // check/set, if the GluePoints are relativ to the
// Objektgroesse sind (Percent=sal_True) oder nicht (Percent=sal_False) // object size (Percent=sal_True) or not (Percent=sal_False)
SDR_TRISTATE IsMarkedGluePointsPercent() const; SDR_TRISTATE IsMarkedGluePointsPercent() const;
void SetMarkedGluePointsPercent(bool bOn); void SetMarkedGluePointsPercent(bool bOn);
bool IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); } bool IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// bVert=FALSE: Horizontales Alignment checken/setzen // bVert=FALSE: check/set hotizontal alignment
// SDRHORZALIGN_CENTER // SDRHORZALIGN_CENTER
// SDRHORZALIGN_LEFT // SDRHORZALIGN_LEFT
// SDRHORZALIGN_RIGHT // SDRHORZALIGN_RIGHT
// SDRHORZALIGN_DONTCARE (nur bei Get()) // SDRHORZALIGN_DONTCARE (only at Get())
// bVert=TRUE: Vertikales Alignment checken/setzen // bVert=TRUE: check/set vertical alignment
// SDRVERTALIGN_CENTER // SDRVERTALIGN_CENTER
// SDRVERTALIGN_TOP // SDRVERTALIGN_TOP
// SDRVERTALIGN_BOTTOM // SDRVERTALIGN_BOTTOM
// SDRVERTALIGN_DONTCARE (nur bei Get()) // SDRVERTALIGN_DONTCARE (only at Get())
sal_uInt16 GetMarkedGluePointsAlign(bool bVert) const; sal_uInt16 GetMarkedGluePointsAlign(bool bVert) const;
void SetMarkedGluePointsAlign(bool bVert, sal_uInt16 nAlign); void SetMarkedGluePointsAlign(bool bVert, sal_uInt16 nAlign);
bool IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); } bool IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Alle merkierten Klebepunkte entfernen // delete all marked GluePoints
void DeleteMarkedGluePoints(); void DeleteMarkedGluePoints();
void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false); void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false);
......
...@@ -54,15 +54,15 @@ class SdrObject; ...@@ -54,15 +54,15 @@ class SdrObject;
#define SDRVERTALIGN_DONTCARE 0x1000 #define SDRVERTALIGN_DONTCARE 0x1000
class SVX_DLLPUBLIC SdrGluePoint { class SVX_DLLPUBLIC SdrGluePoint {
// Bezugspunkt ist SdrObject::GetSnapRect().Center() // Reference Point is SdrObject::GetSnapRect().Center()
// bNoPercent=false: Position ist -5000..5000 (1/100)% bzw. 0..10000 (je nach Align) // bNoPercent=false: position is -5000..5000 (1/100)% or 0..10000 (depending on align)
// bNoPercent=true : Position ist in log Einh, rel zum Bezugspunkt // bNoPercent=true : position is in log unit, relativ to the reference point
Point aPos; Point aPos;
sal_uInt16 nEscDir; sal_uInt16 nEscDir;
sal_uInt16 nId; sal_uInt16 nId;
sal_uInt16 nAlign; sal_uInt16 nAlign;
bool bNoPercent:1; bool bNoPercent:1;
bool bReallyAbsolute:1; // Temporaer zu setzen fuer Transformationen am Bezugsobjekt bool bReallyAbsolute:1; // temp for transformations on the reference object
bool bUserDefined:1; // #i38892# bool bUserDefined:1; // #i38892#
public: public:
SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {} SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {}
...@@ -77,7 +77,7 @@ public: ...@@ -77,7 +77,7 @@ public:
void SetId(sal_uInt16 nNewId) { nId=nNewId; } void SetId(sal_uInt16 nNewId) { nId=nNewId; }
bool IsPercent() const { return !bNoPercent; } bool IsPercent() const { return !bNoPercent; }
void SetPercent(bool bOn) { bNoPercent = !bOn; } void SetPercent(bool bOn) { bNoPercent = !bOn; }
// Temporaer zu setzen fuer Transformationen am Bezugsobjekt // temp for transformations on the reference object
bool IsReallyAbsolute() const { return bReallyAbsolute; } bool IsReallyAbsolute() const { return bReallyAbsolute; }
void SetReallyAbsolute(bool bOn, const SdrObject& rObj); void SetReallyAbsolute(bool bOn, const SdrObject& rObj);
...@@ -117,8 +117,8 @@ public: ...@@ -117,8 +117,8 @@ public:
void Clear(); void Clear();
void operator=(const SdrGluePointList& rSrcList); void operator=(const SdrGluePointList& rSrcList);
sal_uInt16 GetCount() const { return sal_uInt16(aList.size()); } sal_uInt16 GetCount() const { return sal_uInt16(aList.size()); }
// Beim Insert wird dem Objekt (also dem GluePoint) automatisch eine Id zugewiesen. // At insert, the object (GluePoint) automatically gets an ID assigned.
// ReturnCode ist der Index des neuen GluePoints in der Liste // Return value is the index of the new GluePoint in the list.
sal_uInt16 Insert(const SdrGluePoint& rGP); sal_uInt16 Insert(const SdrGluePoint& rGP);
void Delete(sal_uInt16 nPos) void Delete(sal_uInt16 nPos)
{ {
...@@ -131,7 +131,7 @@ public: ...@@ -131,7 +131,7 @@ public:
sal_uInt16 FindGluePoint(sal_uInt16 nId) const; sal_uInt16 FindGluePoint(sal_uInt16 nId) const;
sal_uInt16 HitTest(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj, bool bBack = false, bool bNext = false, sal_uInt16 nId0=0) const; sal_uInt16 HitTest(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj, bool bBack = false, bool bNext = false, sal_uInt16 nId0=0) const;
void Invalidate(vcl::Window& rWin, const SdrObject* pObj) const; void Invalidate(vcl::Window& rWin, const SdrObject* pObj) const;
// Temporaer zu setzen fuer Transformationen am Bezugsobjekt // temp for transformations on the reference object
void SetReallyAbsolute(bool bOn, const SdrObject& rObj); void SetReallyAbsolute(bool bOn, const SdrObject& rObj);
void Rotate(const Point& rRef, long nAngle, double sn, double cs, const SdrObject* pObj); void Rotate(const Point& rRef, long nAngle, double sn, double cs, const SdrObject* pObj);
void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj); void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj);
......
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