ElcioGoes / jodconverter

Automatically exported from code.google.com/p/jodconverter
0 stars 0 forks source link

macro execution options -- Constant Classes for Parameters having (String name) #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
setExportOption(DocumentFamily family,
                            java.lang.String name,
                            java.lang.Object value)

Can some one help me here. I am attempting to convert a word document 
which is generated with multiple macros, having multiple sections. When i 
generated PDF the numbers orders are getting messed up like section 1 has 
A,B,C Sub sections and Section 2 continues it sub sections as D, E, F 
instead of Restarting A,B,C as it is in Word document.

When i go thru the content in this page 
http://www.artofsolving.com/node/28, i came to know that we can 
have "macro execution flags" in document format. Can some one help me how 
to set this flag?

Is it in Source Document Format (Word Document format) as setExportOption 

OR 

in the generated PDF File PDF Document Format setImportOption

Content from http://www.artofsolving.com/node/28 Link
DocumentFormat pdf = ....
pdf.setExportOption("ExportBookmarks", Boolean.TRUE);

Map<String,Object> pdfOptions = new HashMap<String,Object>(); // generics 
not required
pdfOptions.put("ExportBookmarks", Boolean.TRUE);
pdf.setExportOption("FilterData", pdfOptions);

Thanks in advance,

What is the expected output? What do you see instead?
Developer knows what to pass, now with the existing API not able to 
understand what to pass.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mvg...@gmail.com on 5 Oct 2009 at 8:33

GoogleCodeExporter commented 8 years ago
It's the third time now that you open an issue here and I close it as Invalid,
telling you that this is not the right place to ask for help, and that you 
should
post on the group instead

  http://groups.google.com/group/jodconverter

Original comment by mirko.na...@gmail.com on 5 Oct 2009 at 9:33