summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNicolas Christener <nicolas.christener@adfinis-sygroup.ch>2012-02-13 11:37:23 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-27 14:50:45 +0100
commit101ec3fbe5cdbe0ac63d97324e1ee5284972fa5e (patch)
tree266503970be2dea697493f191634ed458130f23a /sw
parent8d16d40f8b9a061647b86e23f4e1aadb1b90f5ba (diff)
translate german comments
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/flyincnt.cxx26
1 files changed, 12 insertions, 14 deletions
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx
index bd0eb2ee9f70..8b57281564be 100644
--- a/sw/source/core/layout/flyincnt.cxx
+++ b/sw/source/core/layout/flyincnt.cxx
@@ -40,7 +40,7 @@
// OD 2004-01-19 #110582#
#include <dflyobj.hxx>
-//aus FlyCnt.cxx
+//from FlyCnt.cxx
void DeepCalc( const SwFrm *pFrm );
/*************************************************************************
@@ -64,7 +64,7 @@ SwFlyInCntFrm::SwFlyInCntFrm( SwFlyFrmFmt *pFmt, SwFrm* pSib, SwFrm *pAnch ) :
SwFlyInCntFrm::~SwFlyInCntFrm()
{
- //und Tschuess.
+ //good bye
if ( !GetFmt()->GetDoc()->IsInDtor() && GetAnchorFrm() )
{
SwRect aTmp( GetObjRectWithSpaces() );
@@ -154,14 +154,14 @@ void SwFlyInCntFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew )
|*
|* SwFlyInCntFrm::Format()
|*
-|* Beschreibung: Hier wird der Inhalt initial mit Formatiert.
+|* Description: Here the content gets formated initially.
|*
|*************************************************************************/
void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
{
if ( !Frm().Height() )
{
- Lock(); //nicht hintenherum den Anker formatieren.
+ Lock(); //don't format the anchor on the crook.
SwCntntFrm *pCntnt = ContainsCntnt();
while ( pCntnt )
{ pCntnt->Calc();
@@ -175,10 +175,8 @@ void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
|*
|* SwFlyInCntFrm::MakeFlyPos()
|*
-|* Beschreibung Im Unterschied zu anderen Frms wird hier nur die
-|* die RelPos berechnet. Die absolute Position wird ausschliesslich
-|* per SetAbsPos errechnet.
-|*
+|* Description In contrast to other Frms we only calculate the RelPos
+|* here. The absolute position is only calculated using SetAbsPos.
|*************************************************************************/
// OD 2004-03-23 #i26791#
//void SwFlyInCntFrm::MakeFlyPos()
@@ -189,8 +187,8 @@ void SwFlyInCntFrm::MakeObjPos()
bValidPos = sal_True;
SwFlyFrmFmt *pFmt = (SwFlyFrmFmt*)GetFmt();
const SwFmtVertOrient &rVert = pFmt->GetVertOrient();
- //Und ggf. noch die aktuellen Werte im Format updaten, dabei darf
- //zu diesem Zeitpunkt natuerlich kein Modify verschickt werden.
+ //Update the current values in the format if needed, during this we of
+ //course must not send any Modify.
const bool bVert = GetAnchorFrm()->IsVertical();
const bool bRev = GetAnchorFrm()->IsReverse();
SwTwips nOld = rVert.GetPos();
@@ -248,7 +246,7 @@ void SwFlyInCntFrm::RegistFlys()
{
// vgl. SwRowFrm::RegistFlys()
SwPageFrm *pPage = FindPageFrm();
- OSL_ENSURE( pPage, "Flys ohne Seite anmelden?" );
+ OSL_ENSURE( pPage, "Register Flys without pages?" );
::RegistFlys( pPage, this );
}
@@ -268,9 +266,9 @@ void SwFlyInCntFrm::MakeAll()
if ( !GetAnchorFrm() || IsLocked() || IsColLocked() || !FindPageFrm() )
return;
- Lock(); //Der Vorhang faellt
+ Lock(); // The curtain falls
- //uebernimmt im DTor die Benachrichtigung
+ //does the notification in the DTor
const SwFlyNotify aNotify( this );
SwBorderAttrAccess aAccess( SwFrm::GetCache(), this );
const SwBorderAttrs &rAttrs = *aAccess.Get();
@@ -280,7 +278,7 @@ void SwFlyInCntFrm::MakeAll()
while ( !bValidPos || !bValidSize || !bValidPrtArea )
{
- //Nur einstellen wenn das Flag gesetzt ist!!
+ //Only stop, if the flag is set!!
if ( !bValidSize )
{
bValidPrtArea = sal_False;