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
0ca8b2c7
Kaydet (Commit)
0ca8b2c7
authored
Kas 30, 2011
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not ignore docx m:box contents (but m:box itself is not implemented)
üst
0f7fb686
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
ooxmlimport.cxx
starmath/source/ooxmlimport.cxx
+14
-0
ooxmlimport.hxx
starmath/source/ooxmlimport.hxx
+1
-0
No files found.
starmath/source/ooxmlimport.cxx
Dosyayı görüntüle @
0ca8b2c7
...
@@ -100,6 +100,9 @@ OUString SmOoxmlImport::readOMathArg()
...
@@ -100,6 +100,9 @@ OUString SmOoxmlImport::readOMathArg()
case
OPENING
(
M_TOKEN
(
bar
)):
case
OPENING
(
M_TOKEN
(
bar
)):
ret
+=
handleBar
();
ret
+=
handleBar
();
break
;
break
;
case
OPENING
(
M_TOKEN
(
box
)):
ret
+=
handleBox
();
break
;
case
OPENING
(
M_TOKEN
(
borderBox
)):
case
OPENING
(
M_TOKEN
(
borderBox
)):
ret
+=
handleBorderBox
();
ret
+=
handleBorderBox
();
break
;
break
;
...
@@ -248,6 +251,17 @@ OUString SmOoxmlImport::handleBar()
...
@@ -248,6 +251,17 @@ OUString SmOoxmlImport::handleBar()
return
STR
(
"underline { "
)
+
e
+
STR
(
" }"
);
return
STR
(
"underline { "
)
+
e
+
STR
(
" }"
);
}
}
OUString
SmOoxmlImport
::
handleBox
()
{
// there does not seem to be functionality in LO to actually implement this
// (or is there), but at least read in the contents instead of ignoring them
stream
.
ensureOpeningTag
(
M_TOKEN
(
box
));
OUString
e
=
readOMathArgInElement
(
M_TOKEN
(
e
));
stream
.
ensureClosingTag
(
M_TOKEN
(
box
));
return
e
;
}
OUString
SmOoxmlImport
::
handleBorderBox
()
OUString
SmOoxmlImport
::
handleBorderBox
()
{
{
stream
.
ensureOpeningTag
(
M_TOKEN
(
borderBox
));
stream
.
ensureOpeningTag
(
M_TOKEN
(
borderBox
));
...
...
starmath/source/ooxmlimport.hxx
Dosyayı görüntüle @
0ca8b2c7
...
@@ -46,6 +46,7 @@ private:
...
@@ -46,6 +46,7 @@ private:
rtl
::
OUString
handleStream
();
rtl
::
OUString
handleStream
();
rtl
::
OUString
handleAcc
();
rtl
::
OUString
handleAcc
();
rtl
::
OUString
handleBar
();
rtl
::
OUString
handleBar
();
rtl
::
OUString
handleBox
();
rtl
::
OUString
handleBorderBox
();
rtl
::
OUString
handleBorderBox
();
rtl
::
OUString
handleD
();
rtl
::
OUString
handleD
();
rtl
::
OUString
handleE
();
rtl
::
OUString
handleE
();
...
...
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