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

Side by Side Diff: xfa/fwl/basewidget/ifwl_barcode.h

Issue 1903993003: Remove unused FWL flags (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fee/ifde_txtedtengine.h ('k') | xfa/fwl/basewidget/ifwl_edit.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 XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_
9 9
10 #include "xfa/fxbarcode/include/BC_Library.h" 10 #include "xfa/fxbarcode/include/BC_Library.h"
11 #include "xfa/fwl/basewidget/ifwl_edit.h" 11 #include "xfa/fwl/basewidget/ifwl_edit.h"
12 12
13 class CFWL_WidgetImpProperties; 13 class CFWL_WidgetImpProperties;
14 14
15 #define FWL_CLASS_Barcode L"FWL_BARCODE" 15 #define FWL_CLASS_Barcode L"FWL_BARCODE"
16 #define FWL_CLASSHASH_Barcode 366886968 16 #define FWL_CLASSHASH_Barcode 366886968
17 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0) 17 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0)
18 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1) 18 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1)
19 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2) 19 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2)
20 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3) 20 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3)
21 #define FWL_BCDATTRIBUTE_CALCHECKSUM (1L << 4) 21 #define FWL_BCDATTRIBUTE_CALCHECKSUM (1L << 4)
22 #define FWL_BCDATTRIBUTE_PRINTCHECKSUM (1L << 5) 22 #define FWL_BCDATTRIBUTE_PRINTCHECKSUM (1L << 5)
23 #define FWL_BCDATTRIBUTE_TEXTLOCATION (1L << 6) 23 #define FWL_BCDATTRIBUTE_TEXTLOCATION (1L << 6)
24 #define FWL_BCDATTRIBUTE_WIDENARROWRATIO (1L << 7) 24 #define FWL_BCDATTRIBUTE_WIDENARROWRATIO (1L << 7)
25 #define FWL_BCDATTRIBUTE_STARTCHAR (1L << 8) 25 #define FWL_BCDATTRIBUTE_STARTCHAR (1L << 8)
26 #define FWL_BCDATTRIBUTE_ENDCHAR (1L << 9) 26 #define FWL_BCDATTRIBUTE_ENDCHAR (1L << 9)
27 #define FWL_BCDATTRIBUTE_VERSION (1L << 10) 27 #define FWL_BCDATTRIBUTE_VERSION (1L << 10)
28 #define FWL_BCDATTRIBUTE_ECLEVEL (1L << 11) 28 #define FWL_BCDATTRIBUTE_ECLEVEL (1L << 11)
29 #define FWL_BCDATTRIBUTE_TRUNCATED (1L << 12) 29 #define FWL_BCDATTRIBUTE_TRUNCATED (1L << 12)
30 #define FWL_BCUPDATECMD_Data FWL_WGTUPDATECMD_User
31 30
32 class IFWL_BarcodeDP : public IFWL_EditDP { 31 class IFWL_BarcodeDP : public IFWL_EditDP {
33 public: 32 public:
34 virtual BC_CHAR_ENCODING GetCharEncoding() = 0; 33 virtual BC_CHAR_ENCODING GetCharEncoding() = 0;
35 virtual int32_t GetModuleHeight() = 0; 34 virtual int32_t GetModuleHeight() = 0;
36 virtual int32_t GetModuleWidth() = 0; 35 virtual int32_t GetModuleWidth() = 0;
37 virtual int32_t GetDataLength() = 0; 36 virtual int32_t GetDataLength() = 0;
38 virtual int32_t GetCalChecksum() = 0; 37 virtual int32_t GetCalChecksum() = 0;
39 virtual FX_BOOL GetPrintChecksum() = 0; 38 virtual FX_BOOL GetPrintChecksum() = 0;
40 virtual BC_TEXT_LOC GetTextLocation() = 0; 39 virtual BC_TEXT_LOC GetTextLocation() = 0;
(...skipping 10 matching lines...) Expand all
51 public: 50 public:
52 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); 51 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties);
53 void SetType(BC_TYPE type); 52 void SetType(BC_TYPE type);
54 FX_BOOL IsProtectedType(); 53 FX_BOOL IsProtectedType();
55 54
56 protected: 55 protected:
57 IFWL_Barcode(); 56 IFWL_Barcode();
58 }; 57 };
59 58
60 #endif // XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ 59 #endif // XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_
OLDNEW
« no previous file with comments | « xfa/fee/ifde_txtedtengine.h ('k') | xfa/fwl/basewidget/ifwl_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698