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
0a8d597c
Kaydet (Commit)
0a8d597c
authored
Ock 12, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: translate some german comments
Change-Id: If189a60ae48a64cde109e52903c9a4b8b9fde85a
üst
ad582ce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
23 deletions
+17
-23
ww8par6.cxx
sw/source/filter/ww8/ww8par6.cxx
+17
-23
No files found.
sw/source/filter/ww8/ww8par6.cxx
Dosyayı görüntüle @
0a8d597c
...
@@ -2329,13 +2329,11 @@ bool SwWW8ImplReader::StartApo(const ApoTestResults &rApo,
...
@@ -2329,13 +2329,11 @@ bool SwWW8ImplReader::StartApo(const ApoTestResults &rApo,
if
(
!
pWFlyPara
->
bGrafApo
)
if
(
!
pWFlyPara
->
bGrafApo
)
{
{
// Innerhalb des GrafApo muessen Textattribute ignoriert werden, da
// Within the GrafApo text attributes have to be ignored, because
// sie sonst auf den folgenden Zeilen landen. Der Rahmen wird nur
// they would apply to the following lines. The frame is only inserted
// eingefuegt, wenn er *nicht* nur zum Positionieren einer einzelnen
// if it is not merely positioning a single image. If it is an image
// Grafik dient. Ist es ein Grafik-Rahmen, dann werden pWFlyPara und
// frame, pWFlyPara and pSFlyPara are retained and the resulting
// pSFlyPara behalten und die
// attributes applied to the image when inserting the image.
// daraus resultierenden Attribute beim Einfuegen der Grafik auf die
// Grafik angewendet.
WW8FlySet
aFlySet
(
*
this
,
pWFlyPara
,
pSFlyPara
,
false
);
WW8FlySet
aFlySet
(
*
this
,
pWFlyPara
,
pSFlyPara
,
false
);
...
@@ -2392,14 +2390,13 @@ bool SwWW8ImplReader::StartApo(const ApoTestResults &rApo,
...
@@ -2392,14 +2390,13 @@ bool SwWW8ImplReader::StartApo(const ApoTestResults &rApo,
if
(
pSFlyPara
->
pFlyFmt
)
if
(
pSFlyPara
->
pFlyFmt
)
MoveInsideFly
(
pSFlyPara
->
pFlyFmt
);
MoveInsideFly
(
pSFlyPara
->
pFlyFmt
);
// 1) ReadText() wird nicht wie beim W4W-Reader rekursiv aufgerufen,
// 1) ReadText() is not called recursively because the length of
// da die Laenge des Apo zu diesen Zeitpunkt noch nicht feststeht,
// the Apo is unknown at that time, and ReadText() needs it.
// ReadText() diese Angabe aber braucht.
// 2) the CtrlStck is not re-created.
// 2) Der CtrlStck wird nicht neu erzeugt.
// the Char attributes continue (trouble with Sw-attributes)
// die Char-Attribute laufen weiter ( AErger mit SW-Attributen )
// Para attributes must be reset at the end of every paragraph,
// Paraattribute muessten am Ende jeden Absatzes zurueckgesetzt
// i.e. at the end of a paragraph there must not be para attributes
// sein, d.h. es duerften am Absatzende keine Paraattribute
// on the stack
// auf dem Stack liegen
}
}
return
true
;
return
true
;
}
}
...
@@ -2413,7 +2410,7 @@ void wwSectionManager::JoinNode(const SwPosition &rPos, const SwNode &rNode)
...
@@ -2413,7 +2410,7 @@ void wwSectionManager::JoinNode(const SwPosition &rPos, const SwNode &rNode)
bool
SwWW8ImplReader
::
JoinNode
(
SwPaM
&
rPam
,
bool
bStealAttr
)
bool
SwWW8ImplReader
::
JoinNode
(
SwPaM
&
rPam
,
bool
bStealAttr
)
{
{
bool
bRet
=
false
;
bool
bRet
=
false
;
rPam
.
GetPoint
()
->
nContent
=
0
;
// an den Anfang der Zeile gehen
rPam
.
GetPoint
()
->
nContent
=
0
;
// go to start of paragraph
SwNodeIndex
aPref
(
rPam
.
GetPoint
()
->
nNode
,
-
1
);
SwNodeIndex
aPref
(
rPam
.
GetPoint
()
->
nNode
,
-
1
);
...
@@ -2439,8 +2436,7 @@ void SwWW8ImplReader::StopApo()
...
@@ -2439,8 +2436,7 @@ void SwWW8ImplReader::StopApo()
return
;
return
;
if
(
pWFlyPara
->
bGrafApo
)
if
(
pWFlyPara
->
bGrafApo
)
{
{
// Grafik-Rahmen, der *nicht* eingefuegt wurde leeren Absatz incl.
// image frame that has not been inserted: delete empty paragraph + attr
// Attributen entfernen
JoinNode
(
*
pPaM
,
true
);
JoinNode
(
*
pPaM
,
true
);
}
}
...
@@ -2541,10 +2537,8 @@ void SwWW8ImplReader::StopApo()
...
@@ -2541,10 +2537,8 @@ void SwWW8ImplReader::StopApo()
}
}
delete
pSFlyPara
->
pMainTextPos
,
pSFlyPara
->
pMainTextPos
=
0
;
delete
pSFlyPara
->
pMainTextPos
,
pSFlyPara
->
pMainTextPos
=
0
;
// To create the SwFrms when inserting into an existing document, fltshell.cxx
// Damit die Frames bei Einfuegen in existierendes Doc erzeugt werden,
// will call pFlyFrm->MakeFrms() when setting the FltAnchor attribute
// wird in fltshell.cxx beim Setzen des FltAnchor-Attributes
// pFlyFrm->MakeFrms() gerufen
}
}
...
@@ -2556,7 +2550,7 @@ void SwWW8ImplReader::StopApo()
...
@@ -2556,7 +2550,7 @@ void SwWW8ImplReader::StopApo()
DELETEZ
(
pWFlyPara
);
DELETEZ
(
pWFlyPara
);
}
}
// TestSameApo()
beantwortet die Frage, ob es dasselbe APO oder ein neues ist
// TestSameApo()
returns if it's the same Apo or a different one
bool
SwWW8ImplReader
::
TestSameApo
(
const
ApoTestResults
&
rApo
,
bool
SwWW8ImplReader
::
TestSameApo
(
const
ApoTestResults
&
rApo
,
const
WW8_TablePos
*
pTabPos
)
const
WW8_TablePos
*
pTabPos
)
{
{
...
...
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