diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-29 20:38:16 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-29 20:38:16 +0000 |
commit | 59cdc7dc88310bd8cdf2ace60e0f567561d38dbb (patch) | |
tree | 298be106e7d44cb418e8ee7592428fc3d94b7796 /xfa/fxfa/parser/cxfa_barcode.h | |
parent | 32d5de5948ff8a54b24d79e1f032857874b6053f (diff) | |
download | pdfium-59cdc7dc88310bd8cdf2ace60e0f567561d38dbb.tar.xz |
Move barcode code to CXFA_Barcode
This CL moves the barcode specific code out of CXFA_Node and into
CXFA_Barcode. The CXFA_FFBarcode widget was modified to take the barcode
as a parameter.
Change-Id: I8ff91cb58402665f4ba63f2eeced45feeaa9ff50
Reviewed-on: https://pdfium-review.googlesource.com/24450
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_barcode.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_barcode.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_barcode.h b/xfa/fxfa/parser/cxfa_barcode.h index 056196f3ac..0899740424 100644 --- a/xfa/fxfa/parser/cxfa_barcode.h +++ b/xfa/fxfa/parser/cxfa_barcode.h @@ -15,6 +15,20 @@ class CXFA_Barcode : public CXFA_Node { ~CXFA_Barcode() override; XFA_FFWidgetType GetDefaultFFWidgetType() const override; + + WideString GetBarcodeType(); + Optional<BC_CHAR_ENCODING> GetCharEncoding(); + Optional<bool> GetChecksum(); + Optional<int32_t> GetDataLength(); + Optional<char> GetStartChar(); + Optional<char> GetEndChar(); + Optional<int32_t> GetECLevel(); + Optional<int32_t> GetModuleWidth(); + Optional<int32_t> GetModuleHeight(); + Optional<bool> GetPrintChecksum(); + Optional<BC_TEXT_LOC> GetTextLocation(); + Optional<bool> GetTruncate(); + Optional<int8_t> GetWideNarrowRatio(); }; #endif // XFA_FXFA_PARSER_CXFA_BARCODE_H_ |