xref: /trunk/main/vcl/aqua/source/dtrans/HtmlFmtFlt.hxx (revision cdf0e10c)
1 #ifndef INCLUDED_HTMLFMTFLT_HXX
2 #define INCLUDED_HTMLFMTFLT_HXX
3 
4 #include <com/sun/star/uno/Sequence.hxx>
5 
6 /* Transform plain HTML into the format expected by MS Office.
7  */
8 com::sun::star::uno::Sequence<sal_Int8> TextHtmlToHTMLFormat(com::sun::star::uno::Sequence<sal_Int8>& aTextHtml);
9 
10 /* Transform the MS Office HTML format into plain HTML.
11  */
12 com::sun::star::uno::Sequence<sal_Int8> HTMLFormatToTextHtml(const com::sun::star::uno::Sequence<sal_Int8>& aHTMLFormat);
13 
14 /* Detects whether the given byte sequence contains the MS Office Html format.
15 
16    @returns True if the MS Office Html format will be detected False otherwise.
17  */
18 bool isHTMLFormat (const com::sun::star::uno::Sequence<sal_Int8>& aHtmlSequence);
19 
20 #endif
21