[EMAIL PROTECTED] wrote: > > Having not looked at the code to implement this, is the process XP-clean > enough to fit nicely in such an wp/ap/xp/ap_Convert.cpp? It seems to > me like the process would have very clean entry points (give it the source > file, the target file(s), and the output format(s), and let it do all the > doc loading/converting/saving magic), so that this could be easily > implemented with a few lines of code in each platform. Yes, but the loading/converting/saving magic takes ~6 lines of code. I think that we have to include in the ap_Convert.cpp the code to "calculate" the target filename in function of the source file. The code that I've done make this: Conversion: AbiWord -> LaTeX filename.abw -> filename.latex filename -> filename.latex i.e., if the file has an extension, we change it. If not, we add one. Does make any sense include this code to ap_Convert module? -- Joaqu�n Cuenca Abela e-mail: [EMAIL PROTECTED]
