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 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | 7 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
8 | 8 |
9 #include "xfa/fxfa/parser/xfa_basic_imp.h" | 9 #include "xfa/fxfa/parser/cxfa_measurement.h" |
10 #include "xfa/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
11 #include "xfa/fxfa/parser/xfa_document.h" | 11 #include "xfa/fxfa/parser/xfa_document.h" |
12 #include "xfa/fxfa/parser/xfa_document_datamerger_imp.h" | 12 #include "xfa/fxfa/parser/xfa_document_datamerger_imp.h" |
13 #include "xfa/fxfa/parser/xfa_layout_appadapter.h" | 13 #include "xfa/fxfa/parser/xfa_layout_appadapter.h" |
14 #include "xfa/fxfa/parser/xfa_layout_itemlayout.h" | 14 #include "xfa/fxfa/parser/xfa_layout_itemlayout.h" |
15 #include "xfa/fxfa/parser/xfa_layout_pagemgr_new.h" | 15 #include "xfa/fxfa/parser/xfa_layout_pagemgr_new.h" |
16 #include "xfa/fxfa/parser/xfa_localemgr.h" | 16 #include "xfa/fxfa/parser/xfa_localemgr.h" |
17 #include "xfa/fxfa/parser/xfa_object.h" | 17 #include "xfa/fxfa/parser/xfa_object.h" |
18 #include "xfa/fxfa/parser/xfa_utils.h" | 18 #include "xfa/fxfa/parser/xfa_utils.h" |
19 | 19 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 CXFA_ContentLayoutItem::CXFA_ContentLayoutItem(CXFA_Node* pNode) | 194 CXFA_ContentLayoutItem::CXFA_ContentLayoutItem(CXFA_Node* pNode) |
195 : CXFA_LayoutItem(pNode, TRUE), | 195 : CXFA_LayoutItem(pNode, TRUE), |
196 m_pPrev(nullptr), | 196 m_pPrev(nullptr), |
197 m_pNext(nullptr), | 197 m_pNext(nullptr), |
198 m_dwStatus(0) {} | 198 m_dwStatus(0) {} |
199 CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem() { | 199 CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem() { |
200 if (m_pFormNode->GetUserData(XFA_LAYOUTITEMKEY) == this) { | 200 if (m_pFormNode->GetUserData(XFA_LAYOUTITEMKEY) == this) { |
201 m_pFormNode->SetUserData(XFA_LAYOUTITEMKEY, nullptr); | 201 m_pFormNode->SetUserData(XFA_LAYOUTITEMKEY, nullptr); |
202 } | 202 } |
203 } | 203 } |
OLD | NEW |