Page Index Toggle Pages: 1 [2] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Export Issues (Read 12626 times)
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #15 - Nov 27th, 2006 at 11:05am
Print Post  
Stoyan,

Thanks a ton, will try this and let you (as well as the fish Cheesy Wink ) know.

Cheers

Phil
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #16 - Nov 27th, 2006 at 11:13am
Print Post  
Ahhhh .... I see Namespaces have changed.
Anyone using these Dll's please have a look at the assembly in Object Browser and change the Namespaces.

Suddenly i have from 0 errors 0 warnings to 172 errors and 5 warning  8)

Cheers

Phil
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #17 - Nov 27th, 2006 at 11:42am
Print Post  
There seems to be some Design Time License Problem for the component.

I have sent you an email.

Please check and let me know.

Thanks in advance

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export Issues
Reply #18 - Nov 27th, 2006 at 12:09pm
Print Post  
We have renamed the "MindFusion.FlowChartX" namespace to "MindFusion.Diagramming.WinForms". Now it seems the component also requires changing the design time key in the registry. Open this key with RegEdit:

HKEY_LOCAL_MACHINE\SOFTWARE\MindFusion Limited\ComponentLicenses

and there rename "MindFusion.FlowChartX.FlowChart" to "MindFusion.Diagramming.WinForms.FlowChart".

Cheers,
Stoyan
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #19 - Nov 27th, 2006 at 2:06pm
Print Post  
Stoyan,

I checked the new dlls for PDF export and here are my findings -
1. When poly text layout is enabled, it shows empty boxes in PDF.
2. When Poly text layout is false, it shows text as per what is displayed on screen, but in a normal print out the labels on the boxes are unreadable (Autoscale as FitToPage).
3. When I do Autoscale as none, the diagram runs in 12 pages of PDF.
4. I tried all permutations and combinations of layouting, but the problem remains the same.

What I want is that the Graph displays as it is on the screen with paging.
I see a lot of blank spaces in the PDF after exporting with FitToPage and None for Autoscale.

Can i have something like, i define a rectangle exportable area and get only that area as exported?
Can i control the scaling applied in the Export of PDF? Something like value between FitToPage to None, (Which can scale up and down)
Can i have export preview (like print preview) and do some settinggs there with scaling and shifting to make the diagram printable.

The PDF's and the Diagram saved files are mailed to you.

Thanks in advance.

Cheers

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export Issues
Reply #20 - Nov 27th, 2006 at 2:20pm
Print Post  
I think the PdfExporter will export enough pages to fit the whole DocExtents area, so you might try to decrease it before exporting (or call FitToObjects). We can add a PdfExporter.ScaleFactor property, but after we release the 4.2.2 version of the control.

Stoyan
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #21 - Nov 27th, 2006 at 2:41pm
Print Post  
Stoyan,

Thanks a lot. I guess i will have to do some programmatic juggling to do that.

Well property would be great, but judging the scale factor at run time is the challange.

Let me see what my brains come out with, will bother you more with questions if i come across while racking the solution for the same.

Anyways thanks a ton. Cheesy

Cheers

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export Issues
Reply #22 - Nov 27th, 2006 at 5:00pm
Print Post  
So, you need to scale the diagram to fit it in a single PDF page, but have the fonts larger so the text is still readable?

PdfExporter always resizes the fonts when the scale changes, unlike the control itself. So the font.Unit = World trick doesn't help here Embarrassed Well, we will think of something for the next release.

Stoyan
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #23 - Nov 27th, 2006 at 6:14pm
Print Post  
Stoyan,

You read my mind ... Smiley.
I am thinking on other lines as well ... like export part diagram, export selection etc.

Maybe juggle around with redrawing the selected boxes and arrows on a new page, layout it and export.

Let me see how i can achieve this. I am more for the user to see and export it. My user will not export complete diagram as it would be a mess. Imagine printing 1000 odd boxes and 2000 arrows on a single page. we will probably have to sell him electron microscope as well Cheesy.

Anyways this needs some juggling as to -
1. Select .... Layout .... Export .... Print
2. Select one box .... Layout all connected boxes ... Redraw on new page .... Export ... Print

I would love to give him an export preview so that he can see how the output looks like. Looking at the preview he can adjust the scaling of the diagram as well as the box labels.

Hmmmm time to give some excercise to my grey cells Smiley 8)

Thanks a ton anywas

Cheers

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export Issues
Reply #24 - Nov 28th, 2006 at 5:52am
Print Post  
Hello Phil,

This version adds a Scale property to PdfExporter:
https://mindfusion.org/_beta/pdfscale.zip

The custom Scale value is used when AutoScale is set to None.

In addition, the exporter will now create pages only for the smallest rectangle that bounds all items, and not for the whole DocExtents.

Stoyan
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #25 - Nov 28th, 2006 at 7:15am
Print Post  
Stoyan,

Thanks a ton, will check it out and let you know.

Cheers

Phil
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #26 - Nov 28th, 2006 at 8:26am
Print Post  
Stoyan,

Automatic rectangle bounding the items on flowchart looks good, but as you see in the examples in the files mailed to you, it fails to reduce the space at the top.

The font problem seems to be solved and also scaling is good. Any chance of having a preview of scaling before export.

Is the scaling factor in relation to the Zoom Factor .... Like if i set the Zoom Factor the same as scaling factor and manually set the docextents to a landscape of A4 page, it would give me the exact output as the zoomed view on the screen??

If these are related, i can give an export preview, where the user can Zoom (scale), see the output and export.

Cheers

Phil
« Last Edit: Nov 28th, 2006 at 10:00am by Phil Jacques »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export Issues
Reply #27 - Nov 28th, 2006 at 10:13am
Print Post  
Phil,

We've made that similar to printing - the document area is cropped at the right and bottom sides of the objects' bounding rectangle, but not at the top and left ones. We'll add an ExportArea property to the next version to let you explicitly set the area.

Scale in PdfExporter should be the same as the flowchart's ZoomFactor, as long as font scaling is enabled in the flowchart using the World unit for fonts.

It might be possible to use the PrintPreview method for previewing the PDF  8) Just set the same paper size, orientation and margins. Well, as a side effect the user will be able to print the diagram be clicking the Print button.

Cheers
Stoyan
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Export Issues
Reply #28 - Nov 28th, 2006 at 10:30am
Print Post  
Stoyan,

That would be great. The user will then say ... "Heyy ... i can print this as well .... WOW i didnt know that!! Now i dont need that PDF .... Smiley " Grin. PDF is for sharing diagrams between users, sending by mail, blah blah blah blah.

On a serious note .... Just a final Question ... These dlls, u have sent me .... are there a build from V 4.2.2 ... or they would be in the later release (4.2.3/4.3.0/5.0)??

Same with the ExportArea property.

When would V 4.2.2 released?

Cheers

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export Issues
Reply #29 - Nov 28th, 2006 at 12:01pm
Print Post  
Phil,

These dlls are from version 4.2.2. We are currently testing it and updating the help files, and will release it in a few days. ExportArea and a few other small updates will be available in v4.2.3.

Cheers

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint