[dev] Re: ERROR: File not found: msvcp80.dll

2011-03-09 Thread Michael Stahl
On 09/03/2011 03:43, tora - Takamichi Akiyama wrote:
 Hi,
 
 On 8 March 2011 15:11, tora - Takamichi Akiyama t...@openoffice.org 
 mailto:t...@openoffice.org wrote:
 cd $SRC_ROOT
 dmake
   and wait for a minutes, not hours.
 
 On 2011/03/09 4:07, Knut Olav Bøhmer wrote:
 Which worked for me :)
 Well, I'm doing this on a virtual macine it took about 30 minutes. I don't 
 know why it's so slow.
 
 Oh, sorry! I meant that wait for minutes until building instsetoo_native 
 starts.
 
 Taking about 30 minutes to build both your language and English versions of 
 OOo is probably normal.

well, normal if you build on windows, which seems to have a hamster in a
wheel where real OSes have a highly optimized file system implementation;
unfortunately the hamster easily gets tired  ;)

 Some tips:
   - Disable unnecessary background services.
 Search for windows vista disable services like that.

*especially* true for virus scanners and the like.
if you use one, try to create an exception for your OOo tree so it won't
slow your builds too much.

   - Monitor the CPU usage.
 It should keep at the level of almost 100% during building OOo.
 If not, look into the bottleneck.

this is true for a build from scratch, but if you have already built
almost everything then your CPU won't be busy, it's all IO.

   - Utilize a Solid-State Drive (SSD) and put virtual machines on it.
 
   - and more...

lots of RAM helps...

also we're hoping that once everything is migrated to the gbuild system,
the rebuild with a single make process will be a bit faster.

-- 
Television?  The word is half Greek and half Latin.
 No good will come of this device. -- Charles Prestwich Scott, 1936.

--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: After building and installing Norwegian OOo still in EN

2011-03-09 Thread Knut Olav Bøhmer
2011/3/8 Knut Olav Bøhmer boh...@gmail.com

 Hi,

 I've just buildt norwegian version of OpenOffice.org, and installed
 /OOO320/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/no
 But the userinterface is still in english, even though

 Writer - Tools - Options - Language Settings - Languages - User
 Interface, says Default - Norwegian Bokmål

 What did I do wrong, or what is missing?


This was due to the SPECIAL_BUILD environment variable ( that turned out
that I did not need, but which I still wonder what is. )

-- 
Knut Olav Bøhmer
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] XTextSection set background image API Changes ?

2011-03-09 Thread underscore
I was setting the background image as follows :

(xSectionProps is the XPropertySet of a XTextSection )

Object bitmapTable   =
createInstance(com.sun.star.drawing.BitmapTable);
XNameContainer nameContainer = ooQueryInterface.XNameContainer(bitmapTable);
String graphicName   = section-background
nameContainer.insertByName(graphicName, file:/home/user/file.png);
graphicURL = (String) nameContainer.getByName(graphicName);

xSectionProps.setPropertyValue(BackGraphic, graphicURL);
xSectionProps.setPropertyValue(BackGraphicFilter, PNG - Portable
Network Graphic);
xSectionProps.setPropertyValue(BackGraphicLocation,
com.sun.star.style.GraphicLocation.TILED);

But this does not seem to work in OOo 3.3 ?

Whats the way to set the background image of a section now ?


thanks

Ashok
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: XTextSection set background image API Changes ?

2011-03-09 Thread Michael Stahl
On 09/03/2011 15:10, underscore wrote:
 I was setting the background image as follows :
 
 (xSectionProps is the XPropertySet of a XTextSection )
 
 Object bitmapTable   =
 createInstance(com.sun.star.drawing.BitmapTable);
 XNameContainer nameContainer = ooQueryInterface.XNameContainer(bitmapTable);
 String graphicName   = section-background
 nameContainer.insertByName(graphicName, file:/home/user/file.png);

i guess this should be file:///home/user/file.png, right?
does that work?

 graphicURL = (String) nameContainer.getByName(graphicName);
 
 xSectionProps.setPropertyValue(BackGraphic, graphicURL);
 xSectionProps.setPropertyValue(BackGraphicFilter, PNG - Portable
 Network Graphic);
 xSectionProps.setPropertyValue(BackGraphicLocation,
 com.sun.star.style.GraphicLocation.TILED);
 
 But this does not seem to work in OOo 3.3 ?

in case it's not because of the URL:

how exactly does it not work?

can you verify that the same code you're trying to run against OOo 3.3
works if you run it against OOo 3.2?

 Whats the way to set the background image of a section now ?
 
 
 thanks
 
 Ashok

-- 
The 'sound' banker, alas! is not one who sees danger and avoids it,
 but one who, when he is ruined, is ruined in a conventional and
 orthodox way along with his fellows so that no one can really
 blame him. -- John Maynard Keynes

--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Help Required In Writing a New SDBC Driver For LDAP

2011-03-09 Thread Rohit Kulkarni
Currently I am writing an SDBC driver for LDAP directories. I am following
the guidelines given at
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/SDBC_Driver
This includes writing Driver, connection, statement and resultset services.

I want to compile the skeleton driver code and have an entry in the list of
available drivers. This driver will be a pseudo driver and will not have any
functionality. This will help in developing the actual driver.

I am not able to find skeleton driver related source files. I could locate a
folder named skeleton in  /OOO320_m19/connectivity/workben/skeleton but
could not find actual source files.

Could anyone please give me any pointers regarding

1. Where can I find the source files for the skeleton driver?
2. How to build a skeleton driver?
3. How to make an entry in available drivers list?

Thanks for your time. I really appreciate the help.

Regards,
Rohit
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Help Required In Writing a New SDBC Driver For LDAP

2011-03-09 Thread Chirag Mahapatra

--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Importing Filter fixes from Symphony

2011-03-09 Thread Niklas Nebel

On 30.11.2010 16:44, MOULIN Camille wrote:

During random tests with IBM's Symphony, I realized that three of the most
annoying bugs in Calc's filters were actually fixed there.
Issue 89232   Fill operations should not touch filtered rows.

Issue 12666   autofilter works just on one sheet (only one auto-range per file)

Issue 85305   Dynamically grow a filtered range for autofilter
I know that Symphony is not an open source project, but do you think it would be
possible to have those fixes upstreamed to OOo ?


A little update on this: We have received a patch for issues 85305 and 
89232. It's in CWS calc66 now.


Niklas
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Importing Filter fixes from Symphony

2011-03-09 Thread Camillem
On 09/03/2011 19:38, Niklas Nebel wrote:
 On 30.11.2010 16:44, MOULIN Camille wrote:
 During random tests with IBM's Symphony, I realized that three of the
 most
 annoying bugs in Calc's filters were actually fixed there.
 Issue 89232   Fill operations should not touch filtered rows.

 Issue 12666   autofilter works just on one sheet (only one auto-range
 per file)

 Issue 85305   Dynamically grow a filtered range for autofilter
 I know that Symphony is not an open source project, but do you think
 it would be
 possible to have those fixes upstreamed to OOo ?

 A little update on this: We have received a patch for issues 85305 and
 89232. It's in CWS calc66 now.
That's really great news :-)  Thanks Niklas.

Camille

--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: XTextSection set background image API Changes ?

2011-03-09 Thread Jürgen Schmidt
On 3/9/11 4:11 PM, underscore wrote:
 On Wed, Mar 9, 2011 at 5:47 PM, Michael Stahl
 michael.x.st...@oracle.com wrote:
 (xSectionProps is the XPropertySet of a XTextSection )

 Object bitmapTable   =
 createInstance(com.sun.star.drawing.BitmapTable);
 XNameContainer nameContainer = ooQueryInterface.XNameContainer(bitmapTable);
 String graphicName   = section-background
 nameContainer.insertByName(graphicName, file:/home/user/file.png);

 i guess this should be file:///home/user/file.png, right?
 does that work?

 
 Thanks ...
 
 Indeed It was the URL -- odd thing is I have been using such
 (file:/home/user ) URIs since OOo 2.4 --
it worked by luck and it seems that somebody have correct the code or
used some other underlying stuff that is less tolerant.

The url syntax was and is wrong and you should use correct urls ;-)

Juergen

 
 So 00 I have 2 instances of the same code ...
 
 One has OOo 3.1 -- and it works with file:/home/user ...
 Same code on OOo 3.3 -- and it works only with file:/// protocol URLs
 e.g. file:///home/user
 --
 -
 To unsubscribe send email to dev-unsubscr...@openoffice.org
 For additional commands send email to sy...@openoffice.org
 with Subject: help

--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help