Replace XFA_HDOC with IXFA_Doc*
[pdfium.git] / xfa / src / fxfa / src / app / xfa_fontmgr.h
index fd65570..9de1348 100644 (file)
@@ -18,8 +18,8 @@ class CXFA_DefFontMgr : public IXFA_FontMgr
 public:\r
     CXFA_DefFontMgr() {}\r
     ~CXFA_DefFontMgr() override;\r
-    virtual IFX_Font*          GetFont(XFA_HDOC hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles, FX_WORD wCodePage = 0xFFFF);\r
-    virtual IFX_Font*          GetDefaultFont(XFA_HDOC hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles, FX_WORD wCodePage = 0xFFFF);\r
+    virtual IFX_Font*          GetFont(IXFA_Doc* hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles, FX_WORD wCodePage = 0xFFFF);\r
+    virtual IFX_Font*          GetDefaultFont(IXFA_Doc* hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles, FX_WORD wCodePage = 0xFFFF);\r
 protected:\r
     CFX_PtrArray                       m_CacheFonts;\r
 };\r
@@ -43,10 +43,10 @@ class CXFA_FontMgr
 public:\r
     CXFA_FontMgr();\r
     ~CXFA_FontMgr();\r
-    IFX_Font*          GetFont(XFA_HDOC hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles,\r
+    IFX_Font*          GetFont(IXFA_Doc* hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles,\r
                             FX_WORD wCodePage = 0xFFFF);\r
-    void                       LoadDocFonts(XFA_HDOC hDoc);\r
-    void                       ReleaseDocFonts(XFA_HDOC hDoc);\r
+    void                       LoadDocFonts(IXFA_Doc* hDoc);\r
+    void                       ReleaseDocFonts(IXFA_Doc* hDoc);\r
 \r
     void                       SetDefFontMgr(IXFA_FontMgr* pFontMgr);\r
 protected:\r