Report Engin - missing vertical border of tables

Hi all,

i made a document with report engine to export it to Word, before printing it.

I do not see any vertical border of my tables describing attributes, association, and so on. I try on another computer, and there is the same trouble. Finally all the tables look bad at export :frowning:

If i add them manually when i refresh my document with model, all become again without vertical borders.

Same with the fon used, sometimes i have special font without knowing why it appears…

If anybody can help me !

thanx a lot.

Arnaud.

Hi Arnaud,

Thanks for your post. May I know are you talking about those grey vertical line as shown as the attached image?

If so, this is only the bound of the table and not the “real line”. Do you really want to make it be the “real line”?

Best regards,
Lilian Wong

border.png

yes it is exactly that !

when i export my report to Word and printing them, it looks hugly :(, uneasy to read.

Now with Agilian 1.4 i have another trouble : impossible to import Sequence diagram…

i’m registered now.

Hi Arnaud,

Thanks for replying and your registration. I’ve passed the issue of making the bound of table as “real line” to our engineers to study. If there is any news about this issue, I’ll notify you immediately.

About “impossible to import Sequence diagram”, may I know you are talking about which way to import Sequence Diagram, import XMI/XML or reverse from source code?

Best regards,
Lilian Wong

Hi,

well, my writings were not very precise.

Always in Report Engine, i try to drag’n drop a Sequence Diagram. it works perfect with Agilian 1.3, but yesterday we update to Agilian 1.4 and it is no longer possible to drag’n drop Sequence Diagram in a report.

I have tried it on 3 differents computer (but still on windows platform) and all the 3 were unsuccessful.

Arnaud.

Hi Arnaud,

Sorry for my late response. For the problem of dropping Sequence Diagram in the Report Writer, I’ve forwarded to our engineers to follow-up, and I’ll come back to you asap.

Regarding to making the bound of table to “real line”, you can get this by editing the related file. For example, for table of class’s attributes:
You will need to open the file at VPSuite/resources/Report/Default/Class/Attributes.xml to edit

  • leftBorderEnable = “true”
  • rightBorderEnable = “true”
    In the attached image shows an example of the results of modification.

If you need to change other tables, you will need to edit the relevant XML file inside VPSuite/resources/Report/Default folder.

Hope this help. If you need any help, please feel free to contact me again.

Best regards,
Lilian Wong

edit_xml.png

yeah !

it sounds great !

thanx a lot

Arnaud.

Hi,

i see that column binding is done with PropertyText = “xxx”. Does it mean that we can add property to custom table to have our own description table ?

in case of a postive response, is it possible to have all the property name usable for binding columns ?

thanx a lot

Arnaud.

Hi Arnaud,

Thanks for replying. Yes, you can customize the template to have your own description table in order to suit your report specification.

But I’m not sure about your meaning of “is it possible to have all the property name usable for binding columns”, could you please explain more? Thanks!

Best regards,
Lilian Wong

First Point : Missing Sequence Diagram
I found that the DiagramImage.xml for SequenceDiagram is now TaggedValue, the right DiagramImage.xml is in the deprecated directory

Second Point :
For instance i like to add getter and setter informations in the attributes description table. i havec tried :


<TableCell leftBorderEnable = "true" rightBorderEnable = "true">
    <BooleanPropertyText propertyText = "setter" style = "Table Contents"/>
</TableCell>

But the result is always false, even if i set the check box to true.

Third Point :
nothing to do withe the previous ones, but how can we add database type to our model (we have SQL Server 2005 specific type not present in the standard Entity Relationship diagram)

thanx a lot for all

Arnaud.

Hi Arnaud,

Thanks for replying. Regarding to the points:

First Point : Missing Sequence Diagram
Yes, you are right. Our engineers fixed this already and I’ll send you a patch on Monday.

Second Point : Add Getter & Setter Information
First of all, I would like to clarify that adding propertyText will only add row for showing the heading of row but not getting the value from the model.
Then let us come back to the issue. Do you mean you want to show “real line” in table but cannot make it works even you set “true” for “leftBorderEnable” and “rightBorderEnable”?
Would you mind sending the template you edited for us to take a look?
*If you do not want your file to be accessed by public, you can send it to lilian@visual-paradigm.com

Third Point : Add Database Type
May I know which edition are you using?
You need to use VP-UML/SDE Professional Edition or above, which supports database modeling, in order to add related database types to the models. You need to open the Database Configuration dialog box (Tools > Object-Relational Mapping(ORM) > Database Configuration…) first, set a database type as default database, then you will be able to add corresponding types for models.

If you are not using VP-UML/SDE Professional Edition or above, I’m sorry that there is no approach for adding the database types at the moment. I’m sorry about this fact.

Look forward to hearing from you again.

Best regards.
Lilian Wong

Hi,

First Point: great !

Second Point: I find the solution alone, the property name is hasSetter and hasGetter and not Setter or Getter.

Third Point: We have Agilian Standard Edition. So we just have our eyes to cry (french expression).

New Point:

As i have increase the numbers of columns in my tables, how we can fix the columns size in the UML element templates ? May be it’s obvious for people familiar with OpenOffice, but i’m not.

 
<TableBlock colWidths = "2100,13320" tableWidth = "15500" alignment = "right">

I have tried to updates this colWidths values bu i don’t understand how they work.

And how we can have the table starting earlier in the document (idon’t know if i’m clear enough : just want the table border to be more on the left than default).

Apologies for my bad english.

Arnaud.

Hi Arnaud,

For 1st point: missed Sequence Diagram, please find the patch containing the fix from the following link:
http://files2.visual-paradigm.com/200811/Patch/20081026n/VP_Suite_Windows_3_4_20081026n.exe

For your new point: consistent column width, you can ignore @colWidth.
e.g. VPSuite/resources/Report/Default/Class/Attribute.xml
When you changed to:

 <TableBlock tableWidth = "16000" alignment = "left"> 

You will get the result as shown as below image (Consistent column width).

In order to have the table border to be lefter, you can simply modify the margin of report (see the image “Margin”).

BTW, I have added some information about 3rd point, please check your private message.

For any further inquiry, please feel free to ask.

Best regards,
Lilian Wong

consistent_colWidth.png
margin.png

thanks !

it looks great.

Arnaud.

i haven’t receive any Private message ???

Hi Arnaud,

Sorry for missing the private message! :oops:
I just sent you the private message, please have a check and I hope the information is helpful.

Best regards,
Lilian Wong

I receive it,

thanks a lot.

Arnaud.

Hi Arnaud,

You are welcome.

Best regards,
Lilian Wong