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
5f230bce
Kaydet (Commit)
5f230bce
authored
Nis 05, 2014
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: SetupFilterOptions for any Writer derived filter (html, ascii)
Change-Id: I6f0147ea640a7ad767e2c0112b5e18dcb530fa7c
üst
66800ce1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
shellio.hxx
sw/inc/shellio.hxx
+2
-0
writer.cxx
sw/source/filter/writer/writer.cxx
+7
-3
No files found.
sw/inc/shellio.hxx
Dosyayı görüntüle @
5f230bce
...
@@ -421,6 +421,8 @@ public:
...
@@ -421,6 +421,8 @@ public:
virtual
sal_uLong
Write
(
SwPaM
&
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
,
const
OUString
*
=
0
,
SfxMedium
*
=
0
);
virtual
sal_uLong
Write
(
SwPaM
&
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
,
const
OUString
*
=
0
,
SfxMedium
*
=
0
);
virtual
sal_uLong
Write
(
SwPaM
&
,
SotStorage
&
,
const
OUString
*
=
0
);
virtual
sal_uLong
Write
(
SwPaM
&
,
SotStorage
&
,
const
OUString
*
=
0
);
virtual
void
SetupFilterOptions
(
SfxMedium
&
rMedium
);
virtual
void
SetVersion
(
const
OUString
&
,
long
);
virtual
void
SetVersion
(
const
OUString
&
,
long
);
virtual
sal_Bool
IsStgWriter
()
const
;
virtual
sal_Bool
IsStgWriter
()
const
;
...
...
sw/source/filter/writer/writer.cxx
Dosyayı görüntüle @
5f230bce
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include <numrule.hxx>
#include <numrule.hxx>
#include <swerror.h>
#include <swerror.h>
using
namespace
::
com
::
sun
::
star
;
using
namespace
css
;
namespace
namespace
{
{
...
@@ -267,11 +267,15 @@ sal_uLong Writer::Write( SwPaM& rPaM, SvStream& rStrm, const OUString* pFName )
...
@@ -267,11 +267,15 @@ sal_uLong Writer::Write( SwPaM& rPaM, SvStream& rStrm, const OUString* pFName )
return
nRet
;
return
nRet
;
}
}
sal_uLong
Writer
::
Write
(
SwPaM
&
rPam
,
SfxMedium
&
rMed
,
const
OUString
*
pFileName
)
void
Writer
::
SetupFilterOptions
(
SfxMedium
&
/*rMedium*/
)
{}
sal_uLong
Writer
::
Write
(
SwPaM
&
rPam
,
SfxMedium
&
rMedium
,
const
OUString
*
pFileName
)
{
{
SetupFilterOptions
(
rMedium
);
// This method must be overloaded in SwXMLWriter a storage from medium will be used there.
// This method must be overloaded in SwXMLWriter a storage from medium will be used there.
// The microsoft format can write to storage but the storage will be based on the stream.
// The microsoft format can write to storage but the storage will be based on the stream.
return
Write
(
rPam
,
*
rMed
.
GetOutStream
(),
pFileName
);
return
Write
(
rPam
,
*
rMed
ium
.
GetOutStream
(),
pFileName
);
}
}
sal_uLong
Writer
::
Write
(
SwPaM
&
/*rPam*/
,
SvStorage
&
,
const
OUString
*
)
sal_uLong
Writer
::
Write
(
SwPaM
&
/*rPam*/
,
SvStorage
&
,
const
OUString
*
)
...
...
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