Index: core/fpdfdoc/include/cpdf_annot.h |
diff --git a/core/fpdfdoc/include/cpdf_annot.h b/core/fpdfdoc/include/cpdf_annot.h |
index 499934915568437dcd62524f387d79929d98ac59..3f945dd664f8c9f4677f3d2f8eae7c57c5d6a0eb 100644 |
--- a/core/fpdfdoc/include/cpdf_annot.h |
+++ b/core/fpdfdoc/include/cpdf_annot.h |
@@ -61,12 +61,17 @@ class CPDF_Annot { |
const CFX_Matrix* pUser2Device, |
const CPDF_RenderOptions* pOptions); |
CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode); |
+ void SetOpenState(bool bOpenState) { m_bOpenState = bOpenState; } |
+ CPDF_Annot* GetPopupAnnot() const { return m_pPopupAnnot; } |
+ void SetPopupAnnot(CPDF_Annot* pAnnot) { m_pPopupAnnot = pAnnot; } |
private: |
CPDF_Dictionary* const m_pAnnotDict; |
CPDF_Document* const m_pDocument; |
const CFX_ByteString m_sSubtype; |
std::map<CPDF_Stream*, std::unique_ptr<CPDF_Form>> m_APMap; |
+ bool m_bOpenState; |
+ CPDF_Annot* m_pPopupAnnot; |
dsinclair
2016/08/24 14:00:20
Add a // not owned if this doesn't take possession
jaepark
2016/08/24 18:37:48
Done.
dsinclair
2016/08/24 18:56:27
Sorry, wasn't clear in my comment. Add a:
// not
jaepark
2016/08/26 02:37:29
Done.
|
}; |
CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, |