Editor for creating/editing XPS documents.

Hi,

As we haveXPS viewer for viewing the XPS documents, do we have any editor for creating/editing XPS documents.

Thanks,

M.S.Basha

[181 byte] By [MSBasha] at [2008-2-26]
# 1
XamlPAD that ships with platform SDK can be used to edit and also modified XPS contents can be viewed.
sivakami at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 2

Hi Siva,

Thanks for your reply.

How can we open a xaml file in the XamlPAD utility. As we dont have any options to open in the utility.

Secondly, I am able to extract the XPS document and made the changes to the files but i would like to again zip it back to XPS format which iam unable to do it, in order to see the changes in XPS viewer.

How can we zip the contents back to xps document format.. ?

Thanks

M.S.Basha

MSBasha at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 3
If I am understanding your question correctly, I do not think you will be able to re-zip the file. In "XPS Documents: A First Look at APIs for Creating XML Paper Specification Documents" under Navigating Through an XPS Document, the paper indicates that you will not be able to directly modify the existing XPS document. The author recommends reading in the existing document into your application, making the changes, then writing them out to a new document. From that, it would seem that you would have to save the new document then point your viewer to the new document in order to see the changes.

If you do find a method to make your edits visible without going through the procedure I suggest above, please post it as it would be quite helpful to a project I am working on. Thanks!

B.Clubb at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...
# 4

To edit the Fixed page contents, rename .xps to .zip file and extract to find fixedpagen.fpage(where "n" is page number).It starts with page width and height.Copy the code and paste it to XAML pad.U can modify it.After editing place the contents back to the extracted folder,zip it and rename to .xps to view the modified fixed page contents.

Regards,

Sivakami V

sivakami at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...

Software Development for Windows Vista

Site Classified