Chromium Code Reviews| Index: core/include/fpdfapi/fpdf_parser.h |
| diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h |
| index 03ae4cf5706117a6647f14adb1db7b9e84b3aa3b..2cb77155c4b74085136ca08fe20f58f08521bb8f 100644 |
| --- a/core/include/fpdfapi/fpdf_parser.h |
| +++ b/core/include/fpdfapi/fpdf_parser.h |
| @@ -10,30 +10,32 @@ |
| #include "../fxcrt/fx_system.h" |
| #include "fpdf_objects.h" |
| -class CPDF_Document; |
| -class CPDF_Parser; |
| -class CPDF_SecurityHandler; |
| -class CPDF_StandardSecurityHandler; |
| -class CPDF_CryptoHandler; |
| -class CPDF_Object; |
| -class IFX_FileRead; |
| class CFDF_Document; |
| class CFDF_Parser; |
| -class CFX_Font; |
| class CFX_AffineMatrix; |
| +class CFX_DIBSource; |
| class CFX_FloatRect; |
| -class CPDF_Point; |
| +class CFX_Font; |
| +class CFX_PrivateData; |
| +class CPDF_ColorSpace; |
| +class CPDF_CryptoHandler; |
| class CPDF_DocPageData; |
| class CPDF_DocRenderData; |
| -class CPDF_ModuleMgr; |
| -class CFX_DIBSource; |
| +class CPDF_Document; |
| class CPDF_Font; |
| -class CPDF_Image; |
| -class CPDF_ColorSpace; |
| -class CPDF_Pattern; |
| class CPDF_FontEncoding; |
| +class CPDF_HintTables; |
| class CPDF_IccProfile; |
| -class CFX_PrivateData; |
| +class CPDF_Image; |
| +class CPDF_ModuleMgr; |
| +class CPDF_Object; |
| +class CPDF_Parser; |
| +class CPDF_Pattern; |
| +class CPDF_Point; |
| +class CPDF_SecurityHandler; |
| +class CPDF_StandardSecurityHandler; |
| +class IFX_FileRead; |
| + |
| #define FPDFPERM_PRINT 0x0004 |
| #define FPDFPERM_MODIFY 0x0008 |
| #define FPDFPERM_EXTRACT 0x0010 |
| @@ -842,9 +844,9 @@ class IFX_DownloadHints { |
| virtual ~IFX_DownloadHints() {} |
| virtual void AddSegment(FX_FILESIZE offset, FX_DWORD size) = 0; |
| }; |
| -#define PDF_IS_LINEARIZED 1 |
| -#define PDF_NOT_LINEARIZED 0 |
| -#define PDF_UNKNOW_LINEARIZED -1 |
| +#define PDF_FILE_UNKNOW -1 |
|
Tom Sepez
2015/09/24 18:24:40
nit: Still misspelled. UNKNOWN
how about
PDF_LIN
jun_fang
2015/09/28 08:17:23
Acknowledged.
|
| +#define PDF_FILE_NOTLINEARIZED 0 |
| +#define PDF_FILE_LINEARIZED 1 |
| #define PDFFORM_NOTAVAIL 0 |
| #define PDFFORM_AVAIL 1 |
| #define PDFFORM_NOTEXIST 2 |
| @@ -904,6 +906,7 @@ enum PDF_DATAAVAIL_STATUS { |
| PDF_DATAAVAIL_HEADER = 0, |
| PDF_DATAAVAIL_FIRSTPAGE, |
| PDF_DATAAVAIL_FIRSTPAGE_PREPARE, |
| + PDF_DATAAVAIL_HINTTABLE, |
| PDF_DATAAVAIL_END, |
| PDF_DATAAVAIL_CROSSREF, |
| PDF_DATAAVAIL_CROSSREF_ITEM, |