Re: [dev] gcj 4.1.2 and java component registration time

2007-02-27 Thread Caolan McNamara
On Tue, 2007-02-27 at 18:17 +1100, Jim Watson wrote:
 On 23/02/2007, at 10:03 PM, Caolan McNamara wrote:
 
  For some reason I'm seeing a failure at registration of java  
  components
  during the install.
 
 Similar failure here for GNU/Linux SPARC in m203 using gcc4.3  
 experimental gcj/ecj
 
 
  And for some other bizarre reason I have a workaround, i.e. remove
  xmerge.jar from @regcompjars in solenv/bin/modules/installer/ 
  globals.pm
 
 That does not help here.
 But also in globals.pm, playing with javamaxservices=15, I find that  
 any number  11 works OK.

Yeah, that's right isn't it. I had made both changes, and clearly
mistook which of the changes made the substantial difference considering
the other as a debugging aid :-)

C.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Example Using OfficeBean

2007-02-27 Thread Cedric Bosdonnat
Dyego Souza Dantas Leal a écrit :
 Exists a example to print a document using the OfficeBean ( java
 language )
 
 Using directly access is:
 
 protected void printDocComponent(XComponent xDoc) throws
 java.lang.Exception {
XPrintable xPrintable = (XPrintable)UnoRuntime.queryInterface(
XPrintable.class, xDoc);
PropertyValue[] printerDesc = new PropertyValue[1];
printerDesc[0] = new PropertyValue();
printerDesc[0].Name = Name;
printerDesc[0].Value = aPrinterName;
 
xPrintable.setPrinter(printerDesc);   
 PropertyValue[] printOpts = new PropertyValue[1];
printOpts[0] = new PropertyValue();
printOpts[0].Name = Pages;
   printOpts[0].Value = 1;   
 xPrintable.print(printOpts);}
 
 
 in OfficeBean case ... how to print a document ?

In the same way. The OfficeBean is simply a way to integrate the
OpenOffice.org window inside a Java application.

Hope this helps,
Cedric

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Formats Supported by OpenOffice 2.1

2007-02-27 Thread Dyego Souza Dantas Leal

In the Code:

XStorable xStorable = (XStorable)UnoRuntime.queryInterface(
   XStorable.class, xDoc);
   PropertyValue[] storeProps = new PropertyValue[1];
   storeProps[0] = new PropertyValue();
   storeProps[0].Name = FilterName;
   storeProps[0].Value = MS Word 97;   

   xStorable.storeAsURL(storeUrl, storeProps);   



I can Store the actual document as Ms Word 97...
Very Nice... but... where can get the all possibilities of FilterName 
property ?



Tnks !

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Formats Supported by OpenOffice 2.1

2007-02-27 Thread Andreas Schlüns

Dyego Souza Dantas Leal schrieb:

In the Code:

XStorable xStorable = (XStorable)UnoRuntime.queryInterface(
   XStorable.class, xDoc);
   PropertyValue[] storeProps = new PropertyValue[1];
   storeProps[0] = new PropertyValue();
   storeProps[0].Name = FilterName;
   storeProps[0].Value = MS Word 97;  
   xStorable.storeAsURL(storeUrl, storeProps);  


I can Store the actual document as Ms Word 97...
Very Nice... but... where can get the all possibilities of FilterName 
property ?


A list of all actual supported filters can be found here:
http://wiki.services.openoffice.org/wiki/Framework/Article/Filter;




Tnks !

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Regards
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Print PDF using OpenOffice

2007-02-27 Thread Dyego Souza Dantas Leal

Exists way to print a PDF Document using OpenOffice ?

using OpenOffice SDK ...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Print PDF using OpenOffice

2007-02-27 Thread Rui Lima

please check:
http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip

2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:


Exists way to print a PDF Document using OpenOffice ?

using OpenOffice SDK ...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
__
O único lugar onde o sucesso vem antes que o trabalho é no dicionário


Re: [dev] Print PDF using OpenOffice

2007-02-27 Thread Dyego Souza Dantas Leal

Rui Lima escreveu:

please check:
http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip 



2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:


Exists way to print a PDF Document using OpenOffice ?

using OpenOffice SDK ...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






No... no export AS PDF

PRINT  a PDF... the pdf alerady exists...

OpenOffice Supports this operation ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Print PDF using OpenOffice

2007-02-27 Thread Rui Lima

:( that i don't know. But i would like that

Isso não sei, mas era porreiro saber!

2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:


Rui Lima escreveu:
 please check:

http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip


 2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:

 Exists way to print a PDF Document using OpenOffice ?

 using OpenOffice SDK ...

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




No... no export AS PDF

PRINT  a PDF... the pdf alerady exists...

OpenOffice Supports this operation ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
__
O único lugar onde o sucesso vem antes que o trabalho é no dicionário


Re: [dev] Print PDF using OpenOffice

2007-02-27 Thread Andreas Schlüns

Hello Dyego,


Rui Lima escreveu:

please check:
http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip 



2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:


Exists way to print a PDF Document using OpenOffice ?


No.
Without an import filter for OOo you wont be able to print
existing PDF files within OOo itself. Currently you have to use
e.g. the free Acrobat Reader doing so.



using OpenOffice SDK ...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






No... no export AS PDF

PRINT  a PDF... the pdf alerady exists...

OpenOffice Supports this operation ?



Regards
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Print PDF using OpenOffice

2007-02-27 Thread Tom Schindl
Hi,

As Andreas already said this is not possible this would need OO to
import the PDF which is not possible currently. If you are running Linux
you can use can maybe use KWord which has an import filter for PDF files.

Tom

Rui Lima schrieb:
 :( that i don't know. But i would like that
 
 Isso não sei, mas era porreiro saber!
 
 2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:

 Rui Lima escreveu:
  please check:
 
 http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip

 
 
  2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:
 
  Exists way to print a PDF Document using OpenOffice ?
 
  using OpenOffice SDK ...
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 No... no export AS PDF

 PRINT  a PDF... the pdf alerady exists...

 OpenOffice Supports this operation ?

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 




signature.asc
Description: OpenPGP digital signature


Re: [dev] How to check whether nas is working?

2007-02-27 Thread Christian Lohmaier
Hi Kay, *,

On Mon, Feb 12, 2007 at 09:25:24AM +0100, Kay Ramme - Sun Germany - Hamburg 
wrote:
 Christian Lohmaier wrote:
 repost becasue I didn't recieve any answer...
 cc dev@openoffice.org this time.
 
 How would I check whether nas support is working in an installation set?
 [...]
 So could anybody give me some hints please?
 VCL has NAS support. I always stumble over it while building OOo (just 
 because NAS enabled builds fail for me most of the time :-). Don't know 
 if there is a (unit) test, so.

So: Nobody can tell how to check whether it is working, and not enven
what it is used for it seems.

So: Why it it still included in the sources/activated by default. Why is
it not kicked out.

If nobody can answer how to check whether it works, this means nobody is
using it. So there is no sense in keeping it.

Comments?

ciao
Christian
-- 
NP: Meshuggah - Catatonic Transfixion

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Formats Supported by OpenOffice 2.1

2007-02-27 Thread Tom Schindl
Andreas Schlüns schrieb:
 Dyego Souza Dantas Leal schrieb:
 In the Code:

 XStorable xStorable = (XStorable)UnoRuntime.queryInterface(
XStorable.class, xDoc);
PropertyValue[] storeProps = new PropertyValue[1];
storeProps[0] = new PropertyValue();
storeProps[0].Name = FilterName;
storeProps[0].Value = MS Word 97;
 xStorable.storeAsURL(storeUrl, storeProps); 
 I can Store the actual document as Ms Word 97...
 Very Nice... but... where can get the all possibilities of
 FilterName property ?
 
 A list of all actual supported filters can be found here:
 http://wiki.services.openoffice.org/wiki/Framework/Article/Filter;
 

A question I've always asked myself why the hell are those standard
formats not provided by the UNO-API as constants? Something like
IExportFormats#MS_WORD_97, if defined in some an IDL I could simply use
them without thinking too much about spelling because my favorite IDE
would provide auto-expansion for it.

Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Error on dmake: Could not detect compiler version

2007-02-27 Thread Pathani, Radhika \(GE, Corporate, consultant\)
Hi,
 I am getting the following error message dhile doing 'dmake'.i'm using
MS Visual 2005 Express Edition .i've configured as per the document. but
still the problem coming.
---
ERROR! 
Could not detect compiler version! 
Please extend tg_compv.mk in 
solenv/inc. 
 
guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe returns 
dmake: Error code 53, while making 'compiler_version_error' 
---* tg_merge.mk *--- 

ERROR: Error 65280 occurred while making
/cygdrive/d/compile/openoffice/installa 
tion_pkg/oo_2.0.4_src/boost 
dmake: Error code 1, while making 'build_instsetoo_native' 

.. 


please help me to resolve the same.

Thanks and Regards
Radhika



Re: [dev] How to check whether nas is working?

2007-02-27 Thread Bernd Eilers


Hi Christian,

I would try the following to check nas support:

$  nasd -aa# -aa allows any host access
$  export AUDIOSERVER=`hostname`:0
$ soffice

Open the gallery, than go to the theme sounds than click on any sound 
and check if you can hear something.


provided that you have the necessary package of your linux distribution
containing nasd installed, of course.

Kind regards,
Bernd


Christian Lohmaier wrote:

Hi Kay, *,

On Mon, Feb 12, 2007 at 09:25:24AM +0100, Kay Ramme - Sun Germany - Hamburg 
wrote:


Christian Lohmaier wrote:


repost becasue I didn't recieve any answer...
cc dev@openoffice.org this time.

How would I check whether nas support is working in an installation set?
[...]
So could anybody give me some hints please?


VCL has NAS support. I always stumble over it while building OOo (just 
because NAS enabled builds fail for me most of the time :-). Don't know 
if there is a (unit) test, so.



So: Nobody can tell how to check whether it is working, and not enven
what it is used for it seems.

So: Why it it still included in the sources/activated by default. Why is
it not kicked out.

If nobody can answer how to check whether it works, this means nobody is
using it. So there is no sense in keeping it.

Comments?

ciao
Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Print PDF using OpenOffice

2007-02-27 Thread Caio Tiago Oliveira

Rui Lima, 27-02-2007 11:22:

:( that i don't know. But i would like that

Isso não sei, mas era porreiro saber!

2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:


Rui Lima escreveu:
 please check:

http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip 


 2007/2/27, Dyego Souza Dantas Leal [EMAIL PROTECTED]:

 Exists way to print a PDF Document using OpenOffice ?

 using OpenOffice SDK ...

No... no export AS PDF

PRINT  a PDF... the pdf alerady exists...

OpenOffice Supports this operation ?



I wonder why would you like to use OOo to print some PDF. OOo is not a 
printer.
You can print the PDF even without any graphical app if you're inside a 
*nix, since you can convert it to Post Script and send to the printer.


But this question is too much outside the scope of this list (even any 
list about OOo itself).


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Formats Supported by OpenOffice 2.1

2007-02-27 Thread Andreas Schlüns

Tom Schindl schrieb:



A question I've always asked myself why the hell are those standard
formats not provided by the UNO-API as constants? Something like
IExportFormats#MS_WORD_97, if defined in some an IDL I could simply use
them without thinking too much about spelling because my favorite IDE
would provide auto-expansion for it.


It's not designed as an IDL-const because the list of filters is
dynamicly. New filters will be designed and implemented, old filters 
might be can be removed, external filters can be installed using the 
extension mechanism, filters can be selected/deselected by the user 
during setup ...


An IDL const must be stable after it was designed. So it cant be used 
here. The list of filters will be provided by the configuration only. 
Further there exists a special service named 
com.sun.star.document.FilterFactory where you can ask/search for special 
filters matching some criteria. Using a const does not solve your 
problem to know which filters are provided and how it's const value must 
be coded. Using the configuration can help you to find a suitable filter 
e.g. for pdf export of a calc document by quering the filter factory.




Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Regards
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]