Hello
The fact that the line number annotation is on two lines is because it is written with multiline text.
To resolve this problem you must create a new annotation block which will contain a non-multiline attribute definition and associate it with the line number annotation.
Process
Open project configuration
Step 1
In the iso symbols part, define a new block. I named it "AnnoStd" and used an existing block that I renamed.
In this "AnnoStd" block I created a new attribute of non-multiline type, retrieved the properties of the existing attribute, deleted the existing attribute and placed the new attribute at potion 0,0,0.

2nd step
Navigate to the XML code part of the iso style "IsoConfig.xml" file.
In the "Themes/Theme/Annotations/AnnotationStyles" section we create a new annotation style line. I named it "StandardLineNumber" by assigning it the "BlocName=AnnoStd" annotation block created in step 1.

Step 3
Still in the XML code, in the "Themes/Theme/Annotations/AnnotationSchemes" section we attribute to "LineNumberScheme" the name of the style "StandardLineNumber".
We record everything.

When running an iso output, the line number should now be written on a single line.
Due to its properties, the annotation comes from the "AnnoStd" block
See the video
== French ==
Le fait que l'annotation du numéro de ligne soit sur deux lignes provient qu'elle est écrite avec du texte multiligne.
Pour résoudre ce problème il faut créer un nouveau bloc d'annotation qui contiendra une définition d'attribut non multiligne et l'associer à l'annotation du numéro de ligne.
Processus
Ouvrir la configuration du projet
Etape 1
Dans la partie iso symboles, définir un nouveau bloc. Je l'ai nommé "AnnoStd" et je me suis servi d'un bloc existant que j'ai renommé.
Dans ce bloc "AnnoStd" j'ai créé un nouvel attribut de type non multiligne, récupéré les propriétés de l'attribut existant, supprimé l'attribut existant et placé le nouvel attribut à la potion 0,0,0.
Etape 2
Accédez à la partie code XML du fichier "IsoConfig.xml" du style iso.
Dans la section "Themes/Theme/Annotations/AnnotationStyles" on créé une nouvelle ligne de style d'annotation. Je l'ai nommé "StandardLineNumber" en lui attribuant le bloc d'annotation "BlocName=AnnoStd" créé à l'étape 1.
Etape 3
Toujour dans le code XML, dans la section "Themes/Theme/Annotations/AnnotationSchemes" on attribut à "LineNumberScheme" le nom du style "StandardLineNumber".
On enregistre le tout.
En lançant une sortie iso, le numéro de ligne doit être maintenant écrit sur une seule ligne.
De part ses propriétés, l'annotation provient bien du bloc "AnnoStd"
Cordialement
Dominique VAQUAND
www.dovaq.fr
Cordialement
Dominique VAQUAND
www.dovaq.fr
Cette publication vous a-t-elle été utile ? N’hésitez pas à attribuer la mention J’aime à cette publication.
Avez-vous obtenu la réponse à votre question ? Cliquez ensuite sur le bouton ACCEPTER LA SOLUTION.
