[dev] [Dev]The method to catch exception of SWriter

2008-10-23 Thread Ma Zhenyu
Hi, everyone,

I have a question about how to catch the exception out of openoffice.org, it
means, I call
OpenOffice.Org from my evirionment and do some job in OpenOffice.org
SWriter, but sometimes
I can see one exception and systemdown, it is about
 Runtime Error!
 Program: E:\Program Files\OpenOffice.org 2.4\program\soffice.Bin
The details can be seen in the attached files!

So I want to know, is there one way to
 Catch this error from caller application, then caller can stop the
openoffice.org and restart, to avoid
the caller died too!

Look forward to your help!

B.Regards,
Mynfred
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [dev] how to disable copy permission

2008-08-07 Thread Ma Zhenyu
I  also want to know it, and the drag & drop need be considered, I think!

Thanks & Regards,
Mynfred


2008/8/8, rameshkancherla <[EMAIL PROTECTED]>:
>
>
> Hi ,
>
>This is Ramesh kancherla. I am working in open office related
> project.  I have to disable copy option in open office document when user
> doesn't has copy permission. and it is apply to specified document only.not
> for all documents. is it possible? if yes how can i do it.
> can any one please give suggestion
>
> Thanks & Regards
> Ramesh K
>
> --
> View this message in context:
> http://www.nabble.com/how-to-disable-copy-permission-tp18886089p18886089.html
> Sent from the openoffice - dev mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [dev] How to set the GUI language when building?

2008-05-20 Thread Ma Zhenyu
Hi, Zhang,

see following

..\..\..\wntmsci10.pro\inc\AutoControls.hrc<233> : error C2001: newline in
constant
..\..\..\wntmsci10.pro\inc\AutoControls.hrc<328> : error C2001: newline in
constant
..\..\..\wntmsci10.pro\inc\AutoControls.hrc<521> : error C2001: newline in
constant
..\..\..\wntmsci10.pro\inc\AutoControls.hrc<562> : error C2018: unknown
character '0x80'

..\..\..\wntmsci10.pro\inc\AutoControls.hrc<1179> : error C2018: unknown
character '0x80'

Regards,
Mynfred



2008/5/20, Zhang Xiaofei <[EMAIL PROTECTED]>:
>
> Hi Ma,
>
> Maybe your error message file is filtered out by the mailing list server,
> try including the error message in the mail body.
>
> Regards,
> Felix.
>
> Ma Zhenyu
>
>> Hi,
>>  While building Ooo with --with-lang="zh-CN", I got some error message
>> like attach file showing,
>> and I open it and try to edit it by VS.Net, but I failed, somebody here
>> encounter this problem?
>> And My source code is for 2.3.1, hope for your help, please!
>>  Regards,
>> Mynfred
>>
>>
>>  2008/5/12, Ma Zhenyu <[EMAIL PROTECTED] > [EMAIL PROTECTED]>>:
>>
>>Hi,
>>Maybe I found it, the reason is that I not write the lang list
>>with space character,
>>But I encounter one problem is that can not get license of rtf,
>>I am trying it again to build it again all. Blessing...
>>Regards,
>>Mynfred
>>2008/5/12, Ma Zhenyu <[EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED]>>:
>>
>>hi, Christian
>>Thank you for your kind, I try "dmake ooolanguagepack" but
>> found
>>"/usr/bin/bash: zh-CN: command not found", could you tell why
>>and how to
>>solve it?
>>Regards,
>>Mynfred
>>
>>2008/5/10, Christian Lohmaier <[EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED]>>:
>>
>>Hi *,
>>On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
>>> I builded the code from web, and got the installation of
>>english version?
>>>
>>> So I want to ask one question is:
>>> how to build Ooo of other language version, such as
>>japanese or chinese
>>> language,
>>> need I download other code? Or just change some setting?
>>
>>You need to run configure with the --with-lang="list of
>>language-codes"
>>options. See configure --help for samples.
>>
>>if you want to create languagepacks, you can run "dmake
>>ooolanguagepack"
>>in instsetoo_native/util after you built the whole thing.
>>
>>ciao
>>Christian
>>
>>
>>  -
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: [EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>
>> 
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


[dev]OpenOffice.Org can not send key down message to its parent.

2008-05-14 Thread Ma Zhenyu
I embed OpenOffice.Org  in one standard windows, with all known, with
   PreTranslateMessage  , we can catch each key down message, but
the key down message in OpenOffice.Org can not be caught, is it normal
or not? Looking forward to your answer.

Regards,
Mynfred


Re: [dev] How to set the GUI language when building?

2008-05-13 Thread Ma Zhenyu
Hi,

While building Ooo with --with-lang="zh-CN", I got some error message like
attach file showing,
and I open it and try to edit it by VS.Net, but I failed, somebody here
encounter this problem?
And My source code is for 2.3.1, hope for your help, please!

Regards,
Mynfred



2008/5/12, Ma Zhenyu <[EMAIL PROTECTED]>:
>
> Hi,
>
> Maybe I found it, the reason is that I not write the lang list with space
> character,
> But I encounter one problem is that can not get license of rtf,
> I am trying it again to build it again all. Blessing...
>
> Regards,
> Mynfred
>
>
> 2008/5/12, Ma Zhenyu <[EMAIL PROTECTED]>:
> >
> > hi, Christian
> >
> > Thank you for your kind, I try "dmake ooolanguagepack" but found
> > "/usr/bin/bash: zh-CN: command not found", could you tell why and how to
> >
> > solve it?
> >
> > Regards,
> > Mynfred
> >
> >
> > 2008/5/10, Christian Lohmaier <[EMAIL PROTECTED]>:
> > >
> > > Hi *,
> > > On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
> > > > I builded the code from web, and got the installation of english
> > > version?
> > > >
> > > > So I want to ask one question is:
> > > > how to build Ooo of other language version, such as japanese or
> > > chinese
> > > > language,
> > > > need I download other code? Or just change some setting?
> > >
> > > You need to run configure with the --with-lang="list of
> > > language-codes"
> > > options. See configure --help for samples.
> > >
> > > if you want to create languagepacks, you can run "dmake
> > > ooolanguagepack"
> > > in instsetoo_native/util after you built the whole thing.
> > >
> > > ciao
> > > Christian
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [dev] How to set the GUI language when building?

2008-05-12 Thread Ma Zhenyu
Hi,

Maybe I found it, the reason is that I not write the lang list with space
character,
But I encounter one problem is that can not get license of rtf,
I am trying it again to build it again all. Blessing...

Regards,
Mynfred


2008/5/12, Ma Zhenyu <[EMAIL PROTECTED]>:
>
> hi, Christian
>
> Thank you for your kind, I try "dmake ooolanguagepack" but found
> "/usr/bin/bash: zh-CN: command not found", could you tell why and how to
> solve it?
>
> Regards,
> Mynfred
>
>
> 2008/5/10, Christian Lohmaier <[EMAIL PROTECTED]>:
> >
> > Hi *,
> > On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
> > > I builded the code from web, and got the installation of english
> > version?
> > >
> > > So I want to ask one question is:
> > > how to build Ooo of other language version, such as japanese or
> > chinese
> > > language,
> > > need I download other code? Or just change some setting?
> >
> > You need to run configure with the --with-lang="list of language-codes"
> > options. See configure --help for samples.
> >
> > if you want to create languagepacks, you can run "dmake ooolanguagepack"
> > in instsetoo_native/util after you built the whole thing.
> >
> > ciao
> > Christian
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


Re: [dev] How to set the GUI language when building?

2008-05-11 Thread Ma Zhenyu
hi, Christian

Thank you for your kind, I try "dmake ooolanguagepack" but found
"/usr/bin/bash: zh-CN: command not found", could you tell why and how to
solve it?

Regards,
Mynfred


2008/5/10, Christian Lohmaier <[EMAIL PROTECTED]>:
>
> Hi *,
> On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
> > I builded the code from web, and got the installation of english
> version?
> >
> > So I want to ask one question is:
> > how to build Ooo of other language version, such as japanese or chinese
> > language,
> > need I download other code? Or just change some setting?
>
> You need to run configure with the --with-lang="list of language-codes"
> options. See configure --help for samples.
>
> if you want to create languagepacks, you can run "dmake ooolanguagepack"
> in instsetoo_native/util after you built the whole thing.
>
> ciao
> Christian
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[dev] How to set the GUI language when building?

2008-05-09 Thread Ma Zhenyu
I builded the code from web, and got the installation of english version?

So I want to ask one question is:
how to build Ooo of other language version, such as japanese or chinese
language,
need I download other code? Or just change some setting?

Thanks a lot in advance!

Regards,
Mynfred


[dev] How to start developping route of mine on OOO?

2008-04-17 Thread Ma Zhenyu
Dear,

I have some questions about programming OpenOffice.Org, because there are so
much material,
and I spend much time, and can not have a clear idea, so I send this email
and look foward to help.

What I want to do

1. Use SWriter to support one type file which is also based on XML, and it
will link to some images.
2. While operating this file by SWiter, I need forbidden some operation in
current OpenOffice.Org, such
   as many menu and function Key like F5, the reason is that my own format
is simpler than ODF and
   I need no many setting, so I want to use my own menu or toolbar which
just have simple operation like
   copy & Paste or InsertString, so change the color of selected content.
3. I want to make one filter that support my own format convert to ODF and
ODF to my format.

Based on the knowledge I reaearch, I guess I need

1. Learn method to build Ooo, or part of it, Then I can develop the filter
of mine, Is it right?
2. I need have some research on the GUI of SWriter if I want to use
customize menu

Is it right?

I have some puzzle
1. Where should I begin?
2. How to develop the component of GUI in OOO?
3. The develop tool of Ooo component, is there some IDE like VS2003?

Anyway, I think it is better to take part in many discussion and real
develop in Ooo, Would you
like give me a hint?

Thank you very much!

Regards,
Mynfred