Package org.formulacompiler.spreadsheet.internal.excel.xlsx.loader

Examples of org.formulacompiler.spreadsheet.internal.excel.xlsx.loader.PackageLoader


*/
public abstract class TemplateLoader
{
  public static Stylesheet loadWorkbook( final InputStream _stream ) throws IOException, SpreadsheetException
  {
    PackageLoader loader = new PackageLoader( _stream );
    try {
      InputStream input;

      final String workbook;
      input = loader.getRelationship( "" );
      try {
        RelationshipParser parser = new RelationshipParser( input, "" );
        workbook = parser.findByType( XMLConstants.WORKBOOK_RELATIONSHIP_TYPE );
        if (workbook == null)
          throw new SpreadsheetException.LoadError( "officeDocument relationship was not found in the root relationshp list" );
View Full Code Here

TOP

Related Classes of org.formulacompiler.spreadsheet.internal.excel.xlsx.loader.PackageLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.