summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_barcode.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-14 09:01:37 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-14 09:01:37 -0800
commitc64b76c97c7f469ebd4126f314badceeb8a78b8b (patch)
treeb2a77865503271247156447e30c9ab2a9db2f6f4 /xfa/fwl/core/cfwl_barcode.h
parent27e66753c8bd6e664f26d05c1a468dc68be01913 (diff)
downloadpdfium-c64b76c97c7f469ebd4126f314badceeb8a78b8b.tar.xz
Cleanup remaining IFWL files for visiblity and usage.
This CL cleans up the remaining ifwl_* files to fixup visibility, remove unused methods and remove unused FWL_Error return codes. Review-Url: https://codereview.chromium.org/2502653002
Diffstat (limited to 'xfa/fwl/core/cfwl_barcode.h')
-rw-r--r--xfa/fwl/core/cfwl_barcode.h35
1 files changed, 16 insertions, 19 deletions
diff --git a/xfa/fwl/core/cfwl_barcode.h b/xfa/fwl/core/cfwl_barcode.h
index 78e5e68c0b..30d158c2e8 100644
--- a/xfa/fwl/core/cfwl_barcode.h
+++ b/xfa/fwl/core/cfwl_barcode.h
@@ -18,24 +18,6 @@ class CFWL_Barcode : public CFWL_Edit, public IFWL_BarcodeDP {
void Initialize();
- void SetType(BC_TYPE type);
- bool IsProtectedType();
-
- void SetCharEncoding(BC_CHAR_ENCODING encoding);
- void SetModuleHeight(int32_t height);
- void SetModuleWidth(int32_t width);
- void SetDataLength(int32_t dataLength);
- void SetCalChecksum(bool calChecksum);
- void SetPrintChecksum(bool printChecksum);
- void SetTextLocation(BC_TEXT_LOC location);
- void SetWideNarrowRatio(int32_t ratio);
- void SetStartChar(FX_CHAR startChar);
- void SetEndChar(FX_CHAR endChar);
- void SetVersion(int32_t version);
- void SetErrorCorrectionLevel(int32_t ecLevel);
- void SetTruncated(bool truncated);
- void ResetBarcodeAttributes();
-
// IFWL_DataProvider
void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override;
@@ -55,6 +37,22 @@ class CFWL_Barcode : public CFWL_Edit, public IFWL_BarcodeDP {
bool GetTruncated() const override;
uint32_t GetBarcodeAttributeMask() const override;
+ void SetType(BC_TYPE type);
+ bool IsProtectedType();
+
+ void SetCharEncoding(BC_CHAR_ENCODING encoding);
+ void SetModuleHeight(int32_t height);
+ void SetModuleWidth(int32_t width);
+ void SetDataLength(int32_t dataLength);
+ void SetCalChecksum(bool calChecksum);
+ void SetPrintChecksum(bool printChecksum);
+ void SetTextLocation(BC_TEXT_LOC location);
+ void SetWideNarrowRatio(int32_t ratio);
+ void SetStartChar(FX_CHAR startChar);
+ void SetEndChar(FX_CHAR endChar);
+ void SetErrorCorrectionLevel(int32_t ecLevel);
+ void SetTruncated(bool truncated);
+
private:
BC_CHAR_ENCODING m_eCharEncoding;
int32_t m_nModuleHeight;
@@ -66,7 +64,6 @@ class CFWL_Barcode : public CFWL_Edit, public IFWL_BarcodeDP {
int32_t m_nWideNarrowRatio;
FX_CHAR m_cStartChar;
FX_CHAR m_cEndChar;
- int32_t m_nVersion;
int32_t m_nECLevel;
bool m_bTruncated;
uint32_t m_dwAttributeMask;