Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
101ec3fb
Kaydet (Commit)
101ec3fb
authored
Şub 13, 2012
tarafından
Nicolas Christener
Kaydeden (comit)
Jan Holesovsky
Şub 27, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
translate german comments
üst
8d16d40f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
flyincnt.cxx
sw/source/core/layout/flyincnt.cxx
+12
-14
No files found.
sw/source/core/layout/flyincnt.cxx
Dosyayı görüntüle @
101ec3fb
...
...
@@ -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
();
//U
nd ggf. noch die aktuellen Werte im Format updaten, dabei dar
f
//
zu diesem Zeitpunkt natuerlich kein Modify verschickt werden
.
//U
pdate the current values in the format if needed, during this we o
f
//
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 is
t!!
//
Only stop, if the flag is se
t!!
if
(
!
bValidSize
)
{
bValidPrtArea
=
sal_False
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment