Book a Demo

Author Topic: Option to specify diagram image format?  (Read 5448 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Option to specify diagram image format?
« on: February 02, 2016, 10:14:46 pm »
Hi all,


I'm running into some problems when using MS Word's Save as PDF feature. In some cases, some images are corrupt and cause an error message when you try to display them in Adobe Reader. This seems to be a known bug in Word. This happens both with generated documents (generated to .docx) and with images copy/pasted from EA diagrams.

It seems that it's when an image is stored as an MS Office Graphic Object that the Word conversion process sometimes(?) fails. Metafiles seem to work.

So is there a way to force EA 11.1 to use metafile?

I haven't found an option for diagram copy/paste. Is there one?

In the document generation dialog Options tab, there's an option for diagram format (metafile/bitmap), but my documents are generated using the DocumentGenerator API and it doesn't have a method to set options.

We have a workaround, which is to skip Word's PDF generation and use a convert-to-PDF virtual printer instead, but is there a way to get EA to give Word a better chance at getting it right?

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Option to specify diagram image format?
« Reply #1 on: February 03, 2016, 08:32:15 am »
EA can also save directly to metafile, would that be an acceptable solution?

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Option to specify diagram image format?
« Reply #2 on: February 03, 2016, 07:33:14 pm »
Hi Simon,

Metafile should work, but I can't see how to force EA to do that when using the DocumentGenerator API.

?

/Uffe
My theories are always correct, just apply them to the right reality.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Option to specify diagram image format?
« Reply #3 on: February 04, 2016, 08:45:45 am »
Sorry, used the wrong word...

The document generator can save directly to PDF, preventing the need to use word to do that for you.

My version of EA has an output format combo on the document generator dialog, which includes PDF as an option. If I remember correctly, EA 11.1 should too.