• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    DWF

    Reply
    Member
    Tiands
    Posts: 3
    Registered: ‎02-23-2011

    Migrating a RIP from DWF to DWFx

    167 Views, 1 Replies
    02-23-2011 09:05 AM

    I'm searching for documentation / samples regarding the following task:

    I have got a software rip for DWF files (and for lots of other file formats as well) using dwftoolkit 7.6

    I would like to add DWFx ripping capability to my rip.

     

    Somwhere I read things like "there's an kompatibily layer so that one can re-use 95% of code" when migrating from DWF to DWFx. But sadly I didn't find a starting point...

     

    I can not be the only one having this task?

    Please use plain text.
    Employee
    Posts: 7
    Registered: ‎09-05-2007

    Re: Migrating a RIP from DWF to DWFx

    02-23-2011 01:34 PM in reply to: Tiands

    If you look at the DWF toolkit samples, specifically W2dtest and XPSTest, you'll see that the w2d output is done using a class factory. You can change to w2x by changing that code.

     

    As far as the package goes, you'll have to use the DWFXPackageWriter and/or DWFXPackagePublisher (SimpleXPS sample) instead of the DWF6PackageWriter.

     

    Hope this helps,

    Gyuri Ordody

    Principal Engineer

    Autodesk Labs

    Cheers,
    Gyuri Ordody
    Autodesk Labs
    Please use plain text.