We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding Table of Contents to Reporting Services Reports

Hi,

Sorry again for such a delay. Please find attached. Use the ToolTip property for specifying the TOC and TOC entries:

  • Enter TOC for a textbox intended to be rendered as a TOC
  • Enter STYLE="StyleName" to designate a style for a textbox

Let me know how it goes and what should be improved.

Thanks Dmitry. Will let you know how it goes.

Hi,

Almost everything works ok, when I set tooltip of textbox to STYLE="Heading 1" the style is set to Heading 1 in Word, but for textboxt where I set tooltip to "TOC" there is new line with smaller text generated. I'm using latest version (from begining of december). Why do aspose not generating TOC field? I can update TOC manually but I would be good to have that field in file.

Regards

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You are right, Aspose.Words cannot update TOC fields at the moment. The technical reason is that MS Word document is flow document and does not contain any information about its layout into lines and pages. So there is no way to determine where page starts or ends, but this information is necessary to build TOC.

At the moment, we already have our own rendering engine, which allow layout documents into pages and lines and currently we are working on TOC fields updating feature. It will be supported somewhere at the beginning of the next year.

Best regards.

Yes, I now that it is problem with knowing no of pages to TOC. But TOC in Word is a "Technical Field", so if you just put that field in report output everybody will have possibility to update that field just by clicking right button of the mouse on it. It is the simpliest solution for that problem. I really don't expect that you will do numbering for TOC, you really don't need to. Word has his own mechanism and the best solution for me is just to put TOC field to word file.

Regards

alexey.noskov:

Thanks for your inquiry. You are right, Aspose.Words cannot update TOC fields at the moment. The technical reason is that MS Word document is flow document and does not contain any information about its layout into lines and pages. So there is no way to determine where page starts or ends, but this information is necessary to build TOC.

At the moment, we already have our own rendering engine, which allow layout documents into pages and lines and currently we are working on TOC fields updating feature. It will be supported somewhere at the beginning of the next year.


Hi,

Thanks for the update. I am just starting to get familiar with Aspose and wanted to know about this. So when you develop this feature, will this allow for a TOC to be automatically created and inserted at the beginning of a document?

Thanks

Hi Lenny,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your interest in Aspose.Words. Yes, you are right. Once we implement this feature, you will be able to update existing TOC in a document and create your own TOC.

But, currently, You can insert a TOC field using Aspose.Words, but it will be an "empty" TOC that can be "populated" by Microsoft Word only.

Best regards.

alexey.noskov:

But, currently, You can insert a TOC field using Aspose.Words, but it will be an "empty" TOC that can be "populated" by Microsoft Word only.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

That is what I said before, if you want to insert "empty" TOC field that can be "populated" by Word only nothing is happen. I've got a line with smaller font and nothing else, there wasn't any TOC field

Regards,

Marcin

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for additional information. Could you please attach your output document, sample rdl report and rdl.data file. We will check the issue and provide you more information.

Best regards.

File in attachment. Thanks for quick response

Regards,

Marcin

Hi Marcin,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for additional information. Actually, your output document contains TOC field and you can update it. Just press Alt+F9 to see it or just press Ctrl+A and then F9 to update all fields in the document.

Best regards.

Thanks very much,

I really cannot imagine how I missed it :)

Regards,

Marcin

The issues you have found earlier (filed as 10380) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(26)