Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxbarcode/oned/BC_OneDimWriter.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_
8 #define XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ 8 #define XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
(...skipping 14 matching lines...) Expand all
25 BCFORMAT format, 25 BCFORMAT format,
26 int32_t& outWidth, 26 int32_t& outWidth,
27 int32_t& outHeight, 27 int32_t& outHeight,
28 int32_t& e) override; 28 int32_t& e) override;
29 uint8_t* Encode(const CFX_ByteString& contents, 29 uint8_t* Encode(const CFX_ByteString& contents,
30 BCFORMAT format, 30 BCFORMAT format,
31 int32_t& outWidth, 31 int32_t& outWidth,
32 int32_t& outHeight, 32 int32_t& outHeight,
33 int32_t hints, 33 int32_t hints,
34 int32_t& e) override; 34 int32_t& e) override;
35 FX_BOOL CheckContentValidity(const CFX_WideStringC& contents) override; 35 bool CheckContentValidity(const CFX_WideStringC& contents) override;
36 CFX_WideString FilterContents(const CFX_WideStringC& contents) override; 36 CFX_WideString FilterContents(const CFX_WideStringC& contents) override;
37 void SetDataLength(int32_t length) override; 37 void SetDataLength(int32_t length) override;
38 38
39 virtual CFX_WideString encodedContents(const CFX_WideStringC& contents); 39 virtual CFX_WideString encodedContents(const CFX_WideStringC& contents);
40 virtual FX_BOOL SetStartChar(FX_CHAR start); 40 virtual bool SetStartChar(FX_CHAR start);
41 virtual FX_BOOL SetEndChar(FX_CHAR end); 41 virtual bool SetEndChar(FX_CHAR end);
42 virtual FX_BOOL SetTextLocation(BC_TEXT_LOC location); 42 virtual bool SetTextLocation(BC_TEXT_LOC location);
43 virtual FX_BOOL SetWideNarrowRatio(int32_t ratio); 43 virtual bool SetWideNarrowRatio(int32_t ratio);
44 virtual FX_BOOL FindChar(FX_WCHAR ch, FX_BOOL isContent); 44 virtual bool FindChar(FX_WCHAR ch, bool isContent);
45 45
46 private: 46 private:
47 void RenderResult(const CFX_WideStringC& contents, 47 void RenderResult(const CFX_WideStringC& contents,
48 uint8_t* code, 48 uint8_t* code,
49 int32_t codeLength, 49 int32_t codeLength,
50 FX_BOOL isDevice, 50 bool isDevice,
51 int32_t& e) override; 51 int32_t& e) override;
52 52
53 FX_CHAR m_chStart; 53 FX_CHAR m_chStart;
54 FX_CHAR m_chEnd; 54 FX_CHAR m_chEnd;
55 int32_t m_iWideNarrRatio; 55 int32_t m_iWideNarrRatio;
56 }; 56 };
57 57
58 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ 58 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/oned/BC_OneDimWriter.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698