1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FPDFDOC_CPVT_SECTIONINFO_H_ 8 #define CORE_FPDFDOC_CPVT_SECTIONINFO_H_ 9 10 #include <memory> 11 12 #include "core/fpdfdoc/cpvt_floatrect.h" 13 #include "core/fpdfdoc/cpvt_secprops.h" 14 #include "core/fpdfdoc/cpvt_wordprops.h" 15 16 struct CPVT_SectionInfo { 17 CPVT_SectionInfo(); 18 CPVT_SectionInfo(const CPVT_SectionInfo& other); 19 ~CPVT_SectionInfo(); 20 21 void operator=(const CPVT_SectionInfo& other); 22 23 CPVT_FloatRect rcSection; 24 int32_t nTotalLine; 25 std::unique_ptr<CPVT_SecProps> pSecProps; 26 std::unique_ptr<CPVT_WordProps> pWordProps; 27 }; 28 29 #endif // CORE_FPDFDOC_CPVT_SECTIONINFO_H_ 30