LibreOffice Module xmloff (master) 1
Classes | Functions
XMLFontAutoStylePool.cxx File Reference
#include <o3tl/sorted_vector.hxx>
#include <tools/fontenum.hxx>
#include <utility>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmluconv.hxx>
#include "fonthdl.hxx"
#include <xmloff/xmlexp.hxx>
#include <xmloff/XMLFontAutoStylePool.hxx>
#include <vcl/embeddedfontshelper.hxx>
#include <osl/file.hxx>
#include <sal/log.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/style/XStyle.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <XMLBase64Export.hxx>
#include <AutoStyleEntry.hxx>
#include <comphelper/hash.hxx>
Include dependency graph for XMLFontAutoStylePool.cxx:

Go to the source code of this file.

Classes

class  XMLFontAutoStylePool_Impl
 

Functions

static OUString getFreeFontName (uno::Reference< embed::XStorage > const &rxStorage, OUString const &rFamilyName)
 
static OString convertToHashString (std::vector< unsigned char > const &rHash)
 
static OString getFileHash (OUString const &rFileUrl)
 

Function Documentation

◆ convertToHashString()

static OString convertToHashString ( std::vector< unsigned char > const &  rHash)
static

Definition at line 568 of file XMLFontAutoStylePool.cxx.

Referenced by getFileHash().

◆ getFileHash()

static OString getFileHash ( OUString const &  rFileUrl)
static

◆ getFreeFontName()

static OUString getFreeFontName ( uno::Reference< embed::XStorage > const &  rxStorage,
OUString const &  rFamilyName 
)
static

Definition at line 553 of file XMLFontAutoStylePool.cxx.

References nIndex, and sName.

Referenced by XMLFontAutoStylePool::embedFontFile().