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