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

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

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (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/include/fwl/adapter/fwl_sdadapterimp.h ('k') | xfa/include/fwl/basewidget/fwl_caret.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_
8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_
9
10 #include "xfa/fxbarcode/include/BC_Library.h"
11 #include "xfa/include/fwl/basewidget/fwl_edit.h"
12
13 class CFWL_WidgetImpProperties;
14
15 #define FWL_CLASS_Barcode L"FWL_BARCODE"
16 #define FWL_CLASSHASH_Barcode 366886968
17 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0)
18 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1)
19 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2)
20 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3)
21 #define FWL_BCDATTRIBUTE_CALCHECKSUM (1L << 4)
22 #define FWL_BCDATTRIBUTE_PRINTCHECKSUM (1L << 5)
23 #define FWL_BCDATTRIBUTE_TEXTLOCATION (1L << 6)
24 #define FWL_BCDATTRIBUTE_WIDENARROWRATIO (1L << 7)
25 #define FWL_BCDATTRIBUTE_STARTCHAR (1L << 8)
26 #define FWL_BCDATTRIBUTE_ENDCHAR (1L << 9)
27 #define FWL_BCDATTRIBUTE_VERSION (1L << 10)
28 #define FWL_BCDATTRIBUTE_ECLEVEL (1L << 11)
29 #define FWL_BCDATTRIBUTE_TRUNCATED (1L << 12)
30 #define FWL_PART_BCD_Border 1
31 #define FWL_PART_BCD_Edge 2
32 #define FWL_PART_BCD_Background 3
33 #define FWL_BCUPDATECMD_Data FWL_WGTUPDATECMD_User
34
35 class IFWL_BarcodeDP : public IFWL_EditDP {
36 public:
37 virtual BC_CHAR_ENCODING GetCharEncoding() = 0;
38 virtual int32_t GetModuleHeight() = 0;
39 virtual int32_t GetModuleWidth() = 0;
40 virtual int32_t GetDataLength() = 0;
41 virtual int32_t GetCalChecksum() = 0;
42 virtual FX_BOOL GetPrintChecksum() = 0;
43 virtual BC_TEXT_LOC GetTextLocation() = 0;
44 virtual int32_t GetWideNarrowRatio() = 0;
45 virtual FX_CHAR GetStartChar() = 0;
46 virtual FX_CHAR GetEndChar() = 0;
47 virtual int32_t GetVersion() = 0;
48 virtual int32_t GetErrorCorrectionLevel() = 0;
49 virtual FX_BOOL GetTruncated() = 0;
50 virtual FX_DWORD GetBarcodeAttributeMask() = 0;
51 };
52
53 class IFWL_Barcode : public IFWL_Edit {
54 public:
55 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties);
56 void SetType(BC_TYPE type);
57 FX_BOOL IsProtectedType();
58
59 protected:
60 IFWL_Barcode();
61 };
62
63 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/adapter/fwl_sdadapterimp.h ('k') | xfa/include/fwl/basewidget/fwl_caret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698