16 messages in org.openoffice.fr.progRe: [prog]  macro export xml
FromSent OnAttachments
zowixMar 7, 2007 5:55 am 
Cezame ConceptMar 7, 2007 7:50 am 
emma...@fr.thalesgroup.comMar 8, 2007 12:42 am 
zowixMar 8, 2007 12:59 am 
BobMar 8, 2007 4:02 pm 
BobMar 8, 2007 4:06 pm 
zowixMar 9, 2007 1:49 am 
Cezame ConceptMar 9, 2007 1:55 am 
emma...@fr.thalesgroup.comMar 9, 2007 3:33 am 
eric MulteauMar 9, 2007 4:14 am 
zowixMar 9, 2007 5:34 am 
zowixMar 9, 2007 5:39 am 
Cezame ConceptMar 9, 2007 5:49 am 
zowixMar 9, 2007 6:02 am 
Cezame ConceptMar 9, 2007 6:40 am 
zowixMar 12, 2007 2:31 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog]  macro export xmlActions...
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