Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Exporting to Visio - psDot & color complication (Read 1901 times)
mattref
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Oct 17th, 2007
Exporting to Visio - psDot & color complication
Nov 5th, 2007 at 6:57pm
Print Post  
I'm having a problem with the export to visio functionality. First off, note that I set the FlowChartX property PenStyle to psDot - effectively making all arrows sport a dotted look.

This looks great in FlowChartX, but if I export to Visio - the 'dotted' style is apparently very different. The dots are very small and difficult to see, even if they were set to have a color of black in FlowChartX. If I were to set the color of the lines to gray, then they are almost invisible when exported to Visio.

Do you know how I can make the resulting Visio diagram have lines that are more visible? Maybe a way to tweak the resulting Visio diagram's visual styles?

I could iterate through all arrows prior to the export and change them so they will be easy to see in the resulting visio doc (change penstyle or color), but I'm hoping you have a better alternative for me.

As always, any help is appreciated.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Exporting to Visio - psDot & color complic
Reply #1 - Nov 6th, 2007 at 6:19am
Print Post  
Hi,

I could not find any line style in Visio that looks exactly as psDot in FlowChartX. If you prefer some of the other Visio line styles, you could post-process the VDX file to change the styles generated by VisioExporter.

E.g. load the XML document using the XML DOM API, and select all Visio shapes using /Pages/Page/Shapes/Shape as an XPath expression. The ones that contain "Dynamic connector" in their Name attribute are the connector shapes created for the FlowChartX arrows.

In VDX the connector line style is defined via an XML element looking like this:

<Line>
  <LineWeight>0.010417</LineWeight>
  <LineColor>0</LineColor>
  <LinePattern>3</LinePattern>
  <Rounding>0</Rounding>
  <EndArrowSize>2</EndArrowSize>
  <BeginArrow>0</BeginArrow>
  <EndArrow>1</EndArrow>
  <LineCap>0</LineCap>
  <BeginArrowSize>2</BeginArrowSize>
  <LineColorTrans>0</LineColorTrans>
</Line>

You can see the Visio LinePattern integer IDs in the dialog opened by the "More Line Patterns" command. So for each connector shape replace the <LinePattern>3</LinePattern> element above with the pattern ID that you like, and finally save the document.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint