Beispiel #1
0
        public void TestWord()
        {
            POIXMLDocument doc = new XWPFDocument(
                POIDataSamples.GetDocumentInstance().OpenResourceAsStream("WordWithAttachments.docx")
                );

            Test(doc, 5);
        }
Beispiel #2
0
        public void TestExcel()
        {
            POIXMLDocument doc = new XSSFWorkbook(
                POIDataSamples.GetSpreadSheetInstance().OpenResourceAsStream("ExcelWithAttachments.xlsm")
                );

            Test(doc, 4);
        }
Beispiel #3
0
 public static POIDataSamples GetOpenXML4JInstance()
 {
     if (_instDiagram == null)
     {
         _instDiagram = new POIDataSamples("openxml4j");
     }
     return(_instDiagram);
 }
Beispiel #4
0
 public static POIDataSamples GetOpenXml4NetInstance()
 {
     if (_instDiagram == null)
     {
         _instDiagram = new POIDataSamples("OpenXml4Net");
     }
     return(_instDiagram);
 }
Beispiel #5
0
 public static POIDataSamples GetDiagramInstance()
 {
     if (_instOpenxml4j == null)
     {
         _instOpenxml4j = new POIDataSamples("diagram");
     }
     return(_instOpenxml4j);
 }
Beispiel #6
0
 public static POIDataSamples GetDocumentInstance()
 {
     if (_instDocument == null)
     {
         _instDocument = new POIDataSamples("document");
     }
     return(_instDocument);
 }
Beispiel #7
0
 public static POIDataSamples GetSlideShowInstance()
 {
     if (_instSlideshow == null)
     {
         _instSlideshow = new POIDataSamples("slideshow");
     }
     return(_instSlideshow);
 }
Beispiel #8
0
 public static POIDataSamples GetSpreadSheetInstance()
 {
     if (_instSpreadsheet == null)
     {
         _instSpreadsheet = new POIDataSamples("spreadsheet");
     }
     return(_instSpreadsheet);
 }
Beispiel #9
0
 public static POIDataSamples GetHSMFInstance()
 {
     if (_instHSMF == null)
     {
         _instHSMF = new POIDataSamples("hsmf");
     }
     return(_instHSMF);
 }
Beispiel #10
0
 public static POIDataSamples GetPublisherInstance()
 {
     if (_instHPBF == null)
     {
         _instHPBF = new POIDataSamples("publisher");
     }
     return(_instHPBF);
 }
Beispiel #11
0
 public static POIDataSamples GetXmlDSignInstance()
 {
     if (_instXmlDSign == null)
     {
         _instXmlDSign = new POIDataSamples("xmldsign");
     }
     return(_instXmlDSign);
 }
Beispiel #12
0
 public static POIDataSamples GetPOIFSInstance()
 {
     if (_instPOIFS == null)
     {
         _instPOIFS = new POIDataSamples("poifs");
     }
     return(_instPOIFS);
 }
Beispiel #13
0
 public static POIDataSamples GetDDFInstance()
 {
     if (_instDDF == null)
     {
         _instDDF = new POIDataSamples("ddf");
     }
     return(_instDDF);
 }
Beispiel #14
0
 public static POIDataSamples GetHPSFInstance()
 {
     if (_instHPSF == null)
     {
         _instHPSF = new POIDataSamples("hpsf");
     }
     return(_instHPSF);
 }
Beispiel #15
0
 public static POIDataSamples GetHPSFInstance()
 {
     if (_instHPSF == null) _instHPSF = new POIDataSamples("hpsf");
     return _instHPSF;
 }
Beispiel #16
0
 public static POIDataSamples GetDDFInstance()
 {
     if (_instDDF == null) _instDDF = new POIDataSamples("ddf");
     return _instDDF;
 }
Beispiel #17
0
 public static POIDataSamples GetPOIFSInstance()
 {
     if (_instPOIFS == null) _instPOIFS = new POIDataSamples("poifs");
     return _instPOIFS;
 }
Beispiel #18
0
 public static POIDataSamples GetOpenXml4NetInstance()
 {
     if (_instDiagram == null) _instDiagram = new POIDataSamples("OpenXml4Net");
     return _instDiagram;
 }
Beispiel #19
0
 public static POIDataSamples GetDiagramInstance()
 {
     if (_instOpenXml4Net == null) _instOpenXml4Net = new POIDataSamples("diagram");
     return _instOpenXml4Net;
 }
Beispiel #20
0
 public static POIDataSamples GetSlideShowInstance()
 {
     if (_instSlideshow == null) _instSlideshow = new POIDataSamples("slideshow");
     return _instSlideshow;
 }
Beispiel #21
0
 public static POIDataSamples GetDocumentInstance()
 {
     if (_instDocument == null) _instDocument = new POIDataSamples("document");
     return _instDocument;
 }
Beispiel #22
0
 public static POIDataSamples GetSpreadSheetInstance()
 {
     if (_instSpreadsheet == null) _instSpreadsheet = new POIDataSamples("spreadsheet");
     return _instSpreadsheet;
 }
Beispiel #23
0
 public static POIDataSamples GetPublisherInstance()
 {
     if (_instHPBF == null) _instHPBF = new POIDataSamples("publisher");
     return _instHPBF;
 }
Beispiel #24
0
 public static POIDataSamples GetHSMFInstance()
 {
     if (_instHSMF == null) _instHSMF = new POIDataSamples("hsmf");
     return _instHSMF;
 }
Beispiel #25
0
 public static POIDataSamples GetOpenXML4JInstance()
 {
     if (_instDiagram == null) _instDiagram = new POIDataSamples("openxml4j");
     return _instDiagram;
 }