Page 1 of 1

How to set the file attribute info when exporting.

Posted: Sun Mar 24, 2013 7:15 am
by shrek
Hello,

By the code "report.ExportDocument(StiExportFormat.Word2007, ....);", the report is exported as Word 2007 file, is it possible to modify the following attribute text info of the exported file:
1, Unit ("Stimulsoft" is written as defualt)
2, Author ("Stimulsoft Reports 2012.3.1500 from 3 December 2012" is written as default)
2, Last modified by ("Stimulsoft Reports 2012.3.1500 from 3 December 2012" is written as default)

Is it possbile to modify these attribute text info when exporting by calling report.ExportDocument(...) ?

Thanks
Felix

Re: How to set the file attribute info when exporting.

Posted: Mon Mar 25, 2013 7:56 am
by HighAley
Hello.

To set PDF file properties you could use next report properties:

Code: Select all

Title - Report Name
Author - Report Author
Subject - Report Alias
Also you could set next properties for all exported PDF files

Code: Select all

Stimulsoft.Report.StiOptions.Export.Pdf.CreatorString
Stimulsoft.Report.StiOptions.Export.Pdf.KeywordsString
or use StiPdfExportSettings to set these properties for each report:

Code: Select all

Stimulsoft.Report.Export.StiPdfExportSettings.CreatorString
Stimulsoft.Report.Export.StiPdfExportSettings.KeywordsString
Thank you.

Re: How to set the file attribute info when exporting.

Posted: Mon Mar 25, 2013 2:20 pm
by shrek
Hello,

Thanks for your reply.

For exporting Office Excel and Word file , is it possible to set its properties (Unit / Author / Last modified by) ?

Thanks
Felix

Re: How to set the file attribute info when exporting.

Posted: Tue Mar 26, 2013 10:51 am
by HighAley
Hello, Felix.
shrek wrote:For exporting Office Excel and Word file , is it possible to set its properties (Unit / Author / Last modified by) ?
Unfortunately, it's impossible to set these properties now.

Thank you.

Re: How to set the file attribute info when exporting.

Posted: Tue Mar 26, 2013 4:21 pm
by shrek
OK, thanks for you information, hopefully this feature will be supported in the next release. :-)

Re: How to set the file attribute info when exporting.

Posted: Wed Mar 27, 2013 10:38 am
by HighAley
Hello.

If it's possible to do fast, we will try to add it in our release this week.

Than you.

Re: How to set the file attribute info when exporting.

Posted: Wed Mar 27, 2013 2:14 pm
by HighAley
Hello.

We have made an improvement in the Word 2007 and Excel 2007 export.
Please, check our next release next week.

Thank you.