22#include <rtl/textenc.h>
42namespace editeng {
class SvxBorderLine; }
45struct ColumnBlockPosition;
86 const Size& rSize,
bool bIn,
const Size& rSpace ) :
96#define SC_HTML_FONTSIZES 7
141 const Graphic&, std::string_view rImgOptions,
142 XOutFlags nXOutFlags = XOutFlags::NONE );
161 bool& bInsertSemicolon);
165 sal_uInt16
ToPixel( sal_uInt16 nTwips );
std::vector< ScHTMLGraphEntry > GraphEntryList
bool bCopyLocalFileToINet
void WriteGraphEntry(ScHTMLGraphEntry *)
const char * GetIndentStr() const
std::unique_ptr< std::map< OUString, OUString > > FileNameMapPtr
void FillGraphList(const SdrPage *, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
void WriteCell(sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow, SCTAB nTab)
static const char * pFontSizeCss[SC_HTML_FONTSIZES]
static const char * GetFontSizeCss(sal_uInt16 nHeight)
VclPtr< OutputDevice > pAppWin
virtual ~ScHTMLExport() override
FileNameMapPtr pFileNameMap
static const sal_uInt16 nDefaultFontSize[SC_HTML_FONTSIZES]
OUString aNonConvertibleChars
static sal_uInt16 nFontSize[SC_HTML_FONTSIZES]
char sIndent[nIndentMax+1]
Size MMToPixel(const Size &r100thMMSize)
static sal_uInt16 GetFontSizeNumber(sal_uInt16 nHeight)
GraphEntryList aGraphList
void IncIndent(short nVal)
bool WriteFieldText(const EditTextObject *pData)
const OUString & GetNonConvertibleChars() const
const SfxItemSet & PageDefaults(SCTAB nTab)
sal_uInt16 ToPixel(sal_uInt16 nTwips)
static OString BorderToStyle(const char *pBorderName, const editeng::SvxBorderLine *pLine, bool &bInsertSemicolon)
void PrepareGraphics(ScDrawLayer *, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
void WriteImage(OUString &rLinkName, const Graphic &, std::string_view rImgOptions, XOutFlags nXOutFlags=XOutFlags::NONE)
static const sal_uInt16 nCellSpacing
void CopyLocalFileToINet(OUString &rFileNm, std::u16string_view rTargetNm)
bool mbSkipHeaderFooter
If HTML header and footer should be written as well, or just the content itself.
static const char sIndentSource[]
ScHTMLExport(SvStream &, OUString, ScDocument *, const ScRange &, bool bAll, OUString aStreamPath, std::u16string_view aFilterOptions)
#define SC_HTML_FONTSIZES
CAUTION! The following defines must be in the same namespace as the respective type.
ScHTMLGraphEntry(SdrObject *pObj, const ScRange &rRange, const Size &rSize, bool bIn, const Size &rSpace)
SvtScriptType nDefaultScriptType
const ScHTMLStyle & operator=(const ScHTMLStyle &rScHTMLStyle)
sal_uInt16 nFontSizeNumber
Store position data for column array storage.