Re: where can I load windows DLL file

2012-03-27 Thread huqitu du
I have finished the work, and thank you a lot. by the way, I did it by rewrite the DLL's function to the filter model, and when LO open a abc.wps file will invoke my translate function. 2012/3/27 huqitu du huq...@gmail.com I don't need detect the file format, I only need to know the file

Re: where can I load windows DLL file

2012-03-26 Thread huqitu du
The DLL function is when LO open a .wps file(this file format is very common in china and not supported in LO yet), the DLL convert the .wps file into .odt format and open it. 2012/3/23 Tor Lillqvist t...@iki.fi I don't open DLL files, I invoke DLL's function. for example, when LO open a

Re: where can I load windows DLL file

2012-03-26 Thread Miklos Vajna
On Mon, Mar 26, 2012 at 03:17:19PM +0800, huqitu du huq...@gmail.com wrote: The DLL function is when LO open a .wps file(this file format is very common in china and not supported in LO yet), the DLL convert the .wps file into .odt format and open it. So if you already have a parser for it,

Re: where can I load windows DLL file

2012-03-26 Thread khagaroth
LO can open WPS (Woks) files just fine. Don't know if it handles Chines glyphs in WPS, but the English and Czech files I tried opened and displayed correctly. On Mon, Mar 26, 2012 at 03:17:19PM +0800, huqitu du huq...@gmail.com wrote: The DLL function is when LO open a .wps file(this file

Re: where can I load windows DLL file

2012-03-26 Thread Michael Meeks
On Mon, 2012-03-26 at 13:12 +0200, khagaroth wrote: LO can open WPS (Woks) files just fine. Don't know if it handles Chines glyphs in WPS, but the English and Czech files I tried opened and displayed correctly. Sure - so see the 'libwps' module with the parser for that. On Mon, Mar

Re: where can I load windows DLL file

2012-03-26 Thread huqitu du
I don't need detect the file format, I only need to know the file extension name and if it is .wps(for example abc.wps) when open file then lets my DLL function( the function can translate the wps file into LO file format) handle it, and the function will make a new file named .odt( for example

Re: where can I load windows DLL file

2012-03-26 Thread Fridrich Strba
Hello, Let me reply to this a bit more in length. On 27/03/12 02:45, huqitu du wrote: I don't need detect the file format, I only need to know the file extension name and if it is .wps(for example abc.wps) when open file then lets my DLL function( the function can translate the wps file into

Re: where can I load windows DLL file

2012-03-23 Thread Tor Lillqvist
I want to load some DLL files when Open File, how can I do this, please help! That doesn't make any sense, DLL files are not documents that could be opened in LibreOffice (or Microsoft Office, for that matter). Anyway, this is the developer list. Please ask on a user list or forum. --tml

Re: where can I load windows DLL file

2012-03-23 Thread huqitu du
I don't open DLL files, I invoke DLL's function. for example, when LO open a .txt file, my program(DLL function) handle something first and then let's LO process continue. 2012/3/23 Tor Lillqvist t...@iki.fi I want to load some DLL files when Open File, how can I do this, please help! That

Re: where can I load windows DLL file

2012-03-23 Thread Tor Lillqvist
I don't open DLL files, I invoke DLL's function. for example, when LO open a .txt file, my program(DLL function) handle something first and then let's LO process continue. OK. Then you need to look into customization of LO using some extension and modification of the configuration so that what

Re: where can I load windows DLL file

2012-03-23 Thread drew
On Fri, 2012-03-23 at 11:09 +0200, Tor Lillqvist wrote: I don't open DLL files, I invoke DLL's function. for example, when LO open a .txt file, my program(DLL function) handle something first and then let's LO process continue. Hi That is a fairly common request - if you would move it to

Re: where can I load windows DLL file

2012-03-23 Thread Jesús Corrius
Can you tell *why* you want to do this, by the way? What is the high-level goal? We might be ableto tell you better ways to achieve the same end result. Or, in case there is some reason for your users to want to avoid your code being called when they open a document, tell you how easy it will

Re: where can I load windows DLL file

2012-03-23 Thread Michael Stahl
On 23/03/12 09:28, huqitu du wrote: I don't open DLL files, I invoke DLL's function. for example, when LO open a .txt file, my program(DLL function) handle something first and then let's LO process continue. perhaps the GlobalEventBroadcaster can help you, its OnNew and OnLoad events look

Re: where can I load windows DLL file

2012-03-23 Thread drew
On Fri, 2012-03-23 at 11:51 +0100, Michael Stahl wrote: On 23/03/12 09:28, huqitu du wrote: I don't open DLL files, I invoke DLL's function. for example, when LO open a .txt file, my program(DLL function) handle something first and then let's LO process continue. perhaps the

where can I load windows DLL file

2012-03-22 Thread huqitu du
hi ! I want to load some DLL files when Open File, how can I do this, please help! best regard! huqitu 2012,3,23 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice