PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Apr 28, 2024 12:34 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Save document as XML
PostPosted: Sun Sep 13, 2009 9:27 pm 
Offline

Joined: Sun Sep 13, 2009 8:12 pm
Posts: 4
Hello again,

I see that you can save and reload a prepared document as a mdddl file.

I like the fornat of the mdddl file, however I would also like the prepared document class to be able to be serializable in .NET via the XmlSerializer.

When I tried to serialize a document as xml, I got various serialize errors. I then took the source code and made some changes to fix the errors (mainly adding serializeble attributes and hacking a bit), but it was getting a bit messy so I gave up.

It there a reason why the document class is not serializable? would it be difficult to make it serializable from .NET.

I have nothing against the mdddl file format, but my company is bending towards xml, and hence it would be preferable if possible.

Cheers,
Brian


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 389 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group