/// <summary> /// Currently, just handle Pptx /// </summary> /// <param name="htmFile"></param> /// <param name="format"></param> public GfxdataHandler(string htmFile, OfficeFormat format, Logger p_log) { if (htmFile == null) { throw new ArgumentNullException(); } if (format != OfficeFormat.Pptx) { throw new NotSupportedException("Format " + format + " is not supportted."); } m_htmFile = htmFile; m_format = format; m_log = p_log; try { LogDebugMSG = Boolean.Parse(AppConfig.GetAppConfig("LogDebugMSG")); } catch { LogDebugMSG = false; } }
public OfficeFileHandler(string htmFile, OfficeFormat format) { if (htmFile == null) { throw new ArgumentNullException(); } if (format != OfficeFormat.Pptx) { throw new NotSupportedException("Format " + format + " is not supportted."); } m_htmFile = htmFile; m_format = format; }