Re: [dev] Registry cache - Recent documents list

2007-03-27 Thread Carsten Driesner

Robert Vojta schrieb:

Hallo,

I use modified file picker which contains recent documents too. I get
this list from OO.o registry Common/History/PickList. The problem is,
that this list is updated when I exit from OO.o. It is cached
somewhere. From where should I read recent documents list to have same
list as it is under the File - Recent Documents menu item?

Hi Robert,

You should wait for OpenOffice.org 2.2 where this problem has been fixed.

Regards,
Carsten

--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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



Re: [dev] Re: Proxy setting in Inet.xcu has no effect

2007-03-27 Thread Matthias B.

On 3/23/07, Oliver Braun [EMAIL PROTECTED] wrote:

 This leaves us no choice but to have our component disable the proxy
 via UNO API, which of course prevents use of a proxy completely, even
 in environments where the proxy is properly configured.

If you don't need a proxy for the servers you need to access, wouldn't
adding those (via API) to the No proxy for list (ooInetNoProxy)
solve your problem as well ?


Does this allow wildcards? The problem is that I don't have an
exhaustive list of all servers in the internal network (and this is a
moving target).

But Mathias Bauer's suggestion of using an extension is a good one. I
think that's our best option.

Thanks to everyone who replied.

Matthias

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



Re: [dev] Registry cache - Recent documents list

2007-03-27 Thread Robert Vojta

On 3/27/07, Carsten Driesner [EMAIL PROTECTED] wrote:

Hallo Carsten,


You should wait for OpenOffice.org 2.2 where this problem has been fixed.


do you know which CWS contains this fix? So I can backport it to my
2.1? Or this a big change, so it is not recommend to backport this
change?

Regards,
Robert

--
Robert Vojta

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



Re: [dev] Registry cache - Recent documents list

2007-03-27 Thread Robert Vojta

On 3/27/07, Robert Vojta [EMAIL PROTECTED] wrote:


do you know which CWS contains this fix? So I can backport it to my
2.1? Or this a big change, so it is not recommend to backport this
change?


I just found it ... The change is diffed here ...

http://www.go-ooo.org/bonsai/cvsview2.cgi?command=DIFFsubdir=util%2Fsvtools%2Fsource%2Fconfigfile=historyoptions.cxxrev1=1.19rev2=1.19.106.1whitespace_mode=showdiff_mode=context

... and it is issue #i72396#.

Regards,
Robert

--
Robert Vojta

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



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

2007-03-27 Thread Christian Lohmaier
Repost and x-post to [EMAIL PROTECTED] 
it was suggested on IRC that the code that interacts with nas is in vcl
and thus the folks dealing with vcl might know how to use OOO with nas...

Maybe #i75734# - utilities: security issues fixed in nas 1.8b 
refreshed somebodies memories... 

History:
http://www.mail-archive.com/dev@qa.openoffice.org/msg03794.html
http://www.mail-archive.com/dev@openoffice.org/msg06134.html

Hi again... (again nobody replied :-((()

On Sun, Mar 04, 2007 at 01:09:02PM +0100, Christian Lohmaier wrote:
 On Tue, Feb 27, 2007 at 06:39:37PM +0100, Bernd Eilers wrote:
  
  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.
 
 Thanks for the hints, but did anybody actually check this with a current
 version of OOo?
 [...] 
 So to summarize:
 * nasd is running, 
 * AUDIOSERVER is set correctly (both auplay and audemo can connect to it)
 * OOo still wants java/doesn't use nas
 * even when activating Java and playing sound with the JMF, OOo still
   doesn't connect to nas

Since nobody replied, I guess the answer is no, so I just ask again:

Why is nas still in the code if nobody knows how to use it with OOo, if
it appears that it is not even possible to use it.

ciao
Christian
-- 
NP: Bif Naked - The Gross, Gross Man

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



[dev] Open Office Table Split

2007-03-27 Thread Palash Basak
Hi,

I am using Open Office first time. I want to split a table of word 
document. 
The code, that i am using is :---

  xDispatchHelper.executeDispatch( 
xDispatchProvider,.uno:SplitTable,, 0, new PropertyValue[0] );

It is not working properly.

Can you help me please .

Thanks
Palash Basak

 

Re: [dev] Open Office Table Split

2007-03-27 Thread Frank Meies - Sun Germany - Development - Software Engineer

Hi Palash Basak,

On 03/27/07 15:53, Palash Basak wrote:


I am using Open Office first time. I want to split a table of word 
document. 
The code, that i am using is :---


  xDispatchHelper.executeDispatch( 
xDispatchProvider,.uno:SplitTable,, 0, new PropertyValue[0] );


It is not working properly.


did you make sure that the current view cursor is located inside a 
non-headline row of the table?


Hope this helps,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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



Re: [dev] configure script

2007-03-27 Thread Volker Quetschke
Vinay Anand Yadav wrote:
 Hello,
 I am getting the following error at the end of
 ./configure command.

You are using the wrong perl. Please follow the build instructions,
and don't try to use Activestate Perl, it wont work for the cygwin
style bash build.
http://tools.openoffice.org/dev_docs/build_windows_tcsh.html
(Yes, it says tcsh, but it's also for bash builds.)

(SNIP)
 I am trying to build OOE680_m6 on windows xp using cygwin
 Configure options used are
 $ ./configure --with-use-shell=bash --with-perl-home=/cygdrive/c/Perl/
---^
Doesn't work, use the cygwin perl and make sure that the other perl is
not in your path.

   Volker

-- 
= http://wiki.services.openoffice.org/wiki/Debug_Build_Problems  =
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D



signature.asc
Description: OpenPGP digital signature


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

2007-03-27 Thread Jens-Heiner Rechtien

Christian Lohmaier wrote:
Repost and x-post to [EMAIL PROTECTED] 
it was suggested on IRC that the code that interacts with nas is in vcl

and thus the folks dealing with vcl might know how to use OOO with nas...

Maybe #i75734# - utilities: security issues fixed in nas 1.8b 
refreshed somebodies memories... 


History:
http://www.mail-archive.com/dev@qa.openoffice.org/msg03794.html
http://www.mail-archive.com/dev@openoffice.org/msg06134.html

Hi again... (again nobody replied :-((()


AFAIK, NAS is definitely on the short list of the to be eliminated 
parts. It has to be checked if there are, well, unexpected dependencies 
in the code base and than it will take a source code janitor to removed 
it from the code.


Heiner

--
Jens-Heiner Rechtien
[EMAIL PROTECTED]

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



Re: [dev] Re: Proxy setting in Inet.xcu has no effect

2007-03-27 Thread Mathias Bauer
Matthias B. wrote:

 On 3/23/07, Oliver Braun [EMAIL PROTECTED] wrote:
  This leaves us no choice but to have our component disable the proxy
  via UNO API, which of course prevents use of a proxy completely, even
  in environments where the proxy is properly configured.

 If you don't need a proxy for the servers you need to access, wouldn't
 adding those (via API) to the No proxy for list (ooInetNoProxy)
 solve your problem as well ?
 
 Does this allow wildcards? The problem is that I don't have an
 exhaustive list of all servers in the internal network (and this is a
 moving target).
 
 But Mathias Bauer's suggestion of using an extension is a good one. I
 think that's our best option.

Well, until now nobody has answered my question wether the extensions
layer (share/uno_packages) or the system backend layer has precendence.
But OTOH you could simply test it. :-)

Ciao,
Mathias


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

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



[dev] a crash issue

2007-03-27 Thread blueeagle
Hello all,
I meet a problem that can make the soffice crash.
It crashs when insert a new slide in the Outline view.
1.build a new Impress.
2.Insert a new slide in the Outline view via menu.
3.crash.
It is not crash If click the left column of slide first before insert a new 
slide.
I debug this issue and find some error.
1.If do not click the left column of slide,the function void 
LayoutMenu::Execute (SfxRequest rRequest)(sd/../layoutmenu.cxx)is called and 
the function const SfxPoolItem* SfxShell::ExecuteSlot( SfxRequest rReq, BOOL 
bAsync ) (SFX2/../shell.exe)is called and SfxExecFunc pFunc = 
pSlot-GetExecFnc() will be executed.but the pSlot is NULL,I think this is a 
reason.
2.If click the left column of slide,the function void 
SlideSorterViewShell::FuTemporary (SfxRequest 
rRequest)(sd/../slidesorterviewshell.cxx)is called and the new slide can be 
inserted in.
Above all,I think there is something wrong in the pointer.maybe it points to a 
wrong address.
p.s. It is not crash in the m120.
I wish someone could give me some advices to solve this issue.
I will submit in the Issuezilla if no one submited it. 

LiuTao

Beijing Redflag CH2000 Software Co., Ltd. 
Postalcode: 100176 
Tel: 8610-58022828-605
Mobile: 13126869000 
Email: [EMAIL PROTECTED] 


RE: [dev] OLE conversion sun build vs. the rest of the world [ Was RE: [dev] .Doc importer performance ]

2007-03-27 Thread Gregoire Gentil
Mikhail (and others),

Actually, you're right. Sun build has the OLE conversion unchecked.

Just to summarize and close this thread (perhaps it could be useful to
somebody else in the future):

We noticed huge difference of performance of the import of a big Word
document between the Sun build and all other Oo builds (15 seconds vs. 2
minutes). The problem was that this document had some enbeded OLE
objects and by default Sun binaries doesn't convert OLE objects (open as
an image upon double click) while all other Oo binaries like Novell,
Ubuntu, or Gentoo, does convert the object (open as a spreadsheet upong
double click).

Thanks to all who helped to clear up this mistery,

Gregoire


 -Original Message-
 From: Mikhail Voitenko [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 26, 2007 6:58 AM
 To: dev@openoffice.org
 Subject: Re: [dev] OLE conversion sun build vs. the rest of the world 
 [ Was RE: [dev] .Doc importer performance ]
 
 
 Hi Gregoire,
 
 Actually all the optimizations for the OLE object loading are commited

 to the OOo cvs tree. So the behavior should be just the same, although

 I do not know the details about how the other binaries are
 built. By the 
 way, had all the office builds the same version OOo2.1? Can 
 it be that a 
 different version was built to be compared with OOo2.1?
 
 How many time does it take to load the document without conversions? I

 am asking, because the mentioned difference looks pretty like as if 
 the conversion was not used in the fast case. If it was
 activated, could you 
 please check whether all of the imported embedded objects are 
 correctly 
 converted ( to do this, please activate the objects, the 
 normal internal 
 OOo embedded objecs should be activated inplace in this case 
 usually ).
 
 Regards,
 Mikhail.
 

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



Re: [dev] word bounding boxes in Impress?

2007-03-27 Thread Malte Timmermann
This information is only available for things rendered to the screen.
There you can use the Uno Accessibility API (XAccessibleText for char
glyphs)

But I don't know if you can query XAccessibleText from XShape directly.

See openoffice.org/access for details.

Malte.

Laurent Denoue wrote, On 03/27/07 04:08:
 I can get the text, position and size of all shapes on each page of an
 Impress document.
 However, I need the position of individual words that are inside text-based
 shapes.
 How can I do this?
 Laurent.
 
 int npages = PageHelper.getDrawPageCount( xComponent );
 for (int i=0;iMath.min(2,npages);i++)
 {
 XDrawPage xPage = PageHelper.getDrawPageByIndex(
 xComponent,i);
 XShapes xShapes = (XShapes)UnoRuntime.queryInterface(
 XShapes.class, xPage);
 int nshapes = xShapes.getCount();
 for (int j=0;jnshapes;j++)
 {
 XShape xShape = (XShape)UnoRuntime.queryInterface(
 XShape.class, xShapes.getByIndex( j ));
 System.out.println(xShape.getShapeType());
 XText xText = (XText) UnoRuntime.queryInterface(
 XText.class, xShape );
 System.out.println(xText.getString());
 System.out.println(xShape.getPosition().X + , +
 xShape.getPosition().Y + , + xShape.getSize().Width + , + xShape.getSize
 ().Height);
 }
 }
 

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



[dev] pdf Export: text only?

2007-03-27 Thread Laurent Denoue

Can I tell the pdf export filter to only output text, not the images, or
vector graphics, or background images (of an Impress for example)?
I'm trying to speed up exporting to PDF.
Other ideas are welcome.

Laurent.
Note: I'm interested in text only because I can already export the actual
drawpages of a document as PNG, but I also need the bounding boxes of text,
which is available in PDF using pdf2html.


Re: [dev] Re: Proxy setting in Inet.xcu has no effect

2007-03-27 Thread Oliver Braun

Matthias B. wrote:

On 3/23/07, Oliver Braun [EMAIL PROTECTED] wrote:

If you don't need a proxy for the servers you need to access, wouldn't
adding those (via API) to the No proxy for list (ooInetNoProxy)
solve your problem as well ?


Does this allow wildcards? The problem is that I don't have an
exhaustive list of all servers in the internal network (and this is a
moving target).


Yes, wildcards can be used here.

Regards,
Oliver

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



Re: [dev] Re: Sharing packages across products

2007-03-27 Thread Oliver Braun

Kay Ramme - Sun Germany - Hamburg wrote:
For admins actually making use of relocations regulary, it is quite 
likely that (s)he initially ends up with e.g. /usr/local/program etc. 
when trying to relocate to /usr/local.
which obviously is unfortunate, so we are going to try to fix this :-) 
Is there already an issue for that?
If there is, I didn't came across it yet. Which probably means my 
example should not be the primary motivation to change the 
prefix/basedir. But sharing packages across products may be ;-).


Oliver

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