Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Composite Node PDF export (Read 2099 times)
SteveDTC
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: May 11th, 2011
Composite Node PDF export
May 11th, 2011 at 8:39pm
Print Post  
I recently switched a diagram control in one of our apps from using standard RoundRect shape nodes with an attached Rect node as a subordinate node to the new Composite Node type. I do like the control and flexibility I get with the composite nodes.

However, I'm running into problems when exporting the diagram into PDF format. The export completes successfully, but the nodes in the PDF document do not have any text on them. I get images, borders, links, gradients, etc. but no text.

Exporting to PNG looks like it's working fine. Those are the only 2 export options I allow in the app right now.

On a related note, I tried to enable an Overview control for this diagram and I started getting the same disappearing text on the DiagramView itself (on composite nodes) while the overview was in use. Sometimes when rendering the diagram even the composite node layouts themselves would break (elements out of place, etc.)

Any ideas?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Composite Node PDF export
Reply #1 - May 12th, 2011 at 10:44am
Print Post  
There was a bug in PdfGraphics.DrawString that clipped the text incorrectly if Graphics.Clip was set after Graphics.Transform, and CompositeNodes do that a lot... Could you try exporting with this version?
https://mindfusion.eu/_beta/fcnet563.zip

We could not reproduce the Overview problem. If it still happens with the latest version, could you post here your node components setup code or xml, or email it to support@mindfusion.eu?

Thanks,
Stoyan
  
Back to top
 
IP Logged
 
SteveDTC
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: May 11th, 2011
Re: Composite Node PDF export
Reply #2 - May 12th, 2011 at 3:40pm
Print Post  
The 5.6.3 beta assemblies fixed the PDF export, but I'm still seeing node text display problems with an active Overview control. It seems to be worse when the scale of the Overview is very low (FitAll = True).

I've emailed the support address with a diagram XML export and screenshots of the problem.

Thanks for your help!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Composite Node PDF export
Reply #3 - May 13th, 2011 at 10:32am
Print Post  
We still can't reproduce the Overview problem. Could you send us the code you use to setup the CompositeNodes if adding components programmatically, or the xml code if defining them through xml (similar to EmployeeNode.xml.cs if you have based your nodes on EmployeeNode from the demo)?

Thanks,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint