14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
142 IntPtr saved_pImage = tmp_pImage;
149if(tmp_pImage == IntPtr.Zero) pImage =
null;
150 if(tmp_pImage != IntPtr.Zero && tmp_pImage != saved_pImage)
152 MemoryTransaction mTrans_pImage = MemoryManager.GetMemoryManager().GetCurrentTransaction();
153 if(mTrans_pImage !=
null)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGiRasterImage obj)
static HandleRef getCPtr(OdStringArray obj)
virtual OdPdfImport.ImportResult extractEmbededFonts(OdStringArray font_list)
PdfImporterEx(IntPtr cPtr, bool cMemoryOwn)
virtual bool isDocumentLoaded()
override OdRxDictionary properties()
virtual OdPdfImport.ImportResult loadDocument()
override Teigha.Core.OdRxDictionary vb_properties()
virtual void getImportedObjectsInfo(out uint object_count, out uint error_count)
virtual void setClipBoundary(OdGePoint2dArray clipBoundary, bool is_clip_boundary_inverted)
override void Dispose(bool disposing)
virtual OdPdfImport.ImportResult fillLayersInfo(StringToBoolMap layers_info)
virtual double getPageWidth()
virtual OdPdfImport.ImportResult loadPage()
virtual OdPdfImport.ImportResult fillFontsInfo(SWIGTYPE_p_std__mapT_OdAnsiString_OdAnsiString_std__lessT_OdAnsiString_t_t font_map)
virtual UInt32 getPageCount()
static HandleRef getCPtr(PdfImporterEx obj)
virtual double getMeasureDictInfo()
virtual double getPageHeight()
virtual bool isPageLoaded()
virtual int preview(int pic_width, int pic_height, ref OdGiRasterImage pImage)
virtual void clearUnderlayInfo()
override void setPreferableFontCallback(SWIGTYPE_p_std__functionT_OdAnsiString_fchar_const_p_char_const_p_bool_constF_t callback)
static string getRealClassName(IntPtr ptr)
virtual void setLayersInfo(StringToBoolMap layers_info)
static HandleRef getCPtr(StringToBoolMap obj)
static global::System.Exception Retrieve()
static string PdfImporterEx_getRealClassName(IntPtr jarg1)
static double PdfImporterEx_getPageWidth(HandleRef jarg1)
static int PdfImporterEx_import(HandleRef jarg1)
static IntPtr PdfImporterEx_properties(HandleRef jarg1)
static void PdfImporterEx_getImportedObjectsInfo(HandleRef jarg1, out uint jarg2, out uint jarg3)
static bool PdfImporterEx_isDocumentLoaded(HandleRef jarg1)
static int PdfImporterEx_loadPage(HandleRef jarg1)
static void PdfImporterEx_clearUnderlayInfo(HandleRef jarg1)
static double PdfImporterEx_getPageHeight(HandleRef jarg1)
static void delete_PdfImporterEx(HandleRef jarg1)
static UInt32 PdfImporterEx_getPageCount(HandleRef jarg1)
static int PdfImporterEx_extractEmbededFonts(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool PdfImporterEx_isPageLoaded(HandleRef jarg1)
static int PdfImporterEx_fillLayersInfo(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PdfImporterEx_setLayersInfo(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PdfImporterEx_setPreferableFontCallback(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int PdfImporterEx_loadDocument(HandleRef jarg1)
static int PdfImporterEx_fillFontsInfo(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int PdfImporterEx_preview(HandleRef jarg1, int jarg2, int jarg3, ref IntPtr jarg4)
static void PdfImporterEx_setClipBoundary(HandleRef jarg1, IntPtr jarg2, bool jarg3)
static double PdfImporterEx_getMeasureDictInfo(HandleRef jarg1)