summaryrefslogtreecommitdiff
path: root/core/src/fpdftext/text_int.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-12 10:29:21 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-12 10:29:21 -0800
commit5a5f1f1c905f2c352d2fbde143456124dd2c0fbf (patch)
tree60e59c107a9edbc314636c1ca05094bae4f32204 /core/src/fpdftext/text_int.h
parent6b90e983a9e3e7aee0c637a7b0c3c51f0dfc1faf (diff)
downloadpdfium-5a5f1f1c905f2c352d2fbde143456124dd2c0fbf.tar.xz
Make fx_bidi sane.
Replace array of heterogenous ints with array of struct. Create a class for traversing a string. Flip array when R2L and process with forward iterator always. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1682983002 .
Diffstat (limited to 'core/src/fpdftext/text_int.h')
-rw-r--r--core/src/fpdftext/text_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdftext/text_int.h b/core/src/fpdftext/text_int.h
index 93c22736ef..9131cdb321 100644
--- a/core/src/fpdftext/text_int.h
+++ b/core/src/fpdftext/text_int.h
@@ -121,8 +121,8 @@ class CPDF_TextPage : public IPDF_TextPage {
void ProcessMarkedContent(PDFTEXT_Obj pObj);
void CheckMarkedContentObject(int32_t& start, int32_t& nCount) const;
void FindPreviousTextObject(void);
- void AddCharInfoByLRDirection(CFX_WideString& str, int i);
- void AddCharInfoByRLDirection(CFX_WideString& str, int i);
+ void AddCharInfoByLRDirection(FX_WCHAR wChar, PAGECHAR_INFO info);
+ void AddCharInfoByRLDirection(FX_WCHAR wChar, PAGECHAR_INFO info);
int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj);
int32_t FindTextlineFlowDirection();