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
4b2ed2bd
Kaydet (Commit)
4b2ed2bd
authored
Ock 10, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RtfFilter: indentation fixes
Change-Id: I584045f8b626ff3a51e868c586581219bf4a758c
üst
29a5692b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
37 deletions
+25
-37
RtfFilter.hxx
writerfilter/source/filter/RtfFilter.hxx
+25
-37
No files found.
writerfilter/source/filter/RtfFilter.hxx
Dosyayı görüntüle @
4b2ed2bd
...
...
@@ -30,65 +30,53 @@
/// Common RTF filter, calls RtfImportFilter and RtfExportFilter via UNO.
class
RtfFilter
:
public
cppu
::
WeakImplHelper5
<
c
om
::
sun
::
star
::
document
::
XFilter
,
c
om
::
sun
::
star
::
document
::
XImporter
,
c
om
::
sun
::
star
::
document
::
XExporter
,
c
om
::
sun
::
star
::
lang
::
XInitialization
,
c
om
::
sun
::
star
::
lang
::
XServiceInfo
>
<
c
ss
::
document
::
XFilter
,
c
ss
::
document
::
XImporter
,
c
ss
::
document
::
XExporter
,
c
ss
::
lang
::
XInitialization
,
c
ss
::
lang
::
XServiceInfo
>
{
protected
:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>
m_xSrcDoc
,
m_xDstDoc
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
m_xSrcDoc
,
m_xDstDoc
;
OUString
m_sFilterName
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
m_xHandler
;
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XDocumentHandler
>
m_xHandler
;
public
:
RtfFilter
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
r
xContext
);
virtual
~
RtfFilter
();
RtfFilter
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
virtual
~
RtfFilter
();
// XFilter
virtual
sal_Bool
SAL_CALL
filter
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aDescriptor
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
cancel
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
filter
(
const
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>&
rDescriptor
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
cancel
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// XImporter
virtual
void
SAL_CALL
setTargetDocument
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>&
xDoc
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
setTargetDocument
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>&
xDoc
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// XExporter
virtual
void
SAL_CALL
setSourceDocument
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>&
xDoc
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
setSourceDocument
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>&
xDoc
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// XInitialization
virtual
void
SAL_CALL
initialize
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>&
aArguments
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
initialize
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
rArguments
)
throw
(
css
::
uno
::
Exception
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// XServiceInfo
virtual
OUString
SAL_CALL
getImplementationName
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
OUString
SAL_CALL
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
};
OUString
RtfFilter_getImplementationName
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
OUString
RtfFilter_getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
RtfFilter_getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
RtfFilter_createInstance
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
)
throw
(
css
::
uno
::
Exception
);
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
RtfFilter_getSupportedServiceNames
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
RtfFilter_createInstance
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
&
xContext
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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