[dev] Re: OpenOffice conversion exception - Linux segmentation fault

2009-07-09 Thread Michael Stahl
hi Kermit,

Kermit Qiu wrote:
 Hi,
 Now I use OpenOffice to convert document from pdf format into html
 format, and I try to cath all the exception as below:
 ...
 *try{*
 *  ooStore-storeToURL( OUString::createFromAscii(strOOPathFile), storeProps
 );
  }catch(...)  // catch all the exception
  {
handleException();
   return E_GEN_ERR;*
 **
  It runs well when the pdf document is normal.But when I am doing the
 stability test, I constructed a new abnormal pdf document with some wildcat
 string such as (()))^%$$, OpenOpen will not throw any exception but just
 raised the segmentation fault and exit directly.

well, OOo shouldn't segfault, not even on invalid input.
if you can get it to segfault, and you can reproduce it, that is a bug, so
please file an issue in OOo issuezilla:
http://qa.openoffice.org/issue_handling/project_issues.html

and attach your input document that makes OOo crash.

 I need to catch any exception from OpenOffice, could you have any
 suggestion for me?

if OOo has crashed, there is nothing you can do about it except restarting
it; of course you could figure out why it crashed, fix the bug in OOo and
attach a patch to your issuezilla report :)

 My environment is OpenOffice 3.1.0/Suse Linux/C++.
 Thanks very much!
 
 Best Regards,
 Kermit

regards,
michael

-- 
We are sorry, you have dialed an imaginary number.
 Please rotate your phone ninety degrees and try again.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] ODF amendments for colored sheet tabs and more border types

2009-07-09 Thread Mathias Bauer
Hi,

please let me add that posting a comment and - if possible - a proposal
to the list is the fastest way to move things forward. This way
everybody else in the TC (e.g. those interested in OOo) can pick it up
and help getting this into the standard.

If you wait for someone else doing this, e.g. a Sun developer that got
the issues assigned to, it will take much longer as a legal review is
necessary before this can happen (we can't take over suggestions from
others and bring them to the list without checking the situation wrt.
intellectual properties).

This is a good opportunity to contribute and make a difference.

Regards,
Mathias

Peter Junge wrote:

 Hi Kirill,
 
 I will not have the time to take action on these issues myself, but I
 would like to briefly summarize how you (and of course others) can get
 heard by the OASIS ODF TC.
 
 For each standards TC, OASIS is offering a public comment list and they
 have a policy, that each comment submitted must be tracked. I am a
 member of the ODF TC for only six month now, but so far the process
 seems to work, hence I can recommend using the list. As there are some
 policies to consider, please have a look at [1] to learn about it and
 also find the information for subscribing to the mailing list there.
 
 Your comment to the ODF list can be just like the original mail, but I
 would recommend to add some information like name, contact, application
 (e.g. text, spreadsheet or presentation), category (formatting in your
 case) and a brief use case.
 
 If you or anyone else would like to invest more time, you might consider
 to submit a complete proposal. A proposal template you can find at [2],
 examples are available at [3].
 Please refer the ODF TC wiki for more information [4].
 
 Best regards,
 Peter
 
 [1] http://www.oasis-open.org/committees/comments/index.php?wg_abbrev=office
 [2] http://wiki.oasis-open.org/office/ProposalTemplate
 [3] http://wiki.oasis-open.org/office/List_of_Proposals
 [4] http://wiki.oasis-open.org/office
 
 
 Kirill S. Palagin wrote:
 Hello everybody.
  
 We have highly desired issues
 http://www.openoffice.org/issues/show_bug.cgi?id=5560 and
 http://www.openoffice.org/issues/show_bug.cgi?id=8275 , which require
 amendments for ODF specification. Issue 5560 is even implemented in
 code.
 So could somebody, who is member of OASIS ODF committee, introduce these
 two proposals for next version of ODF?
  
 TIA.
 WBR,
 KP.
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org
 


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Filtering document types

2009-07-09 Thread Gabriel Gutierrez
Hi.
I'm working on a customization for the OOo 3.

When you launch the 'open file' dialog, you can see all the files in a
certain folder (all extensions).
You can use the field at the bottom to apply a 'filter', so that only
especific file types are shown.
Where can I set the default file type to be selected on this field, aways
when the user opens the dialog?

I already changed some files in
/usr/lib/openoffice/basis3.0/share/registry/modules/org/openoffice/Setup,
to change the default extension used for saving files. But I can't find a
file/paremeter where I can change the default file type that is shown on the
'open file' dialog.

Thanks.


-- 
Gabriel Gutierrez


[dev] Problems configuring build on cygwin

2009-07-09 Thread Kristján Bjarni Guðmundsson
Hi.

I am trying to build OpenOffice on Windows XP using cygwin.
I am using the OOo-Dev_DEV300_m51 source archive.

I have set up everything according to:
http://blogs.sun.com/GullFOSS/entry/building_openoffice_org_on_windows

But when I run configure:
./configure --disable-build-mozilla --disable-activex
--with-directx-home=/cygdrive/c/PROGRA~1/MI22C6~1

Everything goes ok until this:

can't find /cygdrive/C/Program Files/Microsoft Visual Studio
8/VC/../SDK/v2.0/Bin at ./oowintool line 283.
configure: error: oowintool failed to copy CRT

However this directory does exists. But why is it trying to copy CRT from
this directory? Shouldn't it be using one of the
msvcp directories in external? Can anybody see what I am doing wrong here?

Thanks
 - Kristján