How to set the file attribute info when exporting.
How to set the file attribute info when exporting.
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
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.
Hello.
To set PDF file properties you could use next report properties:
Also you could set next properties for all exported PDF files
or use StiPdfExportSettings to set these properties for each report:
Thank you.
To set PDF file properties you could use next report properties:
Code: Select all
Title - Report Name
Author - Report Author
Subject - Report Alias
Code: Select all
Stimulsoft.Report.StiOptions.Export.Pdf.CreatorString
Stimulsoft.Report.StiOptions.Export.Pdf.KeywordsString
Code: Select all
Stimulsoft.Report.Export.StiPdfExportSettings.CreatorString
Stimulsoft.Report.Export.StiPdfExportSettings.KeywordsString
Re: How to set the file attribute info when exporting.
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
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.
Hello, Felix.
Thank you.
Unfortunately, it's impossible to set these properties now.shrek wrote:For exporting Office Excel and Word file , is it possible to set its properties (Unit / Author / Last modified by) ?
Thank you.
Re: How to set the file attribute info when exporting.
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.
Hello.
If it's possible to do fast, we will try to add it in our release this week.
Than you.
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.
Hello.
We have made an improvement in the Word 2007 and Excel 2007 export.
Please, check our next release next week.
Thank you.
We have made an improvement in the Word 2007 and Excel 2007 export.
Please, check our next release next week.
Thank you.