10#ifndef INCLUDED_VCL_EMBEDDEDFONTSHELPER_HXX
11#define INCLUDED_VCL_EMBEDDEDFONTSHELPER_HXX
15#include <rtl/ustring.hxx>
41 static void activateFont(
const OUString& fontName,
const OUString& fileUrl );
54 static OUString fontFileUrl(
67 bool addEmbeddedFont(
const css::uno::Reference< css::io::XInputStream >& stream,
68 const OUString& fontName, std::u16string_view extra,
69 std::vector< unsigned char >
const & key,
bool eot =
false);
79 static OUString fileUrlForTemporaryFont(
const OUString& fontName, std::u16string_view extra );
94 static bool sufficientTTFRights(
const void* data,
tools::Long size, FontRights rights );
100 static void clearTemporaryFontFiles();
Helper functions for handling embedded fonts in documents.
std::vector< std::pair< OUString, OUString > > m_aAccumulatedFonts
~EmbeddedFontsHelper() COVERITY_NOEXCEPT_FALSE
FontRights
Specification of what kind of operation is allowed when embedding a font.