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
94186a4c
Kaydet (Commit)
94186a4c
authored
Eki 20, 2010
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RTF: fix order of entries in the revtbl
üst
ff871457
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
rtfexport.cxx
sw/source/filter/ww8/rtfexport.cxx
+16
-2
rtfexport.hxx
sw/source/filter/ww8/rtfexport.hxx
+1
-0
No files found.
sw/source/filter/ww8/rtfexport.cxx
Dosyayı görüntüle @
94186a4c
...
...
@@ -283,8 +283,14 @@ void RtfExport::WriteRevTab()
// Now write the table
Strm
()
<<
'{'
<<
OOO_STRING_SVTOOLS_RTF_IGNORE
<<
OOO_STRING_SVTOOLS_RTF_REVTBL
<<
' '
;
for
(
std
::
map
<
String
,
USHORT
>::
iterator
aIter
=
m_aRedlineTbl
.
begin
();
aIter
!=
m_aRedlineTbl
.
end
();
++
aIter
)
Strm
()
<<
'{'
<<
OutString
((
*
aIter
).
first
,
eDefaultEncoding
)
<<
";}"
;
for
(
USHORT
i
=
0
;
i
<
m_aRedlineTbl
.
size
();
++
i
)
{
const
String
*
pAuthor
=
GetRedline
(
i
);
Strm
()
<<
'{'
;
if
(
pAuthor
)
Strm
()
<<
OutString
(
*
pAuthor
,
eDefaultEncoding
);
Strm
()
<<
";}"
;
}
Strm
()
<<
'}'
<<
sNewLine
;
}
...
...
@@ -1116,6 +1122,14 @@ USHORT RtfExport::GetRedline( const String& rAuthor )
}
}
const
String
*
RtfExport
::
GetRedline
(
USHORT
nId
)
{
for
(
std
::
map
<
String
,
USHORT
>::
iterator
aIter
=
m_aRedlineTbl
.
begin
();
aIter
!=
m_aRedlineTbl
.
end
();
++
aIter
)
if
((
*
aIter
).
second
==
nId
)
return
&
(
*
aIter
).
first
;
return
NULL
;
}
void
RtfExport
::
OutPageDescription
(
const
SwPageDesc
&
rPgDsc
,
BOOL
bWriteReset
,
BOOL
bCheckForFirstPage
)
{
OSL_TRACE
(
"%s start"
,
OSL_THIS_FUNC
);
...
...
sw/source/filter/ww8/rtfexport.hxx
Dosyayı görüntüle @
94186a4c
...
...
@@ -182,6 +182,7 @@ public:
void
InsColorLine
(
const
SvxBoxItem
&
rBox
);
void
OutColorTable
();
USHORT
GetRedline
(
const
String
&
rAuthor
);
const
String
*
GetRedline
(
USHORT
nId
);
void
InsStyle
(
USHORT
nId
,
const
rtl
::
OString
&
rStyle
);
rtl
::
OString
*
GetStyle
(
USHORT
nId
);
...
...
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