Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: core/fpdfdoc/include/ipdf_variabletext_provider.h

Issue 1840413002: Split core/include/fpdfdoc/fpdf_ap.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfdoc/doc_vt.cpp ('k') | core/fpdfdoc/ipdf_variabletext_provider.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FPDFDOC_INCLUDE_IPDF_VARIABLETEXT_PROVIDER_H_
8 #define CORE_FPDFDOC_INCLUDE_IPDF_VARIABLETEXT_PROVIDER_H_
9
10 #include "core/fxcrt/include/fx_system.h"
11
12 class IPDF_VariableText_Provider {
13 public:
14 virtual ~IPDF_VariableText_Provider();
15
16 virtual int32_t GetCharWidth(int32_t nFontIndex,
17 uint16_t word,
18 int32_t nWordStyle) = 0;
19 virtual int32_t GetTypeAscent(int32_t nFontIndex) = 0;
20 virtual int32_t GetTypeDescent(int32_t nFontIndex) = 0;
21 virtual int32_t GetWordFontIndex(uint16_t word,
22 int32_t charset,
23 int32_t nFontIndex) = 0;
24 virtual int32_t GetDefaultFontIndex() = 0;
25 virtual FX_BOOL IsLatinWord(uint16_t word) = 0;
26 };
27
28 #endif // CORE_FPDFDOC_INCLUDE_IPDF_VARIABLETEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_vt.cpp ('k') | core/fpdfdoc/ipdf_variabletext_provider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698