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

Side by Side Diff: fpdfsdk/include/fxedit/fxet_edit.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 | « fpdfsdk/include/fxedit/DEPS ('k') | pdfium.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_FXEDIT_FXET_EDIT_H_ 7 #ifndef FPDFSDK_INCLUDE_FXEDIT_FXET_EDIT_H_
8 #define FPDFSDK_INCLUDE_FXEDIT_FXET_EDIT_H_ 8 #define FPDFSDK_INCLUDE_FXEDIT_FXET_EDIT_H_
9 9
10 #include "core/fpdfdoc/include/ipdf_variabletext_provider.h"
10 #include "core/include/fpdfdoc/fpdf_vt.h" 11 #include "core/include/fpdfdoc/fpdf_vt.h"
11 #include "fpdfsdk/include/fxedit/fx_edit.h" 12 #include "fpdfsdk/include/fxedit/fx_edit.h"
12 13
13 class CFX_Edit; 14 class CFX_Edit;
14 class CFX_Edit_Iterator; 15 class CFX_Edit_Iterator;
15 class CFX_Edit_Provider; 16 class CFX_Edit_Provider;
16 17
17 #define FX_EDIT_IsFloatZero(f) (f < 0.0001 && f > -0.0001) 18 #define FX_EDIT_IsFloatZero(f) (f < 0.0001 && f > -0.0001)
18 #define FX_EDIT_IsFloatEqual(fa, fb) FX_EDIT_IsFloatZero(fa - fb) 19 #define FX_EDIT_IsFloatEqual(fa, fb) FX_EDIT_IsFloatZero(fa - fb)
19 #define FX_EDIT_IsFloatBigger(fa, fb) (fa > fb && !FX_EDIT_IsFloatEqual(fa, fb)) 20 #define FX_EDIT_IsFloatBigger(fa, fb) (fa > fb && !FX_EDIT_IsFloatEqual(fa, fb))
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 int32_t charset, 808 int32_t charset,
808 int32_t nFontIndex) override; 809 int32_t nFontIndex) override;
809 int32_t GetDefaultFontIndex() override; 810 int32_t GetDefaultFontIndex() override;
810 FX_BOOL IsLatinWord(uint16_t word) override; 811 FX_BOOL IsLatinWord(uint16_t word) override;
811 812
812 private: 813 private:
813 IFX_Edit_FontMap* m_pFontMap; 814 IFX_Edit_FontMap* m_pFontMap;
814 }; 815 };
815 816
816 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_EDIT_H_ 817 #endif // FPDFSDK_INCLUDE_FXEDIT_FXET_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fxedit/DEPS ('k') | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698