klute       2004/06/22 08:36:17

  Modified:    src/examples/src/org/apache/poi/hpsf/examples
                        WriteTitle.java
  Log:
  - Important fix to actually place the property into the property set.
  
  Revision  Changes    Path
  1.6       +4 -1      
jakarta-poi/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java
  
  Index: WriteTitle.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WriteTitle.java   9 Apr 2004 13:05:14 -0000       1.5
  +++ WriteTitle.java   22 Jun 2004 15:36:17 -0000      1.6
  @@ -85,6 +85,9 @@
           p.setType(Variant.VT_LPWSTR);
           p.setValue("Sample title");
   
  +        /* Place the property into the section. */
  +        ms.setProperty(p);
  +
           /* Create the POI file system the property set is to be written to. */
           final POIFSFileSystem poiFs = new POIFSFileSystem();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to