summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h')
-rw-r--r--xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h b/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h
index 6b102c689c..7309c07fae 100644
--- a/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h
+++ b/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h
@@ -8,16 +8,20 @@
#define _BC_EDIFACTENCODER_H_
class CBC_EncoderContext;
class CBC_EdifactEncoder;
-class CBC_EdifactEncoder : public CBC_Encoder
-{
-public:
- CBC_EdifactEncoder();
- virtual ~CBC_EdifactEncoder();
- int32_t getEncodingMode();
- void Encode(CBC_EncoderContext &context, int32_t &e);
-private:
- static void handleEOD(CBC_EncoderContext &context, CFX_WideString buffer, int32_t &e);
- static void encodeChar(FX_WCHAR c, CFX_WideString &sb, int32_t &e);
- static CFX_WideString encodeToCodewords(CFX_WideString sb, int32_t startPos, int32_t &e);
+class CBC_EdifactEncoder : public CBC_Encoder {
+ public:
+ CBC_EdifactEncoder();
+ virtual ~CBC_EdifactEncoder();
+ int32_t getEncodingMode();
+ void Encode(CBC_EncoderContext& context, int32_t& e);
+
+ private:
+ static void handleEOD(CBC_EncoderContext& context,
+ CFX_WideString buffer,
+ int32_t& e);
+ static void encodeChar(FX_WCHAR c, CFX_WideString& sb, int32_t& e);
+ static CFX_WideString encodeToCodewords(CFX_WideString sb,
+ int32_t startPos,
+ int32_t& e);
};
#endif