static TestVBAMacroReader() { Dictionary <POIDataSamples, String> _expectedMacroContents = new Dictionary <POIDataSamples, String>(); POIDataSamples[] dataSamples = { POIDataSamples.GetSpreadSheetInstance(), POIDataSamples.GetSlideShowInstance(), POIDataSamples.GetDocumentInstance(), POIDataSamples.GetDiagramInstance() }; foreach (POIDataSamples sample in dataSamples) { _expectedMacroContents.Add(sample, ReadVBA(sample)); } expectedMacroContents = _expectedMacroContents; }
public void HDGFfromNPOIFS() { FromNPOIFS(POIDataSamples.GetDiagramInstance(), "SimpleMacro.vsd"); }
public void XDGFfromFile() { FromFile(POIDataSamples.GetDiagramInstance(), "SimpleMacro.vsdm"); }