Index: fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h |
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h |
index fa2c8a2752485120051709f169ce6d010466b36e..7936bf2cf6a3a1764847be53ddb80fcda19f1e3a 100644 |
--- a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h |
+++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h |
@@ -208,6 +208,13 @@ class CPDFXFA_Document : public IXFA_DocProvider { |
void _ClearChangeMark(); |
private: |
+ enum LoadStatus { |
+ FXFA_LOADSTATUS_PRELOAD = 0, |
+ FXFA_LOADSTATUS_LOADING, |
+ FXFA_LOADSTATUS_LOADED, |
+ FXFA_LOADSTATUS_CLOSING, |
+ FXFA_LOADSTATUS_CLOSED |
+ }; |
void CloseXFADoc(IXFA_DocHandler* pDoc) { |
if (pDoc) { |
pDoc->CloseDoc(m_pXFADoc); |
@@ -225,6 +232,8 @@ class CPDFXFA_Document : public IXFA_DocProvider { |
CPDFXFA_App* m_pApp; |
IJS_Context* m_pJSContext; |
CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; |
+ LoadStatus m_nLoadStatus; |
+ int m_nPageCount; |
}; |
#endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ |