summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_HighLevelEncoder.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-25 18:43:44 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-26 01:56:52 +0000
commit1bbcb35e4e5593998837c832eabf16a91a695387 (patch)
tree0e60ccf75924489907237e55fcd59c90d3be50e1 /fxbarcode/datamatrix/BC_HighLevelEncoder.h
parent1c26a6e477c5eaebf8aaca0c65a3a06c22e9c527 (diff)
downloadpdfium-1bbcb35e4e5593998837c832eabf16a91a695387.tar.xz
Replace SymbolShapeHint with a boolean.
Delete BC_SymbolShapeHint.h since there is nothing left in it. Change-Id: Ic991064cd396f224966e5f3e8537fc62b5a9908a Reviewed-on: https://pdfium-review.googlesource.com/5835 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_HighLevelEncoder.h')
-rw-r--r--fxbarcode/datamatrix/BC_HighLevelEncoder.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/fxbarcode/datamatrix/BC_HighLevelEncoder.h b/fxbarcode/datamatrix/BC_HighLevelEncoder.h
index cfcca18e2b..0b7ff9bf0e 100644
--- a/fxbarcode/datamatrix/BC_HighLevelEncoder.h
+++ b/fxbarcode/datamatrix/BC_HighLevelEncoder.h
@@ -10,7 +10,6 @@
#include <vector>
#include "core/fxcrt/cfx_widestring.h"
-#include "fxbarcode/datamatrix/BC_SymbolShapeHint.h"
#define ASCII_ENCODATION 0
#define C40_ENCODATION 1
@@ -25,12 +24,10 @@ class CBC_HighLevelEncoder {
~CBC_HighLevelEncoder();
std::vector<uint8_t>& getBytesForMessage(CFX_WideString msg);
+
static CFX_WideString encodeHighLevel(CFX_WideString msg,
CFX_WideString ecLevel,
- int32_t& e);
- static CFX_WideString encodeHighLevel(CFX_WideString msg,
- CFX_WideString ecLevel,
- SymbolShapeHint shape,
+ bool allowRectangular,
int32_t& e);
static int32_t lookAheadTest(CFX_WideString msg,
int32_t startpos,