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

Side by Side Diff: xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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
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_ONEDCODE128WRITER_H_ 7 #ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
9 9
10 class CBC_OneDimWriter; 10 class CBC_OneDimWriter;
(...skipping 21 matching lines...) Expand all
32 FX_BOOL SetTextLocation(BC_TEXT_LOC location); 32 FX_BOOL SetTextLocation(BC_TEXT_LOC location);
33 BC_TYPE GetType(); 33 BC_TYPE GetType();
34 34
35 private: 35 private:
36 FX_BOOL IsDigits(const CFX_ByteString& contents, 36 FX_BOOL IsDigits(const CFX_ByteString& contents,
37 int32_t start, 37 int32_t start,
38 int32_t length); 38 int32_t length);
39 int32_t Encode128B(const CFX_ByteString& contents, CFX_PtrArray& patterns); 39 int32_t Encode128B(const CFX_ByteString& contents, CFX_PtrArray& patterns);
40 int32_t Encode128C(const CFX_ByteString& contents, CFX_PtrArray& patterns); 40 int32_t Encode128C(const CFX_ByteString& contents, CFX_PtrArray& patterns);
41 BC_TYPE m_codeFormat; 41 BC_TYPE m_codeFormat;
42 const static int32_t CODE_START_B; 42 static const int32_t CODE_START_B;
43 const static int32_t CODE_START_C; 43 static const int32_t CODE_START_C;
44 const static int32_t CODE_CODE_B; 44 static const int32_t CODE_CODE_B;
45 const static int32_t CODE_CODE_C; 45 static const int32_t CODE_CODE_C;
46 const static int32_t CODE_STOP; 46 static const int32_t CODE_STOP;
47 }; 47 };
48 48
49 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ 49 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp ('k') | xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698