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
15namespace pdftron { namespace PDF {
16class PDFDoc;
17
23{
24public:
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
static void SetCustomWebFontURL(UString url)