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_layout_itemlayout.h" | 7 #include "xfa/fxfa/parser/xfa_layout_itemlayout.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "xfa/fgas/crt/fgas_algorithm.h" | 12 #include "xfa/fgas/crt/fgas_algorithm.h" |
13 #include "xfa/fxfa/app/xfa_ffnotify.h" | 13 #include "xfa/fxfa/app/xfa_ffnotify.h" |
14 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" | 14 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" |
| 15 #include "xfa/fxfa/parser/cxfa_occur.h" |
15 #include "xfa/fxfa/parser/xfa_docdata.h" | 16 #include "xfa/fxfa/parser/xfa_docdata.h" |
16 #include "xfa/fxfa/parser/xfa_doclayout.h" | 17 #include "xfa/fxfa/parser/xfa_doclayout.h" |
17 #include "xfa/fxfa/parser/xfa_document.h" | 18 #include "xfa/fxfa/parser/xfa_document.h" |
18 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | 19 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
19 #include "xfa/fxfa/parser/xfa_layout_appadapter.h" | 20 #include "xfa/fxfa/parser/xfa_layout_appadapter.h" |
20 #include "xfa/fxfa/parser/xfa_layout_pagemgr_new.h" | 21 #include "xfa/fxfa/parser/xfa_layout_pagemgr_new.h" |
21 #include "xfa/fxfa/parser/xfa_localemgr.h" | 22 #include "xfa/fxfa/parser/xfa_localemgr.h" |
22 #include "xfa/fxfa/parser/xfa_object.h" | 23 #include "xfa/fxfa/parser/xfa_object.h" |
23 #include "xfa/fxfa/parser/xfa_parser.h" | 24 #include "xfa/fxfa/parser/xfa_parser.h" |
24 #include "xfa/fxfa/parser/xfa_parser_imp.h" | 25 #include "xfa/fxfa/parser/xfa_parser_imp.h" |
(...skipping 2938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2963 (int32_t)(uintptr_t)m_PendingNodesCount.GetValueAt(pTemplate); | 2964 (int32_t)(uintptr_t)m_PendingNodesCount.GetValueAt(pTemplate); |
2964 if (iCount >= iMax) { | 2965 if (iCount >= iMax) { |
2965 return FALSE; | 2966 return FALSE; |
2966 } | 2967 } |
2967 iCount++; | 2968 iCount++; |
2968 m_PendingNodesCount.SetAt(pTemplate, (void*)(uintptr_t)(iCount)); | 2969 m_PendingNodesCount.SetAt(pTemplate, (void*)(uintptr_t)(iCount)); |
2969 return TRUE; | 2970 return TRUE; |
2970 } | 2971 } |
2971 return TRUE; | 2972 return TRUE; |
2972 } | 2973 } |
OLD | NEW |