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
Show 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 @@
...
@@ -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
();
//U
nd ggf. noch die aktuellen Werte im Format updaten, dabei dar
f
//U
pdate the current values in the format if needed, during this we o
f
//
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 is
t!!
//
Only stop, if the flag is se
t!!
if
(
!
bValidSize
)
if
(
!
bValidSize
)
{
{
bValidPrtArea
=
sal_False
;
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