Kaydet (Commit) 101ec3fb authored tarafından Nicolas Christener's avatar Nicolas Christener Kaydeden (comit) Jan Holesovsky

translate german comments

üst 8d16d40f
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// OD 2004-01-19 #110582# // OD 2004-01-19 #110582#
#include <dflyobj.hxx> #include <dflyobj.hxx>
//aus FlyCnt.cxx //from FlyCnt.cxx
void DeepCalc( const SwFrm *pFrm ); void DeepCalc( const SwFrm *pFrm );
/************************************************************************* /*************************************************************************
...@@ -64,7 +64,7 @@ SwFlyInCntFrm::SwFlyInCntFrm( SwFlyFrmFmt *pFmt, SwFrm* pSib, SwFrm *pAnch ) : ...@@ -64,7 +64,7 @@ SwFlyInCntFrm::SwFlyInCntFrm( SwFlyFrmFmt *pFmt, SwFrm* pSib, SwFrm *pAnch ) :
SwFlyInCntFrm::~SwFlyInCntFrm() SwFlyInCntFrm::~SwFlyInCntFrm()
{ {
//und Tschuess. //good bye
if ( !GetFmt()->GetDoc()->IsInDtor() && GetAnchorFrm() ) if ( !GetFmt()->GetDoc()->IsInDtor() && GetAnchorFrm() )
{ {
SwRect aTmp( GetObjRectWithSpaces() ); SwRect aTmp( GetObjRectWithSpaces() );
...@@ -154,14 +154,14 @@ void SwFlyInCntFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) ...@@ -154,14 +154,14 @@ void SwFlyInCntFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew )
|* |*
|* SwFlyInCntFrm::Format() |* SwFlyInCntFrm::Format()
|* |*
|* Beschreibung: Hier wird der Inhalt initial mit Formatiert. |* Description: Here the content gets formated initially.
|* |*
|*************************************************************************/ |*************************************************************************/
void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs ) void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
{ {
if ( !Frm().Height() ) if ( !Frm().Height() )
{ {
Lock(); //nicht hintenherum den Anker formatieren. Lock(); //don't format the anchor on the crook.
SwCntntFrm *pCntnt = ContainsCntnt(); SwCntntFrm *pCntnt = ContainsCntnt();
while ( pCntnt ) while ( pCntnt )
{ pCntnt->Calc(); { pCntnt->Calc();
...@@ -175,10 +175,8 @@ void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs ) ...@@ -175,10 +175,8 @@ void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
|* |*
|* SwFlyInCntFrm::MakeFlyPos() |* SwFlyInCntFrm::MakeFlyPos()
|* |*
|* Beschreibung Im Unterschied zu anderen Frms wird hier nur die |* Description In contrast to other Frms we only calculate the RelPos
|* die RelPos berechnet. Die absolute Position wird ausschliesslich |* here. The absolute position is only calculated using SetAbsPos.
|* per SetAbsPos errechnet.
|*
|*************************************************************************/ |*************************************************************************/
// OD 2004-03-23 #i26791# // OD 2004-03-23 #i26791#
//void SwFlyInCntFrm::MakeFlyPos() //void SwFlyInCntFrm::MakeFlyPos()
...@@ -189,8 +187,8 @@ void SwFlyInCntFrm::MakeObjPos() ...@@ -189,8 +187,8 @@ void SwFlyInCntFrm::MakeObjPos()
bValidPos = sal_True; bValidPos = sal_True;
SwFlyFrmFmt *pFmt = (SwFlyFrmFmt*)GetFmt(); SwFlyFrmFmt *pFmt = (SwFlyFrmFmt*)GetFmt();
const SwFmtVertOrient &rVert = pFmt->GetVertOrient(); const SwFmtVertOrient &rVert = pFmt->GetVertOrient();
//Und ggf. noch die aktuellen Werte im Format updaten, dabei darf //Update the current values in the format if needed, during this we of
//zu diesem Zeitpunkt natuerlich kein Modify verschickt werden. //course must not send any Modify.
const bool bVert = GetAnchorFrm()->IsVertical(); const bool bVert = GetAnchorFrm()->IsVertical();
const bool bRev = GetAnchorFrm()->IsReverse(); const bool bRev = GetAnchorFrm()->IsReverse();
SwTwips nOld = rVert.GetPos(); SwTwips nOld = rVert.GetPos();
...@@ -248,7 +246,7 @@ void SwFlyInCntFrm::RegistFlys() ...@@ -248,7 +246,7 @@ void SwFlyInCntFrm::RegistFlys()
{ {
// vgl. SwRowFrm::RegistFlys() // vgl. SwRowFrm::RegistFlys()
SwPageFrm *pPage = FindPageFrm(); SwPageFrm *pPage = FindPageFrm();
OSL_ENSURE( pPage, "Flys ohne Seite anmelden?" ); OSL_ENSURE( pPage, "Register Flys without pages?" );
::RegistFlys( pPage, this ); ::RegistFlys( pPage, this );
} }
...@@ -268,9 +266,9 @@ void SwFlyInCntFrm::MakeAll() ...@@ -268,9 +266,9 @@ void SwFlyInCntFrm::MakeAll()
if ( !GetAnchorFrm() || IsLocked() || IsColLocked() || !FindPageFrm() ) if ( !GetAnchorFrm() || IsLocked() || IsColLocked() || !FindPageFrm() )
return; return;
Lock(); //Der Vorhang faellt Lock(); // The curtain falls
//uebernimmt im DTor die Benachrichtigung //does the notification in the DTor
const SwFlyNotify aNotify( this ); const SwFlyNotify aNotify( this );
SwBorderAttrAccess aAccess( SwFrm::GetCache(), this ); SwBorderAttrAccess aAccess( SwFrm::GetCache(), this );
const SwBorderAttrs &rAttrs = *aAccess.Get(); const SwBorderAttrs &rAttrs = *aAccess.Get();
...@@ -280,7 +278,7 @@ void SwFlyInCntFrm::MakeAll() ...@@ -280,7 +278,7 @@ void SwFlyInCntFrm::MakeAll()
while ( !bValidPos || !bValidSize || !bValidPrtArea ) while ( !bValidPos || !bValidSize || !bValidPrtArea )
{ {
//Nur einstellen wenn das Flag gesetzt ist!! //Only stop, if the flag is set!!
if ( !bValidSize ) if ( !bValidSize )
{ {
bValidPrtArea = sal_False; bValidPrtArea = sal_False;
......
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