From 59cdc7dc88310bd8cdf2ace60e0f567561d38dbb Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 29 Jan 2018 20:38:16 +0000 Subject: 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 Reviewed-by: Ryan Harrison --- xfa/fxfa/parser/cxfa_barcode.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'xfa/fxfa/parser/cxfa_barcode.h') 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 GetCharEncoding(); + Optional GetChecksum(); + Optional GetDataLength(); + Optional GetStartChar(); + Optional GetEndChar(); + Optional GetECLevel(); + Optional GetModuleWidth(); + Optional GetModuleHeight(); + Optional GetPrintChecksum(); + Optional GetTextLocation(); + Optional GetTruncate(); + Optional GetWideNarrowRatio(); }; #endif // XFA_FXFA_PARSER_CXFA_BARCODE_H_ -- cgit v1.2.3