| Index: core/include/fpdfapi/fpdf_parser.h
|
| diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
|
| index ab48a95255a3ce6736bb15670f01a4f54cb9b8c1..03ae4cf5706117a6647f14adb1db7b9e84b3aa3b 100644
|
| --- a/core/include/fpdfapi/fpdf_parser.h
|
| +++ b/core/include/fpdfapi/fpdf_parser.h
|
| @@ -51,6 +51,9 @@ class CFX_PrivateData;
|
| // 'R' - otherwise.
|
| extern const char PDF_CharType[256];
|
|
|
| +// Indexed by 8-bit char code, contains unicode code points.
|
| +extern const FX_WORD PDFDocEncoding[256];
|
| +
|
| class CPDF_Document : public CFX_PrivateData, public CPDF_IndirectObjects {
|
| public:
|
| CPDF_Document();
|
| @@ -921,4 +924,14 @@ enum PDF_DATAAVAIL_STATUS {
|
| PDF_DATAAVAIL_TRAILER_APPEND
|
| };
|
|
|
| +FX_BOOL PDF_DataDecode(const uint8_t* src_buf,
|
| + FX_DWORD src_size,
|
| + const CPDF_Dictionary* pDict,
|
| + uint8_t*& dest_buf,
|
| + FX_DWORD& dest_size,
|
| + CFX_ByteString& ImageEncoding,
|
| + CPDF_Dictionary*& pImageParms,
|
| + FX_DWORD estimated_size,
|
| + FX_BOOL bImageAcc);
|
| +
|
| #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_
|
|
|