summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-19 14:13:36 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-19 14:13:36 -0700
commit5417f067844892644486d7b0581c247904059a88 (patch)
tree34597c3bf0363c807c2cd9226cb7d7537ea60470 /core/include
parent7da980351d6fc428fd95be3015081d911f4470c0 (diff)
downloadpdfium-5417f067844892644486d7b0581c247904059a88.tar.xz
Merge to XFA: Extern in .cpp file is a code smell, part 2.
(cherry picked from commit c3f4894a6862c74b9ab32b4ec38c531de6ecd83c) Original Review URL: https://codereview.chromium.org/1298393003 . Fixed IWYU in core/src/fpdftext/text_int.h exposed by new inclusion. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1294933008 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h13
-rw-r--r--core/include/fpdfapi/fpdf_render.h2
-rw-r--r--core/include/fxge/fx_font.h2
3 files changed, 17 insertions, 0 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index ab48a95255..03ae4cf570 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_
diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h
index b0302cdc11..58883a01f1 100644
--- a/core/include/fpdfapi/fpdf_render.h
+++ b/core/include/fpdfapi/fpdf_render.h
@@ -294,4 +294,6 @@ class CPDF_RenderConfig {
int m_RenderStepLimit;
};
+FX_BOOL IsAvailableMatrix(const CFX_AffineMatrix& matrix);
+
#endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h
index 30de472a7e..2d19db614f 100644
--- a/core/include/fxge/fx_font.h
+++ b/core/include/fxge/fx_font.h
@@ -517,4 +517,6 @@ class IFX_GSUBTable {
virtual ~IFX_GSUBTable() {}
};
+CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name);
+
#endif // CORE_INCLUDE_FXGE_FX_FONT_H_