Results 1 to 2 of 2
  1. #1
    hoz is offline Member
    Join Date
    Jan 2017
    Rep Power

    Default How to set attribute "Author" of XSSF-file?

    Hi. I find this? that I mind need for set attribute "Author" of XSSF-file.
    On this picture i show? that i need to set(or edit):

    I try do how there, but it works only with HSSFWorkbook. But me interesting set attribute of XSSFWorkbook.
    How i can do it?

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    The Netherlands
    Rep Power

    Default Re: How to set attribute "Author" of XSSF-file?

    In that link you posted it also described how to do it for XSSF:
    Java Code:
    POIXMLProperties xmlProps = workbook.getProperties();    
    POIXMLProperties.CoreProperties coreProps =  xmlProps.getCoreProperties();
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013

Similar Threads

  1. Replies: 0
    Last Post: 12-07-2012, 08:29 AM
  2. Replies: 3
    Last Post: 10-30-2012, 03:06 PM
  3. Replies: 0
    Last Post: 02-19-2012, 05:47 PM
  4. Replies: 0
    Last Post: 03-10-2010, 02:52 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts