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
cc144e55
Kaydet (Commit)
cc144e55
authored
Tem 31, 2007
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS swqbf102 (1.21.112); FILE MERGED
2007/07/23 13:54:53 ama 1.21.112.1: FIx #i76959#: Table in tbale
üst
9dd45f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
30 deletions
+5
-30
htmltab.cxx
sw/source/filter/html/htmltab.cxx
+5
-30
No files found.
sw/source/filter/html/htmltab.cxx
Dosyayı görüntüle @
cc144e55
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: htmltab.cxx,v $
*
* $Revision: 1.2
1
$
* $Revision: 1.2
2
$
*
* last change: $Author:
kz $ $Date: 2007-05-10 16:05:57
$
* last change: $Author:
hr $ $Date: 2007-07-31 17:43:14
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -3637,18 +3637,8 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions,
sal_Bool
bParentLFStripped
=
sal_False
;
if
(
bTopTable
)
{
// Sind wir in einer Tabelle in der Tabelle?
const
SwNode
*
pNd
=
pDoc
->
GetNodes
()[
pPam
->
GetPoint
()
->
nNode
];
const
SwTableNode
*
pTblNd
=
pNd
->
FindTableNode
();
SvxAdjust
eTblAdjust
=
pTable
->
GetTableAdjust
(
sal_False
);
// Wenn das Table-Tag in einem Rahmen stand, den es nicht
// mehr gibt, muessen wir die Tabelle in einen Rahmen
// stecken.
if
(
pCurTable
->
IsMakeTopSubTable
()
&&
pTblNd
!=
0
)
pCurTable
->
SetHasToFly
();
// Wenn die Tabelle links oder rechts ausgerivchtet ist,
// oder in einen Rahmen soll, dann kommt sie auch in einen
// solchen.
...
...
@@ -3656,12 +3646,6 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions,
eTblAdjust
==
SVX_ADJUST_RIGHT
||
pCurTable
->
HasToFly
();
// Da Tabelle in Tabelle nicht geht, muss die Tabelle
// entweder in einen Rahmen, oder sie steht in einem
// Rahmen sie steht in keiner anderen Tabelle.
ASSERT
(
bForceFrame
||
!
pTblNd
,
"Tabelle in der Tabelle geht nur mit oder in Rahmen"
);
// Entweder kommt die Tabelle in keinen Rahmen und befindet
// sich in keinem Rahmen (wird also durch Zellen simuliert),
// oder es gibt bereits Inhalt an der entsprechenden Stelle.
...
...
@@ -4222,8 +4206,8 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions,
InsertTableSection
(
pSaveStruct
->
IsHeaderCell
()
?
RES_POOLCOLL_TABLE_HDLN
:
RES_POOLCOLL_TABLE
);
SwCntntNode
*
pCNd
=
pDoc
->
GetNodes
()[
p
StNd
->
GetIndex
()
+
1
]
->
GetCntntNode
();
const
SwEndNode
*
pEndNd
=
pStNd
->
EndOfSectionNode
();
SwCntntNode
*
pCNd
=
pDoc
->
GetNodes
()[
p
EndNd
->
GetIndex
()
-
1
]
->
GetCntntNode
();
SvxFontHeightItem
aFontHeight
(
40
,
100
,
RES_CHRATR_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeight
);
aFontHeight
.
SetWhich
(
RES_CHRATR_CJK_FONTSIZE
);
...
...
@@ -5331,22 +5315,13 @@ HTMLTable *SwHTMLParser::BuildTable( SvxAdjust eParentAdjust,
}
else
{
pTable
=
0
;
HTMLTableOptions
*
pTblOptions
=
new
HTMLTableOptions
(
GetOptions
(),
eParentAdjust
);
if
(
pTblOptions
->
aId
.
Len
()
)
InsertBookmark
(
pTblOptions
->
aId
);
// Wenn die Tabelle in einem Rahmen steht oder link oder rechts
// ausgerichtet ist, wird in jedem Fall eine "echte" Tabelle daraus.
if
(
bMakeTopSubTable
||
bHasToFly
||
(
pTblOptions
->
bTableAdjust
&&
(
SVX_ADJUST_LEFT
==
pTblOptions
->
eAdjust
||
SVX_ADJUST_RIGHT
==
pTblOptions
->
eAdjust
))
)
{
pTable
=
0
;
}
HTMLTable
*
pCurTable
=
new
HTMLTable
(
this
,
pTable
,
bIsParentHead
,
bHasParentSection
,
...
...
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