Esempio n. 1
0
 private void loadStyleSheet() throws IOException, CoreException {
   try {
     IStyleSheet styleSheet =
         ((StyleSheetBuilderImpl) Core.getStyleSheetBuilder()).loadFromInputSource(source, this);
     ((StyleSheetImpl) styleSheet).setManifest(manifest);
     workbook.setStyleSheet((StyleSheetImpl) styleSheet);
   } catch (IOException e) {
     throw e;
   } catch (CoreException e) {
     if (e.getType() != Core.ERROR_NO_SUCH_ENTRY) throw e;
   }
 }