SilverDox implementation for a pdf

45 views
Skip to first unread message

Bhanu

unread,
Oct 5, 2010, 8:14:25 AM10/5/10
to silverdox
Hi Guys,

Just explored your SilverDox application, nice job done.
As far as i understand SilverDox publisher converts various file
formats to .xod which is then viewed in your SilverDox viewer.
My question is that is it possible to directly load a pdf document
and view it in your viewer.
Your IPartRetriever interface is made to work with .xod file formats
only?
Your suggestion is really awaited

Regards,
Bhanu

Support

unread,
Oct 5, 2010, 8:08:54 PM10/5/10
to silverdox
SilverDox viewer currently works with XOD files (which are essentially
XPS files, but optimized for Silverlight viewing). The viewer does not
directly support PDF although the publisher component (via: DocPub or
PDFNet) offers a direct, high-quality PDF to XOD converter.

Bhanu

unread,
Oct 6, 2010, 3:05:49 AM10/6/10
to silverdox
Thanks for such a prompt reply.
Ok so we need to work with the XOD format.
I explored your application a little more and it uses Silverdox.dll in
place of PDFNet.dll which is the base of windows version of your
viewer.
Few more concerns:-
1) Do we have highlight annotations in this application.I checked and
there was Link class which i think will work as Link annotations but
can we work with highlight annotations as well.
2) Do we have any provision of opening/converting password protected
pdf document?
3) Can we capture double click event on text of the document?

Regards,
Bhanu

Support

unread,
Oct 8, 2010, 8:00:50 PM10/8/10
to silverdox
> 1) Do we have highlight annotations in this application.I checked and there was Link
> class which i think will work as Link annotations but can we work with highlight
> annotations as well.

SilverDox currently preserves links, however because XPS standard
doesn't support other annotation types PDF annotations are currently
flattened. We are in the process of adding built-in support for
various markup types including PDF forms (as part of a custom
namespace) and they will be part of a future version of SilverDox.
Please keep in mind that nothing prevents you from implementing your
own markup/annotation types on top of page content Xaml.

> 2) Do we have any provision of opening/converting password protected pdf document?

Both PDFNet SDK and DocPub support password protected documents.

In case of PDFNet you can specify the password in the call to
pdfdoc.InitStdSecurityHandler("my pass") - as shown in EncTest
sample: http://www.pdftron.com/pdfnet/samplecode.html#EncTest.

In case of DocPub, you can use -p "my pass" option. Also DocPub will
prompt the user for a password if it is not specified (do disable this
behavior use
'--noprompt' option).

> 3) Can we capture double click event on text of the document?

This should be possible. For example you could override double click
event by deriving from DocumentViewer, then obtain the text object
associated with the current page (under the mouse click). Since other
SilverDox users may have similar interest, we will provide a new
sample showing to build custom tools on top of DocumentViewer.

Max Óizo

unread,
Apr 2, 2012, 6:36:08 PM4/2/12
to silv...@googlegroups.com
Hi guys,

Any news about "We are in the process of adding built-in support for various markup types including PDF forms (as part of a custom namespace)" ?

Regards,
Max
Reply all
Reply to author
Forward
0 new messages