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
4b0dd950
Kaydet (Commit)
4b0dd950
authored
Ara 28, 2011
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#35099 fix RTF export of date field
üst
f10fc421
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
rtfattributeoutput.cxx
sw/source/filter/ww8/rtfattributeoutput.cxx
+15
-8
No files found.
sw/source/filter/ww8/rtfattributeoutput.cxx
Dosyayı görüntüle @
4b0dd950
...
...
@@ -1398,14 +1398,19 @@ void RtfAttributeOutput::WriteField_Impl( const SwField* pFld, ww::eField /*eTyp
{
OSL_TRACE
(
"%s"
,
OSL_THIS_FUNC
);
// NEEDSWORK this has beeen tested only with page numbers
m_aRunText
.
append
(
"{"
OOO_STRING_SVTOOLS_RTF_FIELD
);
m_aRunText
.
append
(
"{"
OOO_STRING_SVTOOLS_RTF_IGNORE
OOO_STRING_SVTOOLS_RTF_FLDINST
" "
);
m_aRunText
.
append
(
m_rExport
.
OutString
(
rFldCmd
,
m_rExport
.
eCurrentEncoding
));
m_aRunText
.
append
(
"}{"
OOO_STRING_SVTOOLS_RTF_FLDRSLT
" "
);
// If there are no field instructions, don't export it as a field.
bool
bHasInstructions
=
rFldCmd
.
Len
()
>
0
;
if
(
bHasInstructions
)
{
m_aRunText
.
append
(
"{"
OOO_STRING_SVTOOLS_RTF_FIELD
);
m_aRunText
.
append
(
"{"
OOO_STRING_SVTOOLS_RTF_IGNORE
OOO_STRING_SVTOOLS_RTF_FLDINST
" "
);
m_aRunText
.
append
(
m_rExport
.
OutString
(
rFldCmd
,
m_rExport
.
eCurrentEncoding
));
m_aRunText
.
append
(
"}{"
OOO_STRING_SVTOOLS_RTF_FLDRSLT
" "
);
}
if
(
pFld
)
m_aRunText
.
append
(
m_rExport
.
OutString
(
pFld
->
ExpandField
(
true
),
m_rExport
.
eDefaultEncoding
));
m_aRunText
.
append
(
"}}"
);
if
(
bHasInstructions
)
m_aRunText
.
append
(
"}}"
);
}
void
RtfAttributeOutput
::
WriteBookmarks_Impl
(
std
::
vector
<
rtl
::
OUString
>&
rStarts
,
std
::
vector
<
rtl
::
OUString
>&
rEnds
)
...
...
@@ -2933,9 +2938,11 @@ void RtfAttributeOutput::FormatFrameDirection( const SvxFrameDirectionItem& rDir
}
}
void
RtfAttributeOutput
::
WriteExpand
(
const
SwField
*
/*pFld*/
)
void
RtfAttributeOutput
::
WriteExpand
(
const
SwField
*
pFld
)
{
OSL_TRACE
(
"TODO: %s"
,
OSL_THIS_FUNC
);
OSL_TRACE
(
"%s"
,
OSL_THIS_FUNC
);
String
sCmd
;
m_rExport
.
OutputField
(
pFld
,
ww
::
eUNKNOWN
,
sCmd
);
}
void
RtfAttributeOutput
::
RefField
(
const
SwField
&
/*rFld*/
,
const
String
&
/*rRef*/
)
...
...
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