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
e7df7c09
Kaydet (Commit)
e7df7c09
authored
Nis 15, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RTF import: handle \objclass
Change-Id: I771c83d0ed8a06a2eeec57a40a80092b537d9b84
üst
3617548b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
rtfcontrolwords.hxx
writerfilter/source/rtftok/rtfcontrolwords.hxx
+1
-0
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+10
-0
No files found.
writerfilter/source/rtftok/rtfcontrolwords.hxx
Dosyayı görüntüle @
e7df7c09
...
@@ -74,6 +74,7 @@ enum class Destination
...
@@ -74,6 +74,7 @@ enum class Destination
COMMENT
,
COMMENT
,
OBJECT
,
OBJECT
,
OBJDATA
,
OBJDATA
,
OBJCLASS
,
RESULT
,
RESULT
,
ANNOTATIONDATE
,
ANNOTATIONDATE
,
ANNOTATIONAUTHOR
,
ANNOTATIONAUTHOR
,
...
...
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
e7df7c09
...
@@ -1245,6 +1245,7 @@ void RTFDocumentImpl::text(OUString& rString)
...
@@ -1245,6 +1245,7 @@ void RTFDocumentImpl::text(OUString& rString)
case
Destination
:
:
COMPANY
:
case
Destination
:
:
COMPANY
:
case
Destination
:
:
COMMENT
:
case
Destination
:
:
COMMENT
:
case
Destination
:
:
OBJDATA
:
case
Destination
:
:
OBJDATA
:
case
Destination
:
:
OBJCLASS
:
case
Destination
:
:
ANNOTATIONDATE
:
case
Destination
:
:
ANNOTATIONDATE
:
case
Destination
:
:
ANNOTATIONAUTHOR
:
case
Destination
:
:
ANNOTATIONAUTHOR
:
case
Destination
:
:
ANNOTATIONREFERENCE
:
case
Destination
:
:
ANNOTATIONREFERENCE
:
...
@@ -1868,6 +1869,9 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
...
@@ -1868,6 +1869,9 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
m_aStates
.
top
().
eDestination
=
Destination
::
OBJDATA
;
m_aStates
.
top
().
eDestination
=
Destination
::
OBJDATA
;
}
}
break
;
break
;
case
RTF_OBJCLASS
:
m_aStates
.
top
().
eDestination
=
Destination
::
OBJCLASS
;
break
;
case
RTF_RESULT
:
case
RTF_RESULT
:
m_aStates
.
top
().
eDestination
=
Destination
::
RESULT
;
m_aStates
.
top
().
eDestination
=
Destination
::
RESULT
;
break
;
break
;
...
@@ -5394,6 +5398,12 @@ RTFError RTFDocumentImpl::popState()
...
@@ -5394,6 +5398,12 @@ RTFError RTFDocumentImpl::popState()
m_aOLEAttributes
.
set
(
NS_ooxml
::
LN_inputstream
,
pStreamValue
);
m_aOLEAttributes
.
set
(
NS_ooxml
::
LN_inputstream
,
pStreamValue
);
}
}
break
;
break
;
case
Destination
:
:
OBJCLASS
:
{
auto
pValue
=
std
::
make_shared
<
RTFValue
>
(
m_aStates
.
top
().
pDestinationText
->
makeStringAndClear
());
m_aOLEAttributes
.
set
(
NS_ooxml
::
LN_CT_OLEObject_ProgID
,
pValue
);
break
;
}
case
Destination
:
:
OBJECT
:
case
Destination
:
:
OBJECT
:
{
{
if
(
!
m_bObject
)
if
(
!
m_bObject
)
...
...
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