Commit 9c05d7bd authored by primtux's avatar primtux

Réparations!

parent bb0f199f
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
# exec /usr/local/bin/primtux/handymenu-mini &
# exec /usr/local/bin/primtux/handymenu-super &
......
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
exec /usr/local/bin/primtux/handymenu-mini &
# exec /usr/local/bin/primtux/handymenu-super &
......
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
# exec /usr/local/bin/primtux/handymenu-mini &
exec /usr/local/bin/primtux/handymenu-super &
......
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
# exec /usr/local/bin/primtux/handymenu-mini &
# exec /usr/local/bin/primtux/handymenu-super &
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
# exec /usr/local/bin/primtux/handymenu-mini &
# exec /usr/local/bin/primtux/handymenu-super &
......
#!/bin/sh
roxterm -e 'bash -c "sudo gdebi /usr/share/primtux/ctparental_4.26.01-1.0.2_all.deb; exec bash"'
roxterm -e 'bash -c "sudo gdebi /usr/share/primtux/ctparental*.deb; exec bash"'
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
# exec /usr/local/bin/primtux/handymenu-mini &
# exec /usr/local/bin/primtux/handymenu-super &
......
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......
......@@ -5,7 +5,7 @@
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/primtux/.Xmodmap"
# xmodmap "/home/primtux/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
......@@ -29,6 +29,7 @@ exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
exec xfce4-panel &
exec lxpanel &
exec rox -p 1 &
exec setxkbmap fr &
# exec /usr/bin/BNE-Linux &
exec /usr/local/bin/primtux/handymenu-mini &
# exec /usr/local/bin/primtux/handymenu-super &
......
......@@ -44,9 +44,6 @@
<dlg:button dlg:style-id="0" dlg:id="Cmd_ouvrir" dlg:tab-index="4" dlg:left="185" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.ouvrir_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_enregistrer" dlg:tab-index="5" dlg:left="230" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.enregistrer_document?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:style-id="0" dlg:id="Cmd_imprimer" dlg:tab-index="6" dlg:left="275" dlg:top="5" dlg:width="42" dlg:height="46">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.boite_dialogue_validation_imprimer?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
......@@ -54,4 +51,4 @@
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Standard.Module4.fermer_boite_dlg_icones_cycle_1_3?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
\ No newline at end of file
</dlg:window>
......@@ -251,11 +251,11 @@ sub changer_police (nom_police as string,selection as Integer)
end sub
sub ecrire_cursif_selection
changer_police (&quot;Cursive standard&quot;,0)
changer_police (&quot;PlumBAE&quot;,0)
end sub
sub ecrire_cursif
changer_police (&quot;Cursive standard&quot;,1)
changer_police (&quot;PlumBAE&quot;,1)
end sub
sub ecrire_minuscule_selection
......@@ -692,7 +692,6 @@ end sub
sub quitter_openoffice_direct
&apos;procedure qui quitte open office sans demande de validation
enregistrer_document
fermer_openoffice
end sub
......@@ -949,38 +948,6 @@ sub init_dlg_enregistrer
end sub
sub enregistrer_document
&apos;procedure qui appelle la fenetre d&apos;enregistrement
if GB_session_actuelle = 1 or GB_session_actuelle = 2 then
if thisComponent.URL=&quot;&quot; then
&apos;le document n&apos;avait pas encore été enregistré, on ouvre la boite de dialogue
&apos;A_FAIRE: verifier si l&apos;initialisation a déjà été faite
init_dlg_enregistrer
GB_ouvrir_enregistrer=1
&apos; enreg_effacer_boutons
GB_dlg_prenom.Execute()
GB_dlg_prenom.dispose()
else
&apos;msgbox (&quot;Le document est enregistré&quot;)
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
else
if GB_session_actuelle = 3 then
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
dispatcher.executeDispatch(document, &quot;.uno:Save&quot;, &quot;&quot;, 0, Array())
end if
gerer_barres_session (GB_session_actuelle)
end if
end sub
sub ouvrir_document
&apos;procedure qui ouvre la fenetre d&apos;ouverture de document
......