Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - johann

Pages: [1] 2
1
General Board / Re: Simple way to migrate from 32 to 64 Version
« on: March 21, 2025, 10:43:57 pm »
We have not yet performed the migration, but have observed that the custom options are located elsewhere in the Windows Registry for the 64-bit version.

Maybe the following command in the shell could help:

reg copy "HKCU\SOFTWARE\Sparx Systems\EA400\EA\OPTIONS" "HKCU\SOFTWARE\Sparx Systems\EA64\EA\OPTIONS" /s

One could even use the syntax '[\\Machine\]Fullkey' to reach remote computers.

2
General Board / Re: [email protected] mailbox quota exceeded?
« on: September 19, 2024, 06:35:27 pm »
You are lucky - we sent a support request ten days ago and received no response at all  :-\

3
General Board / Re: SVG export
« on: September 10, 2024, 08:40:24 pm »
This in now implemented with release candidate build 1702 - Thanks Sparx!

4
I'm not sure if this helps you: The image maps in the HTML report contain the exact positions of diagram objects in the exported PNG diagram images (but just for some object boxes).

For example:

Code: [Select]
<div class="diagram_image">
  <img src="EA2.png" usemap="#EA2" border="0">
  <map name="EA2">
    <area shape="rect" coords="270,290,480,489" href="EA14.htm" target="_self">
    <area shape="rect" coords="50,290,240,390" href="EA15.htm" target="_self">
    <area shape="rect" coords="50,67,483,245" href="EA13.htm" target="_self">
  </map>
</div>

5
I hope this doesn't disclose a business secret:

Decode the BASE64 and replace the first two bytes (letters "SS") with the letters "PK" - now you have a valid PKZip archive format.

Extract the (single) entry "str.dat":

Code: [Select]
<?xml version="1.0" standalone="no" ?>
<translations><translation language="nl" nameLocked="0" aliasLocked="0" notesLocked="1" nameChecksum="0" aliasChecksum="0" notesChecksum="0" name="" alias="">Dit zijn enkele aantekeningen in het Nederlands, de secundaire taal van EA. Het vertalen gebeurt nog steeds handmatig.</translation></translations>

We sometimes also extract stuff from the t_documents table, but we have not seen this kind of obfuscation(?) before.

Why "SS"?
Maybe it's short for "Sparx Systems" - you have a "Sparx Systems" ZIP format!

7
The format of the notes field is not HTML. It is plain text that supports a very limited set of HTML tags.
Your problem is that white space is significant in plain text, but not in HTML.

This can be fixed in a Browser by applying proper CSS styles for white space, for example:

Code: [Select]
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Sparx Notes</title>
    <style>
      .note { white-space: pre-wrap; }
      .note ul, .note ol { white-space:normal; margin:0; }
      .note li { white-space:pre-wrap; }
    </style>
  </head>
  <body>
    <div class="note" xml:space="preserve"><b>Test Step 1</b>
Results of all tests: PASSED

<b>Test Step 2</b>
<ul>
<li>Result of all tests: PASSED</li>
<li>MC/DC (if available) or Branch Coverage = 100%
If 100% coverage could not be reached for individual units, an explanation has to be provided.</li>
</ul></div>
  </body>
</html>

8
General Board / Re: SVG export
« on: May 12, 2023, 05:44:14 pm »
we submitted feature request - support SVG for API function PutDiagramImageToFile() - early this year.

Response from the support team:

Quote
Unfortunately we did not and do not make any promises about time frames for any feature request. While I personally believe it will be implemented at some point in the future, I can't offer you any kind of time frame.

9
General Board / Re: SVG export
« on: May 10, 2023, 09:34:53 pm »
I have version V1.0.6 of the extension installed and run Enterprise Architect 16.1.1625 (32-bit) - it is still functional!

Note that the extension was built against the old Microsoft .NET Framework v4 - you require a corresponding runtime on your PC.

10
Suggestions and Requests / Re: RTF generation with images and tables
« on: December 14, 2010, 03:15:35 am »
hi skiwi,

..one example is the generation of a thorough traceability matrix of requirements/solutions/realisation/verification for the development of software for safety critical systems (as demanded by the standards document IEC61508).

regards
Johann

11
Suggestions and Requests / Re: RTF generation with images and tables
« on: December 11, 2010, 02:25:34 am »
Hallo Eugen,

for a past project we tried to generate a Word document using RTF templates and document generation out of Enterprise Architect. We tried hard for several weeks, but ran into problems for several reasons:
  • The RTF templates you can build are very limited, there were many relationships between linked elements that we wanted to document, but that simply could not be expressed with a template.
  • there is no possibility to add images or tables to the content. You can place them in linked documents, but there was no way to embed these documents into the final document.
  • the final Word document suffered from broken formatting and needed manual post processing.

Finally, we gave up generating an Word document. EA is not a proper tool for this kind of output, and Microsoft Word makes all even worse.

Then we came up with the following solution:
We exported all packages of our model to XMI format. The images and tables in the linked documents where exported (in HTML format), too. Then we ran XSLT stylesheet on the XMI data that replaced the RTF templates and additionally integrated the content of the linked documents into the documents. The format of the resulting documents was XHTML that could be easily converted to PDF.

That worked great and produced the desired documents. But if it is done this way, one needs proficient knowledge in XML, XSLT and XHTML/CSS technology.

12
General Board / Re: Render the EA notes format in external formats
« on: August 08, 2013, 07:29:58 pm »
We also extract the notes text directly from the database for our (XHTML based) documentation and we made the following observations:

The format of the notes field has (silently) changed during the last years. For example, in older versions of EA the string "-> Research & Development" was stored as such in the database. However, since the support of HTML markup the string is stored as "-&gt; Research &amp; development". If you have a long lasting project (using different versions of EA) it is likely that you have both types. Then you need to analyze the contents in order to decide if it is plain text or markup.

And yes (Geert noted this): Line breaks are significant (not like in HTML) - you have to replace them with a <br/> tag, if you want to generate HTML format. But there are also line breaks in places where you should not replace them (inside list tags).
Other whitespace is significant in the notes text, but not in HTML. Spaces get lost unless you replace them with &nbsp; characters.

13
General Board / Re: Exporting diagrams from EA to VISIO
« on: July 03, 2013, 06:46:43 am »
KN,

print the diagram to PDF format (is in the File menu) and post a link to that file, if that is possible.
I will have a look at the diagram!

Johann

14
General Board / Re: Exporting diagrams from EA to VISIO
« on: June 26, 2013, 12:22:24 am »
Few people know that VISIO has excellent support for the SVG graphics format.

Thus, you could use our SVG export Add-in (http://community.sparxsystems.com/community-resources/706-svg-diagram-export-add-in to save the diagram, and simply load the svg file in VISIO!

Johann

15
Automation Interface, Add-Ins and Tools / Re: SVG Diagram Export Add-In
« on: February 25, 2014, 08:37:13 pm »
[highlight]Update to version V1.0.6 of the Add-in[/highlight]
  • We tried to embed some information (e.g. guid, note) about the diagram elements in the SVG file. The metadata is attached to <text> elements (wrapped into SVG <desc> elements)
  • The SVG output can now be customized by a (optional) final XSL transformation. If a stylesheet named "SVGExport.xsl" is present in the installation folder, it is applied to the output. There are some example stylesheets pre-installed, see the file README.txt!
  • The Add-in offers a way to automate the SVG export of diagrams. There is a method provided that can be called from your C# code (see README.txt for details)
  • We now have a (quite liberal) license. If you scroll down the license terms during installation you will even find a email address for submitting feedback.

Pages: [1] 2