Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Export to Visio - Text alignment and other issues (Read 986 times)
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 153
Location: England
Joined: Oct 23rd, 2006
Export to Visio - Text alignment and other issues
Sep 11th, 2025 at 11:26am
Print Post  
When exporting a chart to Visio, the text alignment (left, right, centre) is not preserved and boxes with the same Pen and Brush as the chart background are also not handled well. Example images are attached.

DavidL
  

Visio_-_Not_OK.png ( 36 KB | 50 Downloads )
Visio_-_Not_OK.png
MindFusion_-_OK.png ( 18 KB | 38 Downloads )
MindFusion_-_OK.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Export to Visio - Text alignment and other issues
Reply #1 - Sep 12th, 2025 at 10:30am
Print Post  
Do you open the exported file in Visio itself, or one of the free online viewers? The exporter only adds stencil name and formatting property values, and relies that Visio would render the shapes by running stencil formulas on the XML description. On the other hand, online viewers rely on cached lower-level graphics primitives, which we do not add to exported files, and they usually render just generic rectangles and unformatted texts instead.

Regards,
Slavcho
Mindfusion
« Last Edit: Sep 12th, 2025 at 11:36am by Slavcho »  
Back to top
 
IP Logged
 
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 153
Location: England
Joined: Oct 23rd, 2006
Re: Export to Visio - Text alignment and other issues
Reply #2 - Sep 15th, 2025 at 10:09am
Print Post  
I used the copy of Visio that is part of Microsoft 365.

DavidL
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Export to Visio - Text alignment and other issues
Reply #3 - Sep 17th, 2025 at 6:21am
Print Post  
Try this build for alignments -

https://www.nuget.org/packages/MindFusion.Diagramming/7.1.1-beta1

We could not reproduce wrong colors, please attach saved diagram XML or test project for our developer to investigate.

Regards,
Slavcho
Mindfusion
  

visio_align.png ( 21 KB | 39 Downloads )
visio_align.png
Back to top
 
IP Logged
 
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 153
Location: England
Joined: Oct 23rd, 2006
Re: Export to Visio - Text alignment and other issues
Reply #4 - Sep 17th, 2025 at 9:21am
Print Post  
The text alignment works well now. Thank you.

The problem with other boxes that should not be coloured might be something to do with the 'Transparent' attribute being ignored.  To add a 'Sequence Number' box above the main box the code is...

            seqNoLabel.Text            = "1.2.3";
            seqNoLabel.TextFormat  = new StringFormat { Alignment = StringAlignment.Near };
            seqNoLabel.Transparent = true;
            seqNoLabel.Locked        = true;
            seqNoLabel.Expandable  = false;
            seqNoLabel.Font            = LabelFont;
            seqNoLabel.TextBrush    = TextBrush;

DavidL
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Export to Visio - Text alignment and other issues
Reply #5 - Sep 18th, 2025 at 8:00am
Print Post  
Try new build for Transparent nodes -

https://www.nuget.org/packages/MindFusion.Diagramming/7.1.1-beta2

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 153
Location: England
Joined: Oct 23rd, 2006
Re: Export to Visio - Text alignment and other issues
Reply #6 - Sep 23rd, 2025 at 8:42am
Print Post  
Thank you, the transparent boxes now work fine, but there are still a lot of issues. I can detail them if you want to continue developing this feature, but this investigation was prompted by a question from a possible customer of our software that has not purchased anything yet. So I am tempted to return to this when they have confirned a purchase.

Thanks for your help.
DavidL
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Export to Visio - Text alignment and other issues
Reply #7 - Sep 23rd, 2025 at 10:21am
Print Post  
Let us know if you think anything specific would help close the sale Wink We don't mind either way, nowadays our releases are mostly customer-requested features anyway.

Regards,
Slavcho
Mindfusion
« Last Edit: Sep 23rd, 2025 at 12:53pm by Slavcho »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint