summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.h')
-rw-r--r--xfa/fxfa/cxfa_ffdoc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.h b/xfa/fxfa/cxfa_ffdoc.h
index 1d35c669da..ceec91f7db 100644
--- a/xfa/fxfa/cxfa_ffdoc.h
+++ b/xfa/fxfa/cxfa_ffdoc.h
@@ -24,12 +24,12 @@ class CXFA_FFDocView;
struct FX_IMAGEDIB_AND_DPI {
FX_IMAGEDIB_AND_DPI();
FX_IMAGEDIB_AND_DPI(const FX_IMAGEDIB_AND_DPI& that);
- FX_IMAGEDIB_AND_DPI(const CFX_RetainPtr<CFX_DIBSource>& pDib,
+ FX_IMAGEDIB_AND_DPI(const RetainPtr<CFX_DIBSource>& pDib,
int32_t xDpi,
int32_t yDpi);
~FX_IMAGEDIB_AND_DPI();
- CFX_RetainPtr<CFX_DIBSource> pDibSource;
+ RetainPtr<CFX_DIBSource> pDibSource;
int32_t iImageXDpi;
int32_t iImageYDpi;
};
@@ -39,7 +39,7 @@ inline FX_IMAGEDIB_AND_DPI::FX_IMAGEDIB_AND_DPI(
const FX_IMAGEDIB_AND_DPI& that) = default;
inline FX_IMAGEDIB_AND_DPI::FX_IMAGEDIB_AND_DPI(
- const CFX_RetainPtr<CFX_DIBSource>& pDib,
+ const RetainPtr<CFX_DIBSource>& pDib,
int32_t xDpi,
int32_t yDpi)
: pDibSource(pDib), iImageXDpi(xDpi), iImageYDpi(yDpi) {}
@@ -70,21 +70,21 @@ class CXFA_FFDoc {
CPDF_Document* GetPDFDoc() const { return m_pPDFDoc.Get(); }
CXFA_FFDocView* GetDocView(CXFA_LayoutProcessor* pLayout);
CXFA_FFDocView* GetDocView();
- CFX_RetainPtr<CFX_DIBitmap> GetPDFNamedImage(const WideStringView& wsName,
- int32_t& iImageXDpi,
- int32_t& iImageYDpi);
+ RetainPtr<CFX_DIBitmap> GetPDFNamedImage(const WideStringView& wsName,
+ int32_t& iImageXDpi,
+ int32_t& iImageYDpi);
CFGAS_PDFFontMgr* GetPDFFontMgr() const { return m_pPDFFontMgr.get(); }
bool SavePackage(XFA_HashCode code,
- const CFX_RetainPtr<IFX_SeekableStream>& pFile,
+ const RetainPtr<IFX_SeekableStream>& pFile,
CFX_ChecksumContext* pCSContext);
- bool ImportData(const CFX_RetainPtr<IFX_SeekableStream>& pStream,
+ bool ImportData(const RetainPtr<IFX_SeekableStream>& pStream,
bool bXDP = true);
private:
CFX_UnownedPtr<IXFA_DocEnvironment> const m_pDocEnvironment;
std::unique_ptr<CXFA_DocumentParser> m_pDocumentParser;
- CFX_RetainPtr<IFX_SeekableStream> m_pStream;
+ RetainPtr<IFX_SeekableStream> m_pStream;
CFX_UnownedPtr<CXFA_FFApp> m_pApp;
std::unique_ptr<CXFA_FFNotify> m_pNotify;
CFX_UnownedPtr<CPDF_Document> m_pPDFDoc;