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_SRC_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_ |
8 #define XFA_SRC_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
11 #include "xfa/src/fxfa/parser/xfa_object.h" | 11 #include "xfa/fxfa/parser/xfa_object.h" |
12 | 12 |
13 enum XFA_LAYOUTMODEL_HWXY { | 13 enum XFA_LAYOUTMODEL_HWXY { |
14 XFA_LAYOUTMODEL_H, | 14 XFA_LAYOUTMODEL_H, |
15 XFA_LAYOUTMODEL_W, | 15 XFA_LAYOUTMODEL_W, |
16 XFA_LAYOUTMODEL_X, | 16 XFA_LAYOUTMODEL_X, |
17 XFA_LAYOUTMODEL_Y | 17 XFA_LAYOUTMODEL_Y |
18 }; | 18 }; |
19 | 19 |
20 class CScript_LayoutPseudoModel : public CXFA_OrdinaryObject { | 20 class CScript_LayoutPseudoModel : public CXFA_OrdinaryObject { |
21 public: | 21 public: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 protected: | 54 protected: |
55 void Script_LayoutPseudoModel_GetObjArray(IXFA_DocLayout* pDocLayout, | 55 void Script_LayoutPseudoModel_GetObjArray(IXFA_DocLayout* pDocLayout, |
56 int32_t iPageNo, | 56 int32_t iPageNo, |
57 const CFX_WideString& wsType, | 57 const CFX_WideString& wsType, |
58 FX_BOOL bOnPageArea, | 58 FX_BOOL bOnPageArea, |
59 CXFA_NodeArray& retArray); | 59 CXFA_NodeArray& retArray); |
60 void Script_LayoutPseudoModel_PageImp(CFXJSE_Arguments* pArguments, | 60 void Script_LayoutPseudoModel_PageImp(CFXJSE_Arguments* pArguments, |
61 FX_BOOL bAbsPage); | 61 FX_BOOL bAbsPage); |
62 }; | 62 }; |
63 | 63 |
64 #endif // XFA_SRC_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_ | 64 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_ |
OLD | NEW |