diff options
Diffstat (limited to 'xfa/fxfa/cxfa_pieceline.h')
-rw-r--r-- | xfa/fxfa/cxfa_pieceline.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_pieceline.h b/xfa/fxfa/cxfa_pieceline.h new file mode 100644 index 0000000000..82af0e5265 --- /dev/null +++ b/xfa/fxfa/cxfa_pieceline.h @@ -0,0 +1,26 @@ +// Copyright 2017 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef XFA_FXFA_CXFA_PIECELINE_H_ +#define XFA_FXFA_CXFA_PIECELINE_H_ + +#include <memory> +#include <vector> + +#include "core/fxcrt/fx_basic.h" + +class CXFA_TextPiece; + +class CXFA_PieceLine { + public: + CXFA_PieceLine(); + ~CXFA_PieceLine(); + + std::vector<std::unique_ptr<CXFA_TextPiece>> m_textPieces; + std::vector<int32_t> m_charCounts; +}; + +#endif // XFA_FXFA_CXFA_PIECELINE_H_ |