Home › Forums › eaDocX queries › generate eaDocX files automated › generate eaDocX files automated
Home › Forums › eaDocX queries › generate eaDocX files automated › generate eaDocX files automated
You really as desperate….
sadly, it’s not that simple….eaDocX is designed to work with a UI, so I would need to cleanly separate the UI from the engine.
To get you started,
(in vb.net)
Dim g As New WordGenerator(neweaDocXMain)
g.profile = myProfile ‘Profile is an instance of DgDocumentProfile. I get if from the UI, which it turn got it from the current document.
g.activeDocument = aDoc ‘ This needs to be an instance of Microsoft.Office.Interop.Word.Document
…
‘(4) Generate the document
g.RunDocument()
You might be able to create a new WordGenerator with a null parameter, as that’s just a ref to the current UI, and I seem to check if there really is one.
I can’t help feeling that, without some radical re-factoring from me, this is doomed…
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.
Download