fdo#39468: Translated German comments in sw/source/core/docnode/ndnotxt.cxx
Change-Id: I0838ef7e1a80056a2a0bf0fc8d4ff91f9acbe5b7
This commit is contained in:
committed by
Philipp Riemer
parent
e06c1f56b9
commit
a6c7410c13
@@ -38,7 +38,7 @@
|
|||||||
#include <ndgrf.hxx>
|
#include <ndgrf.hxx>
|
||||||
#include <ndole.hxx>
|
#include <ndole.hxx>
|
||||||
#include <ndindex.hxx>
|
#include <ndindex.hxx>
|
||||||
#include <hints.hxx> // fuer SwFmtChg
|
#include <hints.hxx>
|
||||||
#include <istyleaccess.hxx>
|
#include <istyleaccess.hxx>
|
||||||
#include <SwStyleNameMapper.hxx>
|
#include <SwStyleNameMapper.hxx>
|
||||||
|
|
||||||
@@ -54,23 +54,21 @@ SwNoTxtNode::SwNoTxtNode( const SwNodeIndex & rWhere,
|
|||||||
bContourMapModeValid( sal_True ),
|
bContourMapModeValid( sal_True ),
|
||||||
bPixelContour( sal_False )
|
bPixelContour( sal_False )
|
||||||
{
|
{
|
||||||
// soll eine Harte-Attributierung gesetzt werden?
|
// Should this set a hard attribute?
|
||||||
if( pAutoAttr )
|
if( pAutoAttr )
|
||||||
SetAttr( *pAutoAttr );
|
SetAttr( *pAutoAttr );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SwNoTxtNode::~SwNoTxtNode()
|
SwNoTxtNode::~SwNoTxtNode()
|
||||||
{
|
{
|
||||||
delete pContour;
|
delete pContour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Creates an AttrSet for all derivations with ranges for frame-
|
||||||
// erzeugt fuer alle Ableitungen einen AttrSet mit Bereichen
|
/// and graphics-attributes.
|
||||||
// fuer Frame- und Grafik-Attributen
|
|
||||||
void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
|
void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( !mpAttrSet.get(), "AttrSet ist doch gesetzt" );
|
OSL_ENSURE( !mpAttrSet.get(), "AttrSet is already set" );
|
||||||
SwAttrSet aNewAttrSet( rPool, aNoTxtNodeSetRange );
|
SwAttrSet aNewAttrSet( rPool, aNoTxtNodeSetRange );
|
||||||
|
|
||||||
// put names of parent style and conditional style:
|
// put names of parent style and conditional style:
|
||||||
@@ -84,22 +82,18 @@ void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
|
|||||||
mpAttrSet = GetDoc()->GetIStyleAccess().getAutomaticStyle( aNewAttrSet, IStyleAccess::AUTO_STYLE_NOTXT );
|
mpAttrSet = GetDoc()->GetIStyleAccess().getAutomaticStyle( aNewAttrSet, IStyleAccess::AUTO_STYLE_NOTXT );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dummies fuer das Laden/Speichern von persistenten Daten
|
/// Dummies for loading/saving of persistent data
|
||||||
// bei Grafiken und OLE-Objekten
|
/// when working with graphics and OLE objects
|
||||||
|
|
||||||
|
|
||||||
sal_Bool SwNoTxtNode::RestorePersistentData()
|
sal_Bool SwNoTxtNode::RestorePersistentData()
|
||||||
{
|
{
|
||||||
return sal_True;
|
return sal_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sal_Bool SwNoTxtNode::SavePersistentData()
|
sal_Bool SwNoTxtNode::SavePersistentData()
|
||||||
{
|
{
|
||||||
return sal_True;
|
return sal_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SwNoTxtNode::SetContour( const PolyPolygon *pPoly, sal_Bool bAutomatic )
|
void SwNoTxtNode::SetContour( const PolyPolygon *pPoly, sal_Bool bAutomatic )
|
||||||
{
|
{
|
||||||
delete pContour;
|
delete pContour;
|
||||||
@@ -112,7 +106,6 @@ void SwNoTxtNode::SetContour( const PolyPolygon *pPoly, sal_Bool bAutomatic )
|
|||||||
bPixelContour = sal_False;
|
bPixelContour = sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SwNoTxtNode::CreateContour()
|
void SwNoTxtNode::CreateContour()
|
||||||
{
|
{
|
||||||
OSL_ENSURE( !pContour, "Contour available." );
|
OSL_ENSURE( !pContour, "Contour available." );
|
||||||
@@ -262,7 +255,6 @@ sal_Bool SwNoTxtNode::IsPixelContour() const
|
|||||||
return bRet;
|
return bRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Graphic SwNoTxtNode::GetGraphic() const
|
Graphic SwNoTxtNode::GetGraphic() const
|
||||||
{
|
{
|
||||||
Graphic aRet;
|
Graphic aRet;
|
||||||
|
Reference in New Issue
Block a user