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

Side by Side Diff: xfa/include/fwl/basewidget/fwl_barcode.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/include/fwl/adapter/fwl_sdadapterimp.h ('k') | xfa/include/fwl/basewidget/fwl_checkbox.h » ('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 _FWL_BARCODE_H 7 #ifndef _FWL_BARCODE_H
8 #define _FWL_BARCODE_H 8 #define _FWL_BARCODE_H
9 #include "fwl_edit.h" 9 #include "fwl_edit.h"
10 class CFWL_WidgetImpProperties; 10 class CFWL_WidgetImpProperties;
(...skipping 16 matching lines...) Expand all
27 #define FWL_BCDATTRIBUTE_ECLEVEL (1L << 11) 27 #define FWL_BCDATTRIBUTE_ECLEVEL (1L << 11)
28 #define FWL_BCDATTRIBUTE_TRUNCATED (1L << 12) 28 #define FWL_BCDATTRIBUTE_TRUNCATED (1L << 12)
29 #define FWL_PART_BCD_Border 1 29 #define FWL_PART_BCD_Border 1
30 #define FWL_PART_BCD_Edge 2 30 #define FWL_PART_BCD_Edge 2
31 #define FWL_PART_BCD_Background 3 31 #define FWL_PART_BCD_Background 3
32 #define FWL_BCUPDATECMD_Data FWL_WGTUPDATECMD_User 32 #define FWL_BCUPDATECMD_Data FWL_WGTUPDATECMD_User
33 class IFWL_BarcodeDP : public IFWL_EditDP 33 class IFWL_BarcodeDP : public IFWL_EditDP
34 { 34 {
35 public: 35 public:
36 virtual BC_CHAR_ENCODING GetCharEncoding() = 0; 36 virtual BC_CHAR_ENCODING GetCharEncoding() = 0;
37 virtual FX_INT32» » » GetModuleHeight() = 0; 37 virtual int32_t» » » GetModuleHeight() = 0;
38 virtual FX_INT32» » » GetModuleWidth() = 0; 38 virtual int32_t» » » GetModuleWidth() = 0;
39 virtual FX_INT32» » » GetDataLength() = 0; 39 virtual int32_t» » » GetDataLength() = 0;
40 virtual FX_INT32» » » GetCalChecksum() = 0; 40 virtual int32_t» » » GetCalChecksum() = 0;
41 virtual FX_BOOL GetPrintChecksum() = 0; 41 virtual FX_BOOL GetPrintChecksum() = 0;
42 virtual BC_TEXT_LOC GetTextLocation() = 0; 42 virtual BC_TEXT_LOC GetTextLocation() = 0;
43 virtual FX_INT32» » » GetWideNarrowRatio() = 0; 43 virtual int32_t» » » GetWideNarrowRatio() = 0;
44 virtual FX_CHAR GetStartChar() = 0; 44 virtual FX_CHAR GetStartChar() = 0;
45 virtual FX_CHAR GetEndChar() = 0; 45 virtual FX_CHAR GetEndChar() = 0;
46 virtual FX_INT32» » » GetVersion() = 0; 46 virtual int32_t» » » GetVersion() = 0;
47 virtual FX_INT32» » » GetErrorCorrectionLevel() = 0; 47 virtual int32_t» » » GetErrorCorrectionLevel() = 0;
48 virtual FX_BOOL GetTruncated() = 0; 48 virtual FX_BOOL GetTruncated() = 0;
49 virtual FX_DWORD GetBarcodeAttributeMask() = 0; 49 virtual FX_DWORD GetBarcodeAttributeMask() = 0;
50 }; 50 };
51 class IFWL_Barcode : public IFWL_Edit 51 class IFWL_Barcode : public IFWL_Edit
52 { 52 {
53 public: 53 public:
54 static IFWL_Barcode* Create(); 54 static IFWL_Barcode* Create();
55 FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); 55 FWL_ERR Initialize(IFWL_Widget *pOuter = NULL);
56 FWL_ERR Initialize(const CFWL_WidgetImpProperties &properties, I FWL_Widget *pOuter = NULL); 56 FWL_ERR Initialize(const CFWL_WidgetImpProperties &properties, I FWL_Widget *pOuter = NULL);
57 void SetType(BC_TYPE type); 57 void SetType(BC_TYPE type);
58 FX_BOOL IsProtectedType(); 58 FX_BOOL IsProtectedType();
59 protected: 59 protected:
60 IFWL_Barcode(); 60 IFWL_Barcode();
61 virtual ~IFWL_Barcode(); 61 virtual ~IFWL_Barcode();
62 }; 62 };
63 #endif 63 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/adapter/fwl_sdadapterimp.h ('k') | xfa/include/fwl/basewidget/fwl_checkbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698