Hello,
I'm trying to make custom export for document with several section. Each section should have its own XML file and tif file. Tif file should be only with images from that section. Can anyone show example of the script how to do that ?
Thanx.
I'm trying to make custom export for document with several section. Each section should have its own XML file and tif file. Tif file should be only with images from that section. Can anyone show example of the script how to do that ?
Thanx.
コメント
2件のコメント
Hi Dainiusra,
I have the same cases recently and this is a way to do it :
1. In the export script creates iteration that getting the information about section name in this case you could use : document.pages(i).Sectionname
2. Keep the initial section name and current into variables (say : dim initialsectionname, currentsectionname as string)
3. Say in the pages (1,2,3) from 10 pages is documentsection A then change the pages property pages.item(x).excludedFromDocumentImage = True
example : For i=0 to 2
Document.Pages.item(i).excludedFromDocumentImage = True
Next
For i = 3 to 9
Document.Pages.item(i).excludedFromDocumentImage = False
Next
Document.Saveas(yourfilename, imageoptions) --> please create the object imageoptions by refering the help files.
4. This code should be interated for each new document section found.
Hope this will be useful.
That's great. Sorry for the late reply then
サインインしてコメントを残してください。