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
c8501773
Kaydet (Commit)
c8501773
authored
Ara 11, 2000
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#81764# Empty table row (double newline)
üst
95ea35ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
+32
-2
mathml.cxx
starmath/source/mathml.cxx
+32
-2
No files found.
starmath/source/mathml.cxx
Dosyayı görüntüle @
c8501773
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: mathml.cxx,v $
* $RCSfile: mathml.cxx,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change: $Author: cmc $ $Date: 2000-1
1-15 10:43:57
$
* last change: $Author: cmc $ $Date: 2000-1
2-11 15:43:30
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -1059,8 +1059,38 @@ public:
...
@@ -1059,8 +1059,38 @@ public:
SvXMLImportContext
*
CreateChildContext
(
sal_uInt16
nPrefix
,
SvXMLImportContext
*
CreateChildContext
(
sal_uInt16
nPrefix
,
const
OUString
&
rLocalName
,
const
OUString
&
rLocalName
,
const
uno
::
Reference
<
xml
::
sax
::
XAttributeList
>
&
xAttrList
);
const
uno
::
Reference
<
xml
::
sax
::
XAttributeList
>
&
xAttrList
);
void
EndElement
();
};
};
void
SmXMLTableRowContext_Impl
::
EndElement
()
{
SmNodeArray
aRelationArray
;
SmNodeStack
&
rNodeStack
=
GetSmImport
().
GetNodeStack
();
USHORT
nSize
=
rNodeStack
.
Count
()
-
nElementCount
;
if
(
nSize
)
{
aRelationArray
.
SetSize
(
nSize
);
for
(
USHORT
i
=
rNodeStack
.
Count
()
-
nElementCount
;
i
>
0
;
i
--
)
aRelationArray
.
Put
(
i
-
1
,
rNodeStack
.
Pop
());
}
else
//Multiple newlines result in empty row elements
{
aRelationArray
.
SetSize
(
1
);
SmToken
aToken
;
aToken
.
cMathChar
=
'\0'
;
aToken
.
nGroup
=
0
;
aToken
.
nLevel
=
5
;
aToken
.
eType
=
TNEWLINE
;
aRelationArray
.
Put
(
0
,
new
SmLineNode
(
aToken
));
}
SmToken
aDummy
;
SmStructureNode
*
pSNode
=
new
SmExpressionNode
(
aDummy
);
pSNode
->
SetSubNodes
(
aRelationArray
);
rNodeStack
.
Push
(
pSNode
);
}
class
SmXMLTableContext_Impl
:
public
SmXMLTableRowContext_Impl
class
SmXMLTableContext_Impl
:
public
SmXMLTableRowContext_Impl
{
{
public
:
public
:
...
...
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