Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem exporting to PDF (Read 5219 times)
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Problem exporting to PDF
Apr 3rd, 2009 at 4:41pm
Print Post  
Hi there,

Using this configuration:

{MindFusion.Diagramming.Wpf.Export.PdfExporter}
    AutoOrientation: true
    AutoScale: FitToPage
    InvisibleItems: false
    Margins: {48,48,48,48}
    PageOrientation: Landscape
    PageSize: DiagramSize
    Scale: 100.0

With this diagram:



I get this:



Happens the same if I use A4 size Tongue

what could be the problem?

Cheers
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem exporting to PDF
Reply #1 - Apr 6th, 2009 at 9:11am
Print Post  
Hi,

What the exporter does is to enumerate all Visuals in the WPF visual tree and create corresponding PDF codes. Seems in your case it got to the "..." glyph and stopped there, perplexed by its complexity Wink Does it work better if you resize the OSHYMEETING table so there are no "..." symbols?

Stoyan
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: Problem exporting to PDF
Reply #2 - Apr 6th, 2009 at 11:05am
Print Post  
ermm...  Shocked

Yeah, your explanation makes sense... but I can't say that to my clients  Tongue

Is it possible avoid that check somehow? or detect when a text is cut? We handle some diagrams with almost 200 TableNodes... we can't say to the people "go one by one and ensure each one is big enough if you don't wanna get a partial print" Smiley

Could you fix it for the next release?

Cheers.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem exporting to PDF
Reply #3 - Apr 6th, 2009 at 12:50pm
Print Post  
Of course we'll fix it.

Cheers.
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: Problem exporting to PDF
Reply #4 - Apr 7th, 2009 at 9:33am
Print Post  
Thank you.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem exporting to PDF
Reply #5 - Apr 7th, 2009 at 12:11pm
Print Post  
The problem happens because PdfExporter sets some strange font for the ellipsis symbol. Doesn't Adobe Reader ask you to install some additional fonts when you open that PDF file? If you let it install the fonts, the ... symbol and everything coming after it should be rendered fine. If you cancel it, the rendering stops when the reader reaches the ellipsis.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem exporting to PDF
Reply #6 - Apr 9th, 2009 at 10:16am
Print Post  
Please try that with the version from the PM page.
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: Problem exporting to PDF
Reply #7 - Apr 10th, 2009 at 11:40am
Print Post  
Looks pretty good, but I've found two issues:

1) Something happens with the text in one of the nodes. The text is cut in the word "maintenance", and appears stepped above, and from smaller font to bigger:


2) The control for scroll is not cropped:


BTW, I see a "DataBinding" dll Cheesy, is it functional?

Cheers.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem exporting to PDF
Reply #8 - Apr 12th, 2009 at 10:38am
Print Post  
Could you email us the XML for that diagram? Databinding works in read-only mode at this time. You can see how to set it up from our test projects here -
https://mindfusion.eu/_beta/wpfdiag_binding.zip

Stoyan
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: Problem exporting to PDF
Reply #9 - Apr 14th, 2009 at 1:27pm
Print Post  
Ok, I'll send it tomorrow.

Only readonly? what a shame Cheesy I'll try it anyway when I have some free time. Let me know when it become TwoWay databinding Wink

Cheer.s
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint