* Bug #7203 fixed - Help page of titlepage was unclear. 51/14551/3
Charlotte HECQUET [Tue, 20 May 2014 14:32:16 +0000 (16:32 +0200)]
Change-Id: Idfa9b96b512efc20df218f3d3dd10995071c841d

scilab/CHANGES_5.5.X
scilab/modules/graphics/help/en_US/text/titlepage.xml
scilab/modules/graphics/help/fr_FR/text/titlepage.xml
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/titlepage_en_US_2.png [new file with mode: 0644]
scilab/modules/helptools/images/titlepage_fr_FR_2.png [new file with mode: 0644]
scilab/modules/helptools/images/titlepage_ru_RU_2.png [new file with mode: 0644]

index e771324..775d964 100644 (file)
@@ -10,6 +10,8 @@ Obsolete & Removed Functions
 Scilab Bug Fixes
 ================
 
+* Bug #7203 fixed - Help page of titlepage was unclear.
+
 * Bug #7549 fixed - edit_curv did not disable standard plot menus.
 
 * Bug #7804 fixed - Small improvements made in struct help page.
index 9591eca..afd2fe6 100644 (file)
@@ -33,9 +33,9 @@
     <refsection>
         <title>Description</title>
         <para>
-            <literal>titlepage</literal> displays the matrix of strings <literal>str</literal> in the middle of 
+            <function>titlepage</function> displays the matrix of strings <varname>str</varname> in the middle of 
             the current graphics window
-            with a font as big as possible.
+            with a font as big as possible, depending on the current axes and its geometry.
         </para>
     </refsection>
     
@@ -48,6 +48,28 @@ titlepage("This is the title of the page");
             titlepage("This is the title of the page");
         </scilab:image>
         
+        <programlisting role="example"><![CDATA[ 
+f=scf();
+a1=f.children;
+a1.margins(3)=0.61;
+a2=newaxes();
+a2.margins(4)=0.39;
+sca(a1);
+titlepage("Bottom title");
+sca(a2);
+titlepage("Top title");
+ ]]></programlisting>
+        <scilab:image localized="true">
+            f=scf();
+            a1=f.children;
+            a1.margins(3)=0.61;
+            a2=newaxes();
+            a2.margins(4)=0.39;
+            sca(a1);
+            titlepage("Bottom title");
+            sca(a2);
+            titlepage("Top title");
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index a85f629..535efd9 100644 (file)
@@ -23,8 +23,8 @@
     <refsection>
         <title>Description</title>
         <para>
-            <literal>titlepage</literal> affiche la matrice de chaînes de caractères <literal>str</literal> au milieu de  
-            la fenêtre graphique courante, avec la police la plus grande possible.
+            <function>titlepage</function> affiche la matrice de chaînes de caractères <varname>str</varname> au milieu de  
+            la fenêtre graphique courante, avec la police la plus grande possible, compte tenu de l'axe courant et de sa géométrie.
         </para>
     </refsection>
     
@@ -37,6 +37,28 @@ titlepage("Ceci est le titre de la page");
             titlepage("Ceci est le titre de la page");
         </scilab:image>
         
+        <programlisting role="example"><![CDATA[ 
+f=scf();
+a1=f.children;
+a1.margins(3)=0.61;
+a2=newaxes();
+a2.margins(4)=0.39;
+sca(a1);
+titlepage("Bottom title");
+sca(a2);
+titlepage("Top title");
+ ]]></programlisting>
+        <scilab:image localized="true">
+            f=scf();
+            a1=f.children;
+            a1.margins(3)=0.61;
+            a2=newaxes();
+            a2.margins(4)=0.39;
+            sca(a1);
+            titlepage("Titre du haut");
+            sca(a2);
+            titlepage("Titre du bas");
+        </scilab:image>
     </refsection>
     
     <refsection role="see also">
index d2a8edd..d681bb2 100644 (file)
@@ -1177,7 +1177,11 @@ taucs_chget_1.png=32b07f989646e18d80927a37e9a75ac5
 text_properties_1.png=e89c2e3ef82bc25441ef577e5ea69c6
 title_1.png=43bf4550c7c9b2de76ddd4eddb479b2b
 titlepage_1.png=917be99c9df0964672daa45c284de115
+titlepage_2.png=4442891fd6f287a8fb39b92006ff40c5
+titlepage_en_US_2.png=4442891fd6f287a8fb39b92006ff40c5
 titlepage_fr_FR_1.png=f76157d643854ea8716178823dd2680e
+titlepage_fr_FR_2.png=b709d54b9476c67d4272f1e086f33909
+titlepage_ru_RU_2.png=4442891fd6f287a8fb39b92006ff40c5
 trans_1.png=a5ddde2263a28ffaba21606bcfc2232
 unwrap_1.png=b55bd8834f6ed873c3c614d5b81a7484
 wavread_1.png=7f4fa7fd3215e86c6beac1b99ed5c107
diff --git a/scilab/modules/helptools/images/titlepage_en_US_2.png b/scilab/modules/helptools/images/titlepage_en_US_2.png
new file mode 100644 (file)
index 0000000..585327f
Binary files /dev/null and b/scilab/modules/helptools/images/titlepage_en_US_2.png differ
diff --git a/scilab/modules/helptools/images/titlepage_fr_FR_2.png b/scilab/modules/helptools/images/titlepage_fr_FR_2.png
new file mode 100644 (file)
index 0000000..368b6cc
Binary files /dev/null and b/scilab/modules/helptools/images/titlepage_fr_FR_2.png differ
diff --git a/scilab/modules/helptools/images/titlepage_ru_RU_2.png b/scilab/modules/helptools/images/titlepage_ru_RU_2.png
new file mode 100644 (file)
index 0000000..585327f
Binary files /dev/null and b/scilab/modules/helptools/images/titlepage_ru_RU_2.png differ