| Index: core/include/fpdftext/fpdf_text.h
|
| diff --git a/core/include/fpdftext/fpdf_text.h b/core/include/fpdftext/fpdf_text.h
|
| index 1b3ac0da002224d26cf9ce83323633caf20de015..a7fc6bdfbbeee38234a1525cb89f21f3c85b2f2a 100644
|
| --- a/core/include/fpdftext/fpdf_text.h
|
| +++ b/core/include/fpdftext/fpdf_text.h
|
| @@ -42,7 +42,8 @@ CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc,
|
| #define CHAR_NORMAL 0
|
| #define CHAR_GENERATED 1
|
| #define CHAR_UNUNICODE 2
|
| -typedef struct {
|
| +
|
| +struct FPDF_CHAR_INFO {
|
| FX_WCHAR m_Unicode;
|
| FX_WCHAR m_Charcode;
|
| int32_t m_Flag;
|
| @@ -52,7 +53,8 @@ typedef struct {
|
| CFX_FloatRect m_CharBox;
|
| CPDF_TextObject* m_pTextObj;
|
| CFX_Matrix m_Matrix;
|
| -} FPDF_CHAR_INFO;
|
| +};
|
| +
|
| typedef CFX_ArrayTemplate<CFX_FloatRect> CFX_RectArray;
|
| #define FPDFTEXT_LRTB 0
|
| #define FPDFTEXT_RLTB 1
|
| @@ -92,7 +94,7 @@ class IPDF_TextPage {
|
|
|
| virtual int CountChars() const = 0;
|
|
|
| - virtual void GetCharInfo(int index, FPDF_CHAR_INFO& info) const = 0;
|
| + virtual void GetCharInfo(int index, FPDF_CHAR_INFO* info) const = 0;
|
|
|
| virtual void GetRectArray(int start,
|
| int nCount,
|
|
|