Kaydet (Commit) 0f2fb06b authored tarafından Philipp Weissenbacher's avatar Philipp Weissenbacher Kaydeden (comit) Michael Stahl

fdo#39468 Translate German comments - include/svx

Change-Id: If0591f7cb799568cb61bb506c4e1f65e8bc540ac
Reviewed-on: https://gerrit.libreoffice.org/17390Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 7ab9a047
This diff is collapsed.
...@@ -35,7 +35,7 @@ protected: ...@@ -35,7 +35,7 @@ protected:
void ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const Size& rSiz, const MapMode& rMap, SdrInsertFlags nOptions); void ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const Size& rSiz, const MapMode& rMap, SdrInsertFlags nOptions);
bool ImpGetPasteLayer(const SdrObjList* pObjList, SdrLayerID& rLayer) const; bool ImpGetPasteLayer(const SdrObjList* pObjList, SdrLayerID& rLayer) const;
// liefert True, wenn rPt geaendert wurde // Returns true if rPt has changed
bool ImpLimitToWorkArea(Point& rPt) const; bool ImpLimitToWorkArea(Point& rPt) const;
protected: protected:
...@@ -43,30 +43,31 @@ protected: ...@@ -43,30 +43,31 @@ protected:
SdrExchangeView(SdrModel* pModel1, OutputDevice* pOut = 0L); SdrExchangeView(SdrModel* pModel1, OutputDevice* pOut = 0L);
public: public:
// Alle markierten Objekte auf dem angegebenen OutputDevice ausgeben. // Output all marked objects on the specified OutputDevice
::std::vector< SdrObject* > GetMarkedObjects() const; ::std::vector< SdrObject* > GetMarkedObjects() const;
virtual void DrawMarkedObj(OutputDevice& rOut) const; virtual void DrawMarkedObj(OutputDevice& rOut) const;
// Z.B. fuer's Clipboard, Drag&Drop, ... // E.g. for Clipboard, Drag'n'Drop, ...
// Alle markierten Objekte in ein Metafile stecken. Z.Zt. noch etwas // Add all marked objects to a metafile.
// buggee (Offset..., Fremdgrafikobjekte (SdrGrafObj), Virtuelle // FIXME: This is known to be somewhat buggy still (Offset...,
// Objektkopien (SdrVirtObj) mit Ankerpos<>(0,0)). // foreign graphics objects (SdrGrafObj), virutal object
// copies (SdrVirtObj) with anchor position <>(0,0)).
GDIMetaFile GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked = false) const; GDIMetaFile GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked = false) const;
// Alle markierten Objekte auf eine Bitmap malen. Diese hat die Farbtiefe // Draw all marked objects onto a bitmap, with the display's color depth
// und Aufloesung des Bildschirms. // and resolution
BitmapEx GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked = false) const; BitmapEx GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked = false) const;
// Alle markierten Objekte in ein neues Model kopieren. Dieses neue Model // Copy all marked objects to a new model, consisting of exactly one page,
// hat dann genau eine Page. Das Flag PageNotValid an diesem Model ist // with the flag PageNotValid set. This means, that only the page's objects
// gesetzt. Daran ist zu erkennen, dass nur die Objekte der Page Gueltikeit // are valid and not the page itself (page size, margins).
// haben, die Page sebst jedoch nicht (Seitengroesse, Raender). Das neue // The new model is created on the free store and passed to the caller of
// Model wird auf dem Heap erzeugt und wird an den Aufrufer dieser Methode // this method, which is responsible to dispose it later on.
// uebergeben. Dieser hat es dann spaeter zu entsorgen. //
// Beim einfuegen der markierten Objekte in die eine Page des neuen Model // When inserting the marked objects into the one page of the new model,
// findet ein Merging der seitenlokalen Layer statt. Sollte kein Platz mehr // the page-local layer is merged. If there's no more room left for
// fuer weitere seitenlokale Layer sein, wird den entsprechenden Objekten // additional page-local layers, the corresponding objects are assigned
// der Default-Layer zugewiesen (Layer 0, (dokumentglobaler Standardlayer). // the default layer (layer 0, document-global standard layer).
virtual SdrModel* GetMarkedObjModel() const; virtual SdrModel* GetMarkedObjModel() const;
Graphic GetAllMarkedGraphic() const; Graphic GetAllMarkedGraphic() const;
...@@ -86,23 +87,25 @@ public: ...@@ -86,23 +87,25 @@ public:
*/ */
static Graphic GetObjGraphic( const SdrModel* pModel, const SdrObject* pObj ); static Graphic GetObjGraphic( const SdrModel* pModel, const SdrObject* pObj );
// Bei allen Paste-Methoden werden die neuen Draw-Objekte markiert. // The new Draw objects are marked for all paste methods.
// Wird der Parameter bAddMark auf sal_True gesetzt, so werden die neuen // If bAddMark is true, the new Draw objects are added to an existing
// DrawObjekte zu einer bereits bestehenden Selektion "hinzumarkiert". // selection, which is meant for Drag'n'Drop with multiple items.
// Dieser Fall ist fuer Drag&Drop mit mehreren Items gedacht. //
// Die Methoden mit Point-Parameter fuegen neue Objekte zentriert an // The methods with a point parameter insert objects centered at that
// dieser Position ein, die anderen zentriert am 1.OutputDevice der View. // position, all others are centered at the 1st OutputDevice of the View.
// Ist der Parameter pPg gesetzt, werden die Objekte and dieser Seite //
// eingefuegt. Die Positionierung (rPos bzw. Zentrierung) bezieht sich // If pPg is set, the objects are inserted at that page. The positioning
// dann nichtmehr auf die View sondern auf die Page. // (rPos or alignment) are not relative to the View, but to the Page.
// Hinweis: SdrObjList ist Basisklasse von SdrPage. //
// Die Methoden liefern sal_True, wenn die Objekte erfolgreich erzeugt und // Note: SdrObjList is the base class of SdrPage.
// eingefuegt wurden. Bei pLst=sal_False und kein TextEdit aktiv kann man // All methods return true, if the objects have been successfully created
// sich dann auch darauf verlassen, dass diese an der View markiert sind. // and inserted.
// Andernfalls erfolgt die Markierung nur, wenn pLst z.Zt. auch an der // If pLst = false and no TextEdit active, we can rely on the fact, that
// View angezeigt wird. // it is marked at the View. Or else the marking only happens if the pLst
// Gueltige Werte fuer nOptions sind SDRINSERT_DONTMARK und // is also shown at the View at the moment.
// SDRINSERT_ADDMARK (siehe svdedtv.hxx). //
// Valid values for nOptions are SDRINSERT_DONTMARK and SDRINSERT_ADDMARK
// (@see svdedtv.hxx).
virtual bool Paste( virtual bool Paste(
const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions, const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions,
const OUString& rSrcShellID, const OUString& rDestShellID ); const OUString& rSrcShellID, const OUString& rDestShellID );
......
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