LibreOffice Module sc (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <scitems.hxx>
#include <editeng/eeitem.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/justifyitem.hxx>
#include <svx/xoutbmp.hxx>
#include <editeng/editeng.hxx>
#include <svtools/htmlcfg.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/frmhtmlw.hxx>
#include <sfx2/objsh.hxx>
#include <svl/urihelper.hxx>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/parhtml.hxx>
#include <vcl/outdev.hxx>
#include <stdio.h>
#include <osl/diagnose.h>
#include <o3tl/unit_conversion.hxx>
#include <htmlexp.hxx>
#include <global.hxx>
#include <postit.hxx>
#include <document.hxx>
#include <attrib.hxx>
#include <patattr.hxx>
#include <stlpool.hxx>
#include <scresid.hxx>
#include <formulacell.hxx>
#include <cellform.hxx>
#include <docoptio.hxx>
#include <editutil.hxx>
#include <ftools.hxx>
#include <cellvalue.hxx>
#include <conditio.hxx>
#include <colorscale.hxx>
#include <mtvelements.hxx>
#include <editeng/flditem.hxx>
#include <editeng/borderline.hxx>
#include <strings.hrc>
#include <globstr.hrc>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <rtl/strbuf.hxx>
#include <officecfg/Office/Common.hxx>
Go to the source code of this file.
Macros | |
#define | TAG_ON(tag) HTMLOutFuncs::Out_AsciiTag( rStrm, tag ) |
#define | TAG_OFF(tag) HTMLOutFuncs::Out_AsciiTag( rStrm, tag, false ) |
#define | OUT_STR(str) HTMLOutFuncs::Out_String( rStrm, str, &aNonConvertibleChars ) |
#define | OUT_LF() rStrm.WriteOString( SAL_NEWLINE_STRING ).WriteOString( GetIndentStr() ) |
#define | TAG_ON_LF(tag) (TAG_ON( tag ).WriteOString( SAL_NEWLINE_STRING ).WriteOString( GetIndentStr() )) |
#define | TAG_OFF_LF(tag) (TAG_OFF( tag ).WriteOString( SAL_NEWLINE_STRING ).WriteOString( GetIndentStr() )) |
#define | OUT_HR() TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_horzrule ) |
#define | OUT_COMMENT(comment) |
#define | OUT_SP_CSTR_ASS(s) rStrm.WriteChar(' ').WriteOString( s ).WriteChar( '=' ) |
#define | GLOBSTR(id) ScResId( id ) |
Functions | |
static OString | lcl_getColGroupString (sal_Int32 nSpan, sal_Int32 nWidth) |
static void | lcl_AddStamp (OUString &rStr, std::u16string_view rName, const css::util::DateTime &rDateTime, const LocaleDataWrapper &rLoc) |
static OString | lcl_makeHTMLColorTriplet (const Color &rColor) |
Variables | |
const char | sMyBegComment [] = "<!-- " |
const char | sMyEndComment [] = " -->" |
const char | sDisplay [] = "display:" |
const char | sBorder [] = "border:" |
const char | sBackground [] = "background:" |
#define GLOBSTR | ( | id | ) | ScResId( id ) |
Definition at line 131 of file htmlexp.cxx.
#define OUT_COMMENT | ( | comment | ) |
Definition at line 125 of file htmlexp.cxx.
#define OUT_HR | ( | ) | TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_horzrule ) |
Definition at line 124 of file htmlexp.cxx.
#define OUT_LF | ( | ) | rStrm.WriteOString( SAL_NEWLINE_STRING ).WriteOString( GetIndentStr() ) |
Definition at line 121 of file htmlexp.cxx.
#define OUT_SP_CSTR_ASS | ( | s | ) | rStrm.WriteChar(' ').WriteOString( s ).WriteChar( '=' ) |
Definition at line 129 of file htmlexp.cxx.
#define OUT_STR | ( | str | ) | HTMLOutFuncs::Out_String( rStrm, str, &aNonConvertibleChars ) |
Definition at line 120 of file htmlexp.cxx.
#define TAG_OFF | ( | tag | ) | HTMLOutFuncs::Out_AsciiTag( rStrm, tag, false ) |
Definition at line 119 of file htmlexp.cxx.
#define TAG_OFF_LF | ( | tag | ) | (TAG_OFF( tag ).WriteOString( SAL_NEWLINE_STRING ).WriteOString( GetIndentStr() )) |
Definition at line 123 of file htmlexp.cxx.
#define TAG_ON | ( | tag | ) | HTMLOutFuncs::Out_AsciiTag( rStrm, tag ) |
Definition at line 118 of file htmlexp.cxx.
#define TAG_ON_LF | ( | tag | ) | (TAG_ON( tag ).WriteOString( SAL_NEWLINE_STRING ).WriteOString( GetIndentStr() )) |
Definition at line 122 of file htmlexp.cxx.
|
static |
Definition at line 160 of file htmlexp.cxx.
References LocaleDataWrapper::getDate(), LocaleDataWrapper::getTime(), and GLOBSTR.
Referenced by ScHTMLExport::WriteHeader().
|
static |
Definition at line 142 of file htmlexp.cxx.
References OOO_STRING_SVTOOLS_HTML_colgroup, OOO_STRING_SVTOOLS_HTML_O_span, and OOO_STRING_SVTOOLS_HTML_O_width.
Referenced by ScHTMLExport::WriteTables().
|
static |
Definition at line 189 of file htmlexp.cxx.
References Color::GetBlue(), Color::GetGreen(), and Color::GetRed().
Referenced by ScHTMLExport::WriteCell().
const char sBackground[] = "background:" |
Definition at line 97 of file htmlexp.cxx.
Referenced by ScHTMLExport::WriteHeader().
const char sBorder[] = "border:" |
Definition at line 96 of file htmlexp.cxx.
Referenced by ScHTMLExport::WriteHeader().
const char sDisplay[] = "display:" |
Definition at line 95 of file htmlexp.cxx.
Referenced by ScHTMLExport::WriteHeader().
const char sMyBegComment[] = "<!-- " |
Definition at line 93 of file htmlexp.cxx.
const char sMyEndComment[] = " -->" |
Definition at line 94 of file htmlexp.cxx.