Package org.apache.poi.hpsf

Examples of org.apache.poi.hpsf.DocumentSummaryInformation


  class DocumentSummaryReader implements POIFSReaderListener {
    DocumentSummaryReader() {
    }

    public void processPOIFSReaderEvent(POIFSReaderEvent event) {
      DocumentSummaryInformation si = null;
      try {
        si = (DocumentSummaryInformation) PropertySetFactory
            .create(event.getStream());
      } catch (Exception ex) {
        throw new RuntimeException("Property set stream \""
View Full Code Here


      writePropertySet(SummaryInformation.DEFAULT_STREAM_NAME, si, outFS);
      if(writtenEntries != null) {
        writtenEntries.add(SummaryInformation.DEFAULT_STREAM_NAME);
      }
    }
        DocumentSummaryInformation dsi = getDocumentSummaryInformation();
        if(dsi != null) {
      writePropertySet(DocumentSummaryInformation.DEFAULT_STREAM_NAME, dsi, outFS);
      if(writtenEntries != null) {
        writtenEntries.add(DocumentSummaryInformation.DEFAULT_STREAM_NAME);
      }
View Full Code Here

                new PropertySet(new DocumentInputStream(entry));
            if (properties.isSummaryInformation()) {
                parse(new SummaryInformation(properties));
            }
            if (properties.isDocumentSummaryInformation()) {
                parse(new DocumentSummaryInformation(properties));
            }
        } catch (FileNotFoundException e) {
            // entry does not exist, just skip it
        } catch (NoPropertySetStreamException e) {
            // no property stream, just skip it
View Full Code Here

                new PropertySet(new DocumentInputStream(entry));
            if (properties.isSummaryInformation()) {
                parse(new SummaryInformation(properties));
            }
            if (properties.isDocumentSummaryInformation()) {
                parse(new DocumentSummaryInformation(properties));
            }
        } catch (FileNotFoundException e) {
            // entry does not exist, just skip it
        } catch (NoPropertySetStreamException e) {
            // no property stream, just skip it
View Full Code Here

                new PropertySet(new DocumentInputStream(entry));
            if (properties.isSummaryInformation()) {
                parse(new SummaryInformation(properties));
            }
            if (properties.isDocumentSummaryInformation()) {
                parse(new DocumentSummaryInformation(properties));
            }
        } catch (FileNotFoundException e) {
            // entry does not exist, just skip it
        } catch (NoPropertySetStreamException e) {
            // no property stream, just skip it
View Full Code Here

                new PropertySet(new DocumentInputStream(entry));
            if (properties.isSummaryInformation()) {
                parse(new SummaryInformation(properties));
            }
            if (properties.isDocumentSummaryInformation()) {
                parse(new DocumentSummaryInformation(properties));
            }
        } catch (FileNotFoundException e) {
            // entry does not exist, just skip it
        } catch (NoPropertySetStreamException e) {
            // no property stream, just skip it
View Full Code Here

TOP

Related Classes of org.apache.poi.hpsf.DocumentSummaryInformation

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.