Loading...
Searching...
No Matches
WebFontDownloader.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5// !Warning! This file is autogenerated, modify the .codegen file, not this one
6// (any changes here will be wiped out during the autogen process)
7
8#ifndef PDFTRON_H_CPPPDFWebFontDownloader
9#define PDFTRON_H_CPPPDFWebFontDownloader
10#include <C/PDF/TRN_WebFontDownloader.h>
11#include <Common/BasicTypes.h>
12#include <Common/UString.h>
13#include <PDF/PDFDoc.h>
14
15 namespace pdftron { namespace PDF {
16 class PDFDoc;
17
22 class WebFontDownloader
23{
24 public:
25
26 //methods:
27
33 static bool IsAvailable();
34
39 static void EnableDownloads();
40
45 static void DisableDownloads();
46
51 static void PreCacheAsync();
52
57 static void ClearCache();
58
64 static void SetCustomWebFontURL(UString url);
65
66};
67
68#include <Impl/WebFontDownloader.inl>
69} //end pdftron
70} //end PDF
71
72
73#endif //PDFTRON_H_CPPPDFWebFontDownloader
BasicTypes.h
PDFDoc.h
UString.h
pdftron::PDF::PDFDoc
Definition PDFDoc.h:72
pdftron::PDF::WebFontDownloader
Definition WebFontDownloader.h:23
pdftron::PDF::WebFontDownloader::SetCustomWebFontURL
static void SetCustomWebFontURL(UString url)
pdftron::PDF::WebFontDownloader::IsAvailable
static bool IsAvailable()
pdftron::PDF::WebFontDownloader::EnableDownloads
static void EnableDownloads()
pdftron::PDF::WebFontDownloader::PreCacheAsync
static void PreCacheAsync()
pdftron::PDF::WebFontDownloader::DisableDownloads
static void DisableDownloads()
pdftron::PDF::WebFontDownloader::ClearCache
static void ClearCache()
pdftron::UString
Definition UString.h:28
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10