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

Side by Side Diff: xfa/src/fxfa/app/xfa_ffbarcode.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/src/fxfa/app/xfa_ffapp.cpp ('k') | xfa/src/fxfa/app/xfa_ffbarcode.cpp » ('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_SRC_FXFA_APP_XFA_FFBARCODE_H_
8 #define XFA_SRC_FXFA_APP_XFA_FFBARCODE_H_
9
10 #include "xfa/include/fxbarcode/BC_BarCode.h"
11 #include "xfa/src/fxfa/app/xfa_ffpageview.h"
12 #include "xfa/src/fxfa/app/xfa_fftextedit.h"
13
14 class CXFA_FFBarcode : public CXFA_FFTextEdit {
15 public:
16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
17 virtual ~CXFA_FFBarcode();
18 virtual FX_BOOL LoadWidget();
19 virtual void RenderWidget(CFX_Graphics* pGS,
20 CFX_Matrix* pMatrix = NULL,
21 FX_DWORD dwStatus = 0,
22 int32_t iRotate = 0);
23 virtual void UpdateWidgetProperty();
24 virtual FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
25 virtual FX_BOOL OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
26 };
27
28 enum XFA_BARCODETYPEENUM {
29 XFA_BARCODETYPE_aztec,
30 XFA_BARCODETYPE_codabar,
31 XFA_BARCODETYPE_code11,
32 XFA_BARCODETYPE_code128,
33 XFA_BARCODETYPE_code128A,
34 XFA_BARCODETYPE_code128B,
35 XFA_BARCODETYPE_code128C,
36 XFA_BARCODETYPE_code128SSCC,
37 XFA_BARCODETYPE_code2Of5Industrial,
38 XFA_BARCODETYPE_code2Of5Interleaved,
39 XFA_BARCODETYPE_code2Of5Matrix,
40 XFA_BARCODETYPE_code2Of5Standard,
41 XFA_BARCODETYPE_code3Of9,
42 XFA_BARCODETYPE_code3Of9extended,
43 XFA_BARCODETYPE_code49,
44 XFA_BARCODETYPE_code93,
45 XFA_BARCODETYPE_dataMatrix,
46 XFA_BARCODETYPE_ean13,
47 XFA_BARCODETYPE_ean13add2,
48 XFA_BARCODETYPE_ean13add5,
49 XFA_BARCODETYPE_ean13pwcd,
50 XFA_BARCODETYPE_ean8,
51 XFA_BARCODETYPE_ean8add2,
52 XFA_BARCODETYPE_ean8add5,
53 XFA_BARCODETYPE_fim,
54 XFA_BARCODETYPE_logmars,
55 XFA_BARCODETYPE_maxicode,
56 XFA_BARCODETYPE_msi,
57 XFA_BARCODETYPE_pdf417,
58 XFA_BARCODETYPE_pdf417macro,
59 XFA_BARCODETYPE_plessey,
60 XFA_BARCODETYPE_postAUSCust2,
61 XFA_BARCODETYPE_postAUSCust3,
62 XFA_BARCODETYPE_postAUSReplyPaid,
63 XFA_BARCODETYPE_postAUSStandard,
64 XFA_BARCODETYPE_postUKRM4SCC,
65 XFA_BARCODETYPE_postUS5Zip,
66 XFA_BARCODETYPE_postUSDPBC,
67 XFA_BARCODETYPE_postUSIMB,
68 XFA_BARCODETYPE_postUSStandard,
69 XFA_BARCODETYPE_QRCode,
70 XFA_BARCODETYPE_rfid,
71 XFA_BARCODETYPE_rss14,
72 XFA_BARCODETYPE_rss14Expanded,
73 XFA_BARCODETYPE_rss14Limited,
74 XFA_BARCODETYPE_rss14Stacked,
75 XFA_BARCODETYPE_rss14StackedOmni,
76 XFA_BARCODETYPE_rss14Truncated,
77 XFA_BARCODETYPE_telepen,
78 XFA_BARCODETYPE_ucc128,
79 XFA_BARCODETYPE_ucc128random,
80 XFA_BARCODETYPE_ucc128sscc,
81 XFA_BARCODETYPE_upcA,
82 XFA_BARCODETYPE_upcAadd2,
83 XFA_BARCODETYPE_upcAadd5,
84 XFA_BARCODETYPE_upcApwcd,
85 XFA_BARCODETYPE_upcE,
86 XFA_BARCODETYPE_upcEadd2,
87 XFA_BARCODETYPE_upcEadd5,
88 XFA_BARCODETYPE_upcean2,
89 XFA_BARCODETYPE_upcean5,
90 XFA_BARCODETYPE_upsMaxicode
91 };
92 struct XFA_BARCODETYPEENUMINFO {
93 uint32_t uHash;
94 const FX_WCHAR* pName;
95 XFA_BARCODETYPEENUM eName;
96 BC_TYPE eBCType;
97 };
98 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO;
99 extern const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[];
100
101 #endif // XFA_SRC_FXFA_APP_XFA_FFBARCODE_H_
OLDNEW
« no previous file with comments | « xfa/src/fxfa/app/xfa_ffapp.cpp ('k') | xfa/src/fxfa/app/xfa_ffbarcode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698