

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
16 messages in org.openoffice.fr.progRe: [prog] macro export xml| From | Sent On | Attachments |
|---|---|---|
| zowix | Mar 7, 2007 5:55 am | |
| Cezame Concept | Mar 7, 2007 7:50 am | |
| emma...@fr.thalesgroup.com | Mar 8, 2007 12:42 am | |
| zowix | Mar 8, 2007 12:59 am | |
| Bob | Mar 8, 2007 4:02 pm | |
| Bob | Mar 8, 2007 4:06 pm | |
| zowix | Mar 9, 2007 1:49 am | |
| Cezame Concept | Mar 9, 2007 1:55 am | |
| emma...@fr.thalesgroup.com | Mar 9, 2007 3:33 am | |
| eric Multeau | Mar 9, 2007 4:14 am | |
| zowix | Mar 9, 2007 5:34 am | |
| zowix | Mar 9, 2007 5:39 am | |
| Cezame Concept | Mar 9, 2007 5:49 am | |
| zowix | Mar 9, 2007 6:02 am | |
| Cezame Concept | Mar 9, 2007 6:40 am | |
| zowix | Mar 12, 2007 2:31 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [prog] macro export xml | Actions... |
|---|---|---|
| From: | Cezame Concept (ceza...@wanadoo.fr) | |
| Date: | Mar 7, 2007 7:50:13 am | |
| List: | org.openoffice.fr.prog | |
Voila ci dessous une méthode sous VB Express 2005
Function EnregistrerSousFormat(Optional ByVal psCheminComplet As String = "",
Optional ByVal EstCopie As Boolean = False, Optional ByVal Ecraser As Boolean =
False, Optional ByVal Format As String = "writer8") As String
Dim Arguments(1)
Dim sNomDocument As String
On Error GoTo Sortie
Arguments(0) = MakePropertyValue("OverWrite", Ecraser)
Arguments(1) = MakePropertyValue("FilterName", Format)
'Formatage du chemin du fichier
sNomDocument = ConvertToUrl(psCheminComplet)
'Enregistrement du document
If EstCopie = True Then
Call oDocument.storeToURL(sNomDocument, Arguments)
Else
Call oDocument.storeAsURL(sNomDocument, Arguments)
End If
EnregistrerSousFormat = psCheminComplet
Sortie:
EnregistrerSousFormat = ""
End Function
Les formats sont les suivants ...
CAS ".ODT"
LibelleFormat = "writer8"
CAS ".OTT"
LibelleFormat = "writer8_template"
CAS ".SXW"
LibelleFormat = "StarOffice XML (Writer)"
CAS ".DOC"
LibelleFormat = "MS Word 97"
CAS ".RTF"
LibelleFormat = "Rich Text Format"
CAS ".TXT",".INI",".LOG"
LibelleFormat = "Text"
CAS ".PDF"
LibelleFormat = "writer_pdf_Export"
CAS ".HTML", ".HTM"
LibelleFormat = "HTML (StarWriter)"
CAS ".XML"
LibelleFormat = "MS Word 2003 XML"
Mais attention j'ai de multiples problèmes avec le XML voir mes post précédent
....
Je pense qu'on peux se compléter pour réaliser des commandes depuis des
applications externes... En ce moment j'essaies de faire des planches
d'étiquettes depuis une appli de gestion et je galère pour déclarer la source de
données sous oOWriter
Bon Courage et bon Dev
Cezame
PS : tiens moi au courant de ton avancement
ceza...@wanadoo.fr
Message du 07/03/07 16:20 De : "zowix" A : pr...@fr.openoffice.org Copie à : Objet : [prog] macro export xml
salut je cherche désespéremment une macro pour enregistrer un fichier xls, odt, ods en xml, si possible avec une dtd accessible sur internet. j'ai déjà récupéré une macro pour enregistrer un doc, xls, ppt en format openoffice ou pdf, et j'ai fait une interface graphique en c# (oui bon je compte la faire en delphi mais ce sera plus long). voilà si quelqu'un a de quoi me sortir de mon problème...
pour info dès que l'interface graphique est terminée je la publie sur mon site http://zobicket.free.fr.
amicalement, alex
--------------------------------------------------------------------- To unsubscribe, e-mail: prog...@fr.openoffice.org For additional commands, e-mail: prog...@fr.openoffice.org
--------------------------------------------------------------------------------------- Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.







