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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months 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_OnedCode39Reader.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCode39Writer.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_SRC_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_
8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ 8 #define XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_
9 9
10 enum BC_TEXT_LOC; 10 enum BC_TEXT_LOC;
11 class CBC_OneDimWriter; 11 class CBC_OneDimWriter;
12 class CBC_OnedCode39Writer : public CBC_OneDimWriter { 12 class CBC_OnedCode39Writer : public CBC_OneDimWriter {
13 public: 13 public:
14 CBC_OnedCode39Writer(); 14 CBC_OnedCode39Writer();
15 CBC_OnedCode39Writer(FX_BOOL extendedMode); 15 CBC_OnedCode39Writer(FX_BOOL extendedMode);
16 virtual ~CBC_OnedCode39Writer(); 16 virtual ~CBC_OnedCode39Writer();
17 uint8_t* Encode(const CFX_ByteString& contents, 17 uint8_t* Encode(const CFX_ByteString& contents,
18 BCFORMAT format, 18 BCFORMAT format,
(...skipping 24 matching lines...) Expand all
43 FX_BOOL SetTextLocation(BC_TEXT_LOC loction); 43 FX_BOOL SetTextLocation(BC_TEXT_LOC loction);
44 FX_BOOL SetWideNarrowRatio(int32_t ratio); 44 FX_BOOL SetWideNarrowRatio(int32_t ratio);
45 45
46 private: 46 private:
47 void ToIntArray(int32_t a, int32_t* toReturn); 47 void ToIntArray(int32_t a, int32_t* toReturn);
48 FX_CHAR CalcCheckSum(const CFX_ByteString& contents, int32_t& e); 48 FX_CHAR CalcCheckSum(const CFX_ByteString& contents, int32_t& e);
49 int32_t m_iWideNarrRatio; 49 int32_t m_iWideNarrRatio;
50 FX_BOOL m_extendedMode; 50 FX_BOOL m_extendedMode;
51 }; 51 };
52 52
53 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ 53 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698