[dev] [DEV]a question about OOo_m5

2008-12-15 Thread chengjing
 Hello,dear all,


I have a question about OOo_m5 for help.

After the compiler of Ooo_m5 in 
buildbot(http://termite.go-oo.org/buildbot/builders/Win-XP2/builds/479) ,
installed and tested in my computer, there is a bug when open 
“Properties:Dialog”.
Operations as:
1:open Ooo_m5
2: click the left mouse button at “Tools” → “Macros” → “Organize Macros” → “ 
Openoffice.org Basic …”,
then display the page “Openoffice.org Basic Macros”.
3:click the left mouse button at “edit” at the page of “Openoffice.org Basic 
Macros”,
then display the page”My Macros  Dialogs.Standard �C Openoffice.org Basic”.
4:click the right mouse button at “Module” near the left of the horizontal 
scroll bar,
then click the left mouse button at “Insert” → “BASIC Dialog”,then there is a 
Box appear.
5:focus(select) the box, click the right mouse button ,
then click the left mouse button at ”properties”,the listbox 
“Properties:Dialog” display.
6:exit all of Ooo_m5.then the system error messagebox appear.
The error message is :”The order 0x5d95d264 visited memory 0x000, the 
memory can not read”.


But the bug did not happen at the installation of Ooo_m5,which was got from 
“http://www.openoffice.org/index.html ”some time ago.
What is wrong with the Installation that got from “buildbot #479”?
Is there anybody could give me some hint ?
Thank you very much in advance! :)
the operations' picture:



 
Best Regards from BeiJing




chengjing
2008-12-15


Re: [dev] idlc warnings - why ?

2008-12-15 Thread Stephan Bergmann

On 12/14/08 19:45, Frank Schönheit - Sun Microsystems Germany wrote:

IIRC, this violates UNO naming conventions, though, admittedly, I think
the convention is bogus in this case :)


Why do you think it is bogus to rule out as parameter names identifiers 
starting with an underscore?


-Stephan

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



Re: [dev] OO 3.0, COM, loadComponentFromURL, readOnly ever .... :-(

2008-12-15 Thread Mikhail Voitenko

Hi Marten,

As Mathias has written it would really help if you provide the code 
snippet related to parameters generation of the call. There is currently 
no known problem in this area, thus the scenario you are using should 
have a specific that let the problem be reproducible. And to detect what 
goes wrong we need a possibility to reproduce the problem.


Best regards,
Mikhail.

On 12/13/08 22:21, Marten Feldtmann wrote:

Ok, I did some further tests:

a) deinstalled the 3.0.0 and installed the newest developer
   build - same error.

b) deinstalled the developer build and installed OO 2.4.1
   and my software worked without problems 

It's not a feature ... perhaps just a nasty little bug in the
OLE bridge ???

Marten

Mathias Bauer schrieb:

Marten Feldtmann wrote:

 
I did some tests with that API call and whatever I do: the document 
is always opened readOnly.


- when I open the document using OpenOffice 3.0 via dialog, the 
document opens the normal way: writeable

- when using the API call I always get a write protected document
- when I use the property ReadOnly and do set it to true I get a 
write protected document (thats ok ...)
- when I use the property ReadOnly and do set it to false I get a 
VT_UNKNOWN value from the loadComponentFromURL call.


Then I thought, that perhaps the parameter handling was wrong and 
created an empty document (via factory) and used the attribute 
Hidden and that work well. Therefore I think, that my parameter 
handling seems to be correct.


Any idea ???



It would perhaps help if you posted a code snippet showing the
parameters you use and the call itself. Besides that the only idea I
have is that the document might be open already.

Regards,
Mathias

  



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



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



[dev] Unable to open openoffice

2008-12-15 Thread Ninad Parab

Dear OpenOffice Support Team ,

We have an ASP application in which we show the report output on screen. 
It has about 1,000,000 rows. We are able to download that in to the 
spread sheet but when we try to open it in open office we face problems.
When we open the document the rows are missing. also some of the rows 
are duplicate.

There is no SIZE limitation on IIS/Web Server part.

Would appreciate if you can assists in our problem.


--
Regards,
Ninad Parab
Assets Solution Technology Group
ICICI BANK
Mafatlal Chambers
022-3043 6213

---

This e-mail message may contain confidential, proprietary or legally privileged information. It 
should not be used by anyone who is not the original intended recipient. If you have erroneously 
received this message, please delete it immediately and notify the sender. The recipient 
acknowledges that ICICI Bank or its subsidiaries and associated companies,  (collectively ICICI 
Group), are unable to exercise control or ensure or guarantee the integrity of/over the contents
of the information contained in e-mail transmissions and further acknowledges that any views 
expressed in this message are those of the individual sender and no binding nature of the message

shall be implied or assumed unless the sender does so expressly with due 
authority of ICICI Group.
Before opening any attachments please check them for viruses and defects. 
--



This e-mail message may contain confidential, proprietary or legally privileged information. It 
should not be used by anyone who is not the original intended recipient. If you have erroneously 
received this message, please delete it immediately and notify the sender. The recipient 
acknowledges that ICICI Bank or its subsidiaries and associated companies,  (collectively ICICI 
Group), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views 
expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.Before opening any attachments please check them for viruses and defects. 



--


This e-mail message may contain confidential, proprietary or legally privileged information. It 
should not be used by anyone who is not the original intended recipient. If you have erroneously 
received this message, please delete it immediately and notify the sender. The recipient 
acknowledges that ICICI Bank or its subsidiaries and associated companies,  (collectively ICICI 
Group), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views 
expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.Before opening any attachments please check them for viruses and defects. 





Re: [dev] Unable to open openoffice

2008-12-15 Thread Eike Rathke
Hi Ninad,

On Monday, 2008-12-15 09:52:38 +0530, Ninad Parab wrote:

 We have an ASP application in which we show the report output on screen.  
 It has about 1,000,000 rows. We are able to download that in to the  
 spread sheet but when we try to open it in open office we face problems.
 When we open the document the rows are missing. also some of the rows  
 are duplicate.
 There is no SIZE limitation on IIS/Web Server part.

The current OOoCalc spreadsheet application's limit is 64k rows. You may
increase that limit if you compile your own, see
http://wiki.services.openoffice.org/wiki/Calc/hacks/number_of_rows
for details, but note also the possible quirks mentioned there.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the e...@sun.com account, which I use for
 mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks.


pgpyeyb64MmwZ.pgp
Description: PGP signature


Re: [dev] idlc warnings - why ?

2008-12-15 Thread Oliver Brinzing
Hi Juergen,

 see the idlc options:
 -w  = display warning messages.
 -we = treat warnings as errors.

aah - someway missed the new idlc options for oo 2.x/3.x ...

added -w -cid to the idlc command :-)

thanks a lot

Oliver

-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature


Re: [dev] OO 3.0, COM, loadComponentFromURL, readOnly ever .... :-(

2008-12-15 Thread Marten Feldtmann

Mikhail Voitenko schrieb:

Hi Marten,

As Mathias has written it would really help if you provide the code 
snippet related to parameters generation of the call. There is 
currently no known problem in this area, thus the scenario you are 
using should have a specific that let the problem be reproducible. And 
to detect what goes wrong we need a possibility to reproduce the problem.




Ok, here is the Smalltalk code I execute. The smallest code I can 
execute on the Smalltalk

side to get the error is:

| writerDocument |

writerDocument := 
	aMSKOO desktop

loadComponentFromURL: 'file:///c:\test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: Array new.

This code returns a valid OLE object (and opens a document), but the document is read-only. The file is 
indeed opened readonly - because not lock files are shown in this directory and I can open the file 
without problems via OpenOffice-application.


I could change the code to:

| writerDocument |

writerDocument := 
	aMSKOO desktop

loadComponentFromURL: 'file:///c:|test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: Array new.

and I get an exception with content 
   com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.


This shows, that the stuff is at least something doing.

Then I changed the code to actually use parameters: In this document I used the attribute 
Hidden
and I set it to true and this also worked very well. I get a valid OLE object 
back and the file seems
to be opened readonly but hidden:

| writerDocument aProperty  |

aProperty := OOBeansPropertyValue ooNew: aMSKOO.
aProperty
name: 'Hidden' ;
value: true.

	writerDocument := 
		aMSKOO desktop

loadComponentFromURL: 'file:///c:\test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: (Array with: aProperty).

^writerDocument

To verify that the boolean parameters are evaluated I change the last code to:

| writerDocument aProperty  |

aProperty := OOBeansPropertyValue ooNew: aMSKOO.
aProperty
name: 'Hidden' ;
value: false.

	writerDocument := 
		aMSKOO desktop

loadComponentFromURL: 'file:///c:\test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: (Array with: aProperty).

^writerDocument

and the document is opened visible again (readonly). Then I change the code 
(now we are coming to the ReadOnly
attribute) to:

| writerDocument aProperty  |

aProperty := OOBeansPropertyValue ooNew: aMSKOO.
aProperty
name: 'READONLY' ;
value: false.

	writerDocument := 
		aMSKOO desktop

loadComponentFromURL: 'file:///c:\test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: (Array with: aProperty).

^writerDocument

and the document is again opened visible readonly. The system does not 
recognize the 'READONLY' parameter - fine.Therefore
I change it to:

| writerDocument aProperty  |

aProperty := OOBeansPropertyValue ooNew: aMSKOO.
aProperty
name: 'ReadOnly' ;
value: false.

	writerDocument := 
		aMSKOO desktop

loadComponentFromURL: 'file:///c:\test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: (Array with: aProperty).

^writerDocument

On the lowest level side i get an object

*OSVariantarg {
vt: 13
wReserved1: 0
wReserved2: 0
wReserved3: 0
}

which is an pointer to an OSVariantarg structure. The 13 means VtUnknown. If I change the code to 



| writerDocument aProperty  |

aProperty := OOBeansPropertyValue ooNew: aMSKOO.
aProperty
name: 'ReadOnly' ;
value: true

	writerDocument := 
		aMSKOO desktop

loadComponentFromURL: 'file:///c:\test.odt' string
TargetFrameName: '_blank' string
SearchFlags: 0 long
Arguments: (Array with: aProperty).


[dev] Fwd: prototype html2odf

2008-12-15 Thread Gabriel Monnerat
hi all, we work at NSI (Information System Research Group) in Cefet-Campos,
Brazil. We had just developed a table converter that does more stuff than
the current html2odf. e.g merge tables, italic, bold, etc.
This module is in development and it was written in python.
How can i contribute to openoffice?

regards,
Gabriel M. Monnerat


Re: [dev] Fwd: prototype html2odf

2008-12-15 Thread Caio Tiago Oliveira

Gabriel Monnerat, 15-12-2008 20:11:

hi all, we work at NSI (Information System Research Group) in Cefet-Campos,
Brazil. We had just developed a table converter that does more stuff than
the current html2odf. e.g merge tables, italic, bold, etc.
This module is in development and it was written in python.
How can i contribute to openoffice?


What's the license of the module?

Does it use Python UNO?


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