| 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 XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ |
| 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ | 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ |
| 9 | 9 |
| 10 #include "xfa/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 } | 64 } |
| 65 static inline CXFA_ContentLayoutItem* GetNextSibling( | 65 static inline CXFA_ContentLayoutItem* GetNextSibling( |
| 66 CXFA_ContentLayoutItem* pLayoutItem) { | 66 CXFA_ContentLayoutItem* pLayoutItem) { |
| 67 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pNextSibling; | 67 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pNextSibling; |
| 68 } | 68 } |
| 69 static inline CXFA_ContentLayoutItem* GetParent( | 69 static inline CXFA_ContentLayoutItem* GetParent( |
| 70 CXFA_ContentLayoutItem* pLayoutItem) { | 70 CXFA_ContentLayoutItem* pLayoutItem) { |
| 71 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pParent; | 71 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pParent; |
| 72 } | 72 } |
| 73 }; | 73 }; |
| 74 uint32_t XFA_GetRelevant(CXFA_Node* pFormItem, uint32_t dwParentRelvant); | 74 |
| 75 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem); | 75 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem); |
| 76 | 76 |
| 77 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ | 77 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ |
| OLD | NEW |