It is mentioned in http://dwf.blogs.com/beyond_the_paper/2009/03/dwf-
Thank you for your questions.
No, DWFxConverter is not the Autodesk 7.6 Toolkit samples.
I can’t access the link: http://dwf.blogs.com/beyond_the_paper/2009/03/dwf-
Please let me know if you have any further questions.
No, I haven’t seen the DWFxConverter in any previous toolkit samples.
Please attach the DWFxConverter to this thread if you have any questions about the sample.
Looks like there is no explicit sample of that name in any of the published toolkits, however the "Aggregate" sample comes pretty close. Except it outputs dwf files instead of dwfx, and it actually aggregates dwf files' contents.
But if you change the DWF6PackageWriter to DWFXPackageWriter, you'll get the right output. In fact, you don't really want to aggregate either, so basically all you have to do is read in one file (DWF) and output the other (DWFx).
Hope this helps,
Thank you for the suggestion but that does not work well. In fact I had already tried that. The output seems to be a correct and you can open the file in ADR and it looks ok. However if you look inside things are not well, i.e., they are different from what you get converting using the DWFxConverter (that you can get from the link I provided before) and ADR and I think they may be wrong. For instance, the file FixedDocumentSequence.fdseq is not part of the resulting file (isn't this a requirement?). Also, there are files with the extensions .w2d and .ef_ inside the package. Is it ok to have these extensions? I looked at the output of ADR and DWFxConverter and I never see those extensions inside the package (instead I see stuff like .odttf).
But it could be that I am wrong and the resulting file is a valid DWFx file.... Can you comment on this?
You're right, it's kind of surprising that it can be opened at all.
The whole process should be opening and reading the DWF, creating a DWFx (using DWFXPackageWriter if I'm not mistaken) enumerating the components, and adding them to the DWFx unless they are w2d which should be converted to w2x and an extra resource using a w2d reader and a w2x writer (use the class factories from the samples).
Not sure if it's applicable, but ADR can be scripted, so for the offical convversion you might want to use that in a batch mode. (There is a batch printing sample in the blog, even with the source.)
Thank you. That confirms that what I have been trying to do goes in the right direction, albeit I have been unsuccesful so far.
The ADR scripting is not applicable because I want to do the conversion on a Mac OS...
Pardon my ignorance. I was really glad when I read that ADR can be scripted. But what kind of scripting can ADR do? Is it based on the API or some other script language (Vbscript?? ). Thank you for any response.
In short: ActiveX-based
Start with some of our most frequented solutions to get help installing your software.