OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _BC_C40ENCODER_H_ | 7 #ifndef _BC_C40ENCODER_H_ |
8 #define _BC_C40ENCODER_H_ | 8 #define _BC_C40ENCODER_H_ |
9 class CBC_C40Encoder; | 9 class CBC_C40Encoder; |
10 class CBC_C40Encoder : public CBC_Encoder { | 10 class CBC_C40Encoder : public CBC_Encoder { |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 private: | 23 private: |
24 int32_t backtrackOneCharacter(CBC_EncoderContext& context, | 24 int32_t backtrackOneCharacter(CBC_EncoderContext& context, |
25 CFX_WideString& buffer, | 25 CFX_WideString& buffer, |
26 CFX_WideString& removed, | 26 CFX_WideString& removed, |
27 int32_t lastCharSize, | 27 int32_t lastCharSize, |
28 int32_t& e); | 28 int32_t& e); |
29 static CFX_WideString encodeToCodewords(CFX_WideString sb, int32_t startPos); | 29 static CFX_WideString encodeToCodewords(CFX_WideString sb, int32_t startPos); |
30 }; | 30 }; |
31 #endif | 31 #endif |
OLD | NEW |