LibreOffice2TASTE

From TASTE
Revision as of 12:46, 3 May 2012 by Julien (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

LibreOffice Draw file to TASTE

Requirements

  • Working perl environment (package perl-base on Debian)
  • The OODoc Perl Module (package libopenoffice-oodoc-perl on Debian)


Usage

The purpose of this tool is to export an existing LibreOffice Draw file into a TASTE model. However, the produced models are skeletons and thus, need to be completed later to software engineers. However, it can help the design of new systems by just representing the main architecture in a convenient graphical tool.

Command-line use

The tool has the ability to produce the Interface and Deployment Views from LibreOffice Draw (.odg) files :

  • To generate the Interface View, call the tool like this :
    odg2taste.pl --file=yourfile.odg
    
    . The interface view is produced on the standard output, you can redirect it a file.
  • To generate the Deployment View, call the tool like this :
    odg2taste.pl --deploymentview --file=yourfile.odg
    
    . The deployment view is produced on the standard output, you can redirect it a file.

Then, you can import these files into the graphical tools, complete the design, generate the code skeletons and build your system using the other tools of the platform.


Tool availability

At this time, this tool is available in the Subversion Repository, in the misc/experiments/odg2taste directory.


Example

LibreOffice Draw file

LibreOffice2TasteODG.png


Interface View

LibreOffice2TasteIV.png

Deployment View

LibreOffice2TasteDV.png