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

Side by Side Diff: xfa/src/fwl/basewidget/fxmath_barcodeimp.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
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_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_
8 #define XFA_SRC_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_
9
10 #include "xfa/include/fwl/basewidget/fxmath_barcode.h"
11
12 class CFX_Barcode : public IFX_Barcode {
13 public:
14 CFX_Barcode();
15 ~CFX_Barcode();
16 FX_BOOL Crreate(BC_TYPE type);
17 virtual void Release();
18 virtual BC_TYPE GetType();
19 virtual FX_BOOL Encode(const CFX_WideStringC& contents,
20 FX_BOOL isDevice,
21 int32_t& e);
22 virtual FX_BOOL RenderDevice(CFX_RenderDevice* device,
23 const CFX_Matrix* matirx,
24 int32_t& e);
25 virtual FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e);
26 virtual CFX_WideString Decode(uint8_t* buf,
27 int32_t width,
28 int32_t height,
29 int32_t& errorCode);
30 virtual CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& errorCode);
31 virtual FX_BOOL SetCharEncoding(BC_CHAR_ENCODING encoding);
32 virtual FX_BOOL SetModuleHeight(int32_t moduleHeight);
33 virtual FX_BOOL SetModuleWidth(int32_t moduleWidth);
34 virtual FX_BOOL SetHeight(int32_t height);
35 virtual FX_BOOL SetWidth(int32_t width);
36 virtual FX_BOOL CheckContentValidity(const CFX_WideStringC& contents);
37 virtual FX_BOOL SetPrintChecksum(FX_BOOL checksum);
38 virtual FX_BOOL SetDataLength(int32_t length);
39 virtual FX_BOOL SetCalChecksum(int32_t state);
40 virtual FX_BOOL SetFont(CFX_Font* pFont);
41 virtual FX_BOOL SetFontSize(FX_FLOAT size);
42 virtual FX_BOOL SetFontStyle(int32_t style);
43 virtual FX_BOOL SetFontColor(FX_ARGB color);
44 virtual FX_BOOL SetTextLocation(BC_TEXT_LOC location);
45 virtual FX_BOOL SetWideNarrowRatio(int32_t ratio);
46 virtual FX_BOOL SetStartChar(FX_CHAR start);
47 virtual FX_BOOL SetEndChar(FX_CHAR end);
48 virtual FX_BOOL SetVersion(int32_t version);
49 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level);
50 virtual FX_BOOL SetTruncated(FX_BOOL truncated);
51
52 protected:
53 CBC_CodeBase* m_pBCEngine;
54 };
55
56 #endif // XFA_SRC_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_
OLDNEW
« no previous file with comments | « xfa/src/fwl/basewidget/fwl_tooltipctrlimp.cpp ('k') | xfa/src/fwl/basewidget/fxmath_barcodeimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698