summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-21 09:08:24 -0400
committerDan Sinclair <dsinclair@chromium.org>2016-03-21 09:08:24 -0400
commitedbb319d3143692befdbb0603089b7e265cf89aa (patch)
treefc4a40304e45d51b127bde004dff40041dbdb799 /fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
parent645f78b2fc4e6235374ef17cd83a94e26868b486 (diff)
downloadpdfium-edbb319d3143692befdbb0603089b7e265cf89aa.tar.xz
Move fpdfsdk/include/formfiller to fpdfsdk/formfiller.
This CL moves the .h files and renames the .cpp files to match. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1809193002 .
Diffstat (limited to 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h')
-rw-r--r--fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h b/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
deleted file mode 100644
index c3e2e99646..0000000000
--- a/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_
-#define FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_
-
-#include "fpdfsdk/include/pdfwindow/PWL_FontMap.h"
-
-class CPDF_Dictionary;
-class CPDFSDK_Annot;
-
-class CBA_FontMap : public CPWL_FontMap {
- public:
- CBA_FontMap(CPDFSDK_Annot* pAnnot, IFX_SystemHandler* pSystemHandler);
- ~CBA_FontMap() override;
-
- void SetDefaultFont(CPDF_Font* pFont, const CFX_ByteString& sFontName);
-
- void Reset();
- void SetAPType(const CFX_ByteString& sAPType);
-
- private:
- // CPWL_FontMap:
- void Initialize() override;
- CPDF_Document* GetDocument() override;
- CPDF_Font* FindFontSameCharset(CFX_ByteString& sFontAlias,
- int32_t nCharset) override;
- void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias) override;
-
- CPDF_Font* FindResFontSameCharset(CPDF_Dictionary* pResDict,
- CFX_ByteString& sFontAlias,
- int32_t nCharset);
- CPDF_Font* GetAnnotDefaultFont(CFX_ByteString& csNameTag);
- void AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias);
-
- CPDF_Document* m_pDocument;
- CPDF_Dictionary* m_pAnnotDict;
- CPDF_Font* m_pDefaultFont;
- CFX_ByteString m_sDefaultFontName;
- CFX_ByteString m_sAPType;
-};
-
-#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_