Re: [dev] question about improving the speed of openning .ppt file

2005-05-17 Thread Thorsten Behrens
"jiangdongjin" <[EMAIL PROTECTED]> writes:

>  To my opinion, OOo impress opens .ppt file slower because of:
>  1. It imports all contents before displays, but MS Powerpoint only
> imports those needed;
>  2. It create too many temp files for those pictures embeded in
> slide pages, but MS Powerpoint do nothing about this.
>  
Hi jiangdongjin,

as you've found out by yourself, not streaming out the images to temp
files hogs huge amounts of memory (and is therefore not an
option). 

Your first item is actually the crucial point here: as our PPT import
is just that, an import, we really have to fully read the file
content. This is because our own, internal representation of the
document content (the 'model') must be complete before anything can be
displayed. There are currently no mechanisms to lazy-load only the
first slide, and the remainder only on demand.

Changing that would be quite some work, as it would require large
refactorings to integrate PPT import more tightly with the drawing
layer model.

HTH,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

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



[dev] RTF_Export Filter doesn´t save sometimes the footer

2005-05-17 Thread Alexander Peters
Hello! When i open an existing RTF File and add there an Header and a Footer, 
the Footer isnt saved. When i open the existig RTF File and make the some 
changes and use "Save As..." to store it with a new filename it works. Work 
there different export filters?

MfG
Alexander Peters

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



Re: [dev] question about improving the speed of openning .ppt file

2005-05-17 Thread jiangdongjin
Hi Thorsten,

- Original Message - 
From: "Thorsten Behrens" <[EMAIL PROTECTED]>
Newsgroups: openoffice.dev
To: 
Sent: Tuesday, May 17, 2005 5:38 PM
Subject: Re: [dev] question about improving the speed of openning .ppt file


> "jiangdongjin" <[EMAIL PROTECTED]> writes:
> 
> >  To my opinion, OOo impress opens .ppt file slower because of:
> >  1. It imports all contents before displays, but MS Powerpoint only
> > imports those needed;
> >  2. It create too many temp files for those pictures embeded in
> > slide pages, but MS Powerpoint do nothing about this.
> >  
> Hi jiangdongjin,
> 
> as you've found out by yourself, not streaming out the images to temp
> files hogs huge amounts of memory (and is therefore not an
> option). 
> 
> Your first item is actually the crucial point here: as our PPT import
> is just that, an import, we really have to fully read the file
> content. This is because our own, internal representation of the
> document content (the 'model') must be complete before anything can be
> displayed. There are currently no mechanisms to lazy-load only the
> first slide, and the remainder only on demand.
> 

As I mentioned :
OOo impress imports all contents before displays, but MS Powerpoint only 
imports those needed;

I have tried to change the synchronous load mechanism but I failed :)
So many things I need to know and change. 

I found when open my test .ppt file(contains many jpg or bmp pictures), the 
most time-wasted points are those functions to load picture.
i.e.
ImportGIF(...)
ImportPNG(...)
ImportJPEG(...)
ImportXBM(...)
..
If I omit these functions, My test .ppt file opened as fast as MS 
Powerpoint(maybe 1-2 seconds slower), but all my pictures are missing.
So my plan is, in the load phase, I only load some basic infomation like width 
and height of the picture(I think only these are necessary for formatting), 
then display.After that if I really need some pictures(display or operation), I 
import it from input stream.

Is my method feasible? Thanks!

best regards,
jiangdongjin

Re: [dev] How do I force complete rebuild of OpenOffice 1.14?

2005-05-17 Thread Samphan Raruenrom
Greg Quinn wrote:
I have compiled OpenOffice 1.14 successfully for the Windows platform. But I 
have made a code change and now wish to rebuild everything. But now when I 
build the build only takes about 2 hours. And my code change is not reflected!
How do I force a complete rebuild of everything so it takes again +- 14 hours 
to build?
What command do I use?
I tried using build --all but that doesn't do anything.
You can 'dmake clean' at source root which will delete everyting for a
fresh rebuild. But I think you can simply
cd ; rm -rf wntmsci10.pro
Which will clean the module(s) and then rebuild only that module(s) by
build && deliver
Then clean and rebuild instsetoo again.
--
_/|\_ Samphan Raruenrom.


Re: [dev] 1.9.100 script transfer

2005-05-17 Thread Joerg Barfurth
Hi Mathias,
Mathias Bauer wrote:
 - additionally I assume that the migration not
only "ignores" 1.9.95 but overwrites it with the content from 1.1.x.
IIRC the milestone number is encoded into the name of the .openoffice* 
directory (not sure about Beta here), so each milestone starts with a 
clean or freshly migrated user data directory.

Ciao, Jörg
--
Joerg Barfurth  Sun Microsystems - Desktop - Hamburg
>> using std::disclaimer <<<
Software Engineer [EMAIL PROTECTED]
OpenOffice.org Configuration  http://util.openoffice.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [dev] commit log of cws bsd02 is somewhat odd

2005-05-17 Thread Rüdiger Timm

NAKATA Maho wrote:
Dear all,
could someone please explain me why after my commit on bsd02,
there seems no infomations connected to
Modules & Files

I assume commit log was wrong...
http://ooo.ximian.com/bonsai/cvsquery.cgi?treeid=default&module=all&branch=cws_srx645_bsd02&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fvar%2Fcvsup
thanks for your advices,
-- NAKATA, Maho ([EMAIL PROTECTED])
'Modules & Files' shows added modules only because your CWS bsd02 is 
still in state 'approved by QA'. Detailed information on file level get 
inserted into database during integration of a CWS, not earlier.
But I can assure you that 
bridges/source/cpp_uno/gcc2_freebsd_intel/makefile.mk and 
vcl/unx/source/app/makefile.mk have been committed correctly on that CWS 
branch and will get onto SRX645 master as soon as the CWS gets integrated.

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


Re: [dev] 1.9.100 script transfer

2005-05-17 Thread Mathias Bauer
Joerg Barfurth wrote:

> Hi Mathias,
> 
> Mathias Bauer wrote:
>>  - additionally I assume that the migration not
>> only "ignores" 1.9.95 but overwrites it with the content from 1.1.x.
>> 
> 
> IIRC the milestone number is encoded into the name of the .openoffice* 
> directory (not sure about Beta here), so each milestone starts with a 
> clean or freshly migrated user data directory.

Yes, I also discovered this meanwhile. This is a subtle, but important
difference to the way we create StarOffice milestones.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

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



Re: [dev] question about improving the speed of openning .ppt file

2005-05-17 Thread Thorsten Behrens
"jiangdongjin" <[EMAIL PROTECTED]> writes:

> If I omit these functions, My test .ppt file opened as fast as MS
> Powerpoint(maybe 1-2 seconds slower), but all my pictures are
> missing.
>
Hi jiangdongjin,

okay, it wasn't clear to me from your original mail that delay-loading
the images is sufficient for your case (in general, it won't be
sufficient to noticeably speed up PPT import - just try a 100 slide
document with lots of polygonal content...).

> So my plan is, in the load phase, I only load some basic infomation
> like width and height of the picture(I think only these are
> necessary for formatting), then display.After that if I really need
> some pictures(display or operation), I import it from input stream.
>
Yes, that's a lot easier than delay-loading of the whole
document. You'd have to extend the GraphicObject to be able to swap in
from streams with a given offset (and live with the fact that some
special-casing from the PPT import might no longer work - I vaguely
remember MS putting whole GIFs into PNG chunks).

HTH,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

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



[dev] Suggested improvements to clarity of OOo2 Beta Linux instructions

2005-05-17 Thread Sam Hiser
Gentlemen-

I find that the OOo2 Beta Linux install instructions could be improved
by being more explicit.

I add suggested steps to the existing instructions copied below
(additions starting in the middle of Step "5.")...

*
Linux RPM-based Installation 

Prerequisites

If you want Java integration, you want to make sure you have the latest
JRE installed. It should be at least JRE 1.4. You can find the JRE for
Linux at the Java JRE for Linux download site. Alternatively, it might
be included on the installation media of your distro as part of a
complete Java development environment.

Installation Steps

 1. Unpack the downloaded image into a directory. For example,
currently, the following command would unpack into the current
directory: 
tar xvzf Ooo_1.9.m79_native_LinuxIntel_install.tar.gz 
 2. Su to root, if necessary. 
 3. cd into the directory with the unpacked image. This could be
RPMS. 
 4. Delete any rpm files that do not apply to your system. For
example, on a Fedora Core 3 system, delete any rpms specific to
another distribution such as openofficeorg-suse-
menus-1.9.79-1.noarch.rpm. 
 5. Then execute rpm -Uvih *rpm.  [This could be executed from the
path /home/[username]/RPMS/, for example.] 
 6. Then, cd into the /desktop-integration directory. This could be
done with the command cd /home/[username]/RPMS/desktop-
integration/ [enter]. 
 7. Finally, from the /desktop-integration directory, install the
rpm for you distro. On a Fedora Core 3 system, for example, run
the openofficeorg-redhat-menus-1.9.100-1.noarch.rpm with the
command rpm -Uvih openofficeorg-redhat-
menus-1.9.100-1.noarch.rpm [enter].  This will install the
launcher links for each OpenOffice.org module under
Applications->Office->[OpenOffice.org 1.9 Writer] (Fedora Core
3) on your distro's panel menu -- or under the Main Menu or
Starter Bar on the main panel of your distro. 
 8. Complete system setup by launching any of the OpenOffice.org
application modules from this link on the panel menu.


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



[dev] ./configure before compiling problem with cups

2005-05-17 Thread Vizion
Hi all 
Members of lists users@openoffice.org recommended I bring this query to  the 
dev list:

1. Topis as subject .. ./configure before compiling problem with cups.
2. I think  most relevant information in the following Sections - what am I 
missing?-
3. OS FreeBSD 5.3 for more details see .config output

Sections begin with:
/*-OpenOffice file Location--
/*-./configure---
/*locate cups.h
/*--./configure --includedir=/usr/local/include/
/*--pkg_info cups-1.1.23.0
/*locate cups--Partial listing---

Sections start:
/*-OpenOffice file Location--
EZGiver# cd config_office/
EZGiver# pwd
/usr/ports/distfiles/OpenOffice1.9.100-1/SRC680_m100/config_office

/*-./configure---
EZGiver# ./configure
checking for gawk... gawk
checking for gawk... /usr/local/bin/gawk
checking for sed... /usr/bin/sed
checking for solenv environment... default
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking target system type... i386-unknown-freebsd5.3
checking the FreeBSD operating system release... found OSVERSION=503001
checking which thread library to use... -pthread
checking whether to enable crashdump feature... yes, STATIC
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product 
build
checking whether to include symbols into final build... yes
checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 
5.2)... yes
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gcc home... /usr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.4.2)
checking whether gcc supports -fvisibility=hidden... no
checking for GNU make... --version: not found
gmake
checking the GNU make version... gmake 3.80
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
configure: error: cups/cups.h could not be found. libcupsys2-dev or 
cups???-devel missing?

/*locate cups.h
EZGiver# locate cups.h
/usr/local/include/cups/cups.h
/usr/ports/print/cups-lpr/work/cups-1.1.23/cups/cups.h
/usr/ports/print/cups-lpr/work/cups-1.1.23/scripting/php/php_phpcups.h

/*--./configure --includedir=/usr/local/include/
EZGiver# ./configure --includedir=/usr/local/include/
checking for gawk... gawk
checking for gawk... /usr/local/bin/gawk
checking for sed... /usr/bin/sed
checking for solenv environment... default
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking target system type... i386-unknown-freebsd5.3
checking the FreeBSD operating system release... found OSVERSION=503001
checking which thread library to use... -pthread
checking whether to enable crashdump feature... yes, STATIC
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product 
build
checking whether to include symbols into final build... yes
checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 
5.2)... yes
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gcc home... /usr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.4.2)
checking whether gcc supports -fvisibility=hidden

[dev] Wants a start in OpenOffice development.

2005-05-17 Thread Azhar
Hello,
My name is Azhar Javaid, I am currently working as a Senior Software
Developer in a Software Organization. I want to get started with open
office development. It would be just great if you can help me in doing
so.

Though i am not currently working in the languages that are required
in OpenOffice development like C++ and JAVA, but I have a strong
knowledge of these two great languages and with a little effort, I
hope that I can develop something in these languages and contribute in
the development of OpenOffice.

Waiting for you response.

Thanks.

-- 
Regards

(Azhar Javaid Abbasi)

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



[dev] Writer allows deleting opened file while saving

2005-05-17 Thread Ales Kahanek
Hi,
there is a problem with OO Writer when saving document. I would really 
appreciate any hints:

we are developing document management system, the document (files) are 
stored in a database. When user wants to edit the file, it is extracted 
from database to disk and then external application is called to open 
the file. Then user makes changes to this document and closes the 
application.

The key point is to know, when user has finished editing the file and 
copy it back to database.

Mostly we start the external process and periodically check if it is 
active. If not, we know that editing has finished. This is not possible 
with OO, as then process is still running when another file is opened in 
another OO window. The process seems to be the same for all OO windows.

With such applications we do another approach: we try periodically to 
get ShareExclusive access to this file. If the request is rejected, we 
know that the file is still opened and edited. And here is the problem 
with Writer - when you save the file in Writer, there is a short period 
of time, when the the exclusive access to the file can be obtained and 
more, the file can be even DELETED. There is an important point to know: 
this behaviour can be reproduced when the OO QuickStarter is running (I 
do not know if this could have any impact on it).

Also when comparing to MS Word or Excel, trying to get exclusive access 
to the file works fine. Word or Excel does not release the "lock" from 
the file until the file is closed.

What do you think about it?  How can I know, when the file opened by 
Writer was closed? Or better - shouldn´t this behaviour be changed not 
to release the file access "lock"?

Thank you very much for any hint.
If this is wrong group, please, point me to the right place.
Ales Kahanek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [dev] How to make OO update table list

2005-05-17 Thread Matthias Benkmann
Hallo Frank,

thanks for your help so far.

> There might be a somewhat cumbersome and pretty roundabout way if you
> want to refresh the data source browser's content (the DSB is the thing
> you get view "View->Data Sources"). I.e., if you know that the users are
> seeing the data source in a DSB, and you want to refresh this DSB, there
> might be a way. Not sure - but if you say this would be sufficient, we
> could try to find one together :)

I'm not really interested in the DSB. What I really want to do is to
connect an open document that has mail merge fields to a different CSV
file. I played around with DocumentSettings.CurrentDatabaseCommand and
changing this seemed to be what I want. I thought my problem was just
that the value I wanted to set here was the name of a new table that
the running OO instance hadn't picked up. But now it seems that this
won't work, even if I get OO to update the table list.

I think I need to implement the "Exchange Database" function (see
http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=13787). If I
manage to do this, then I guess I can just register a new database for
my CSV directory. The newly registered database will naturally have an
up-to-date table list and after doing Exchange Database my mail merge
fields will access the new table. I just hope someone can point me
into the right direction for implementing this function.

Matthias

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



Re: [dev] ./configure before compiling problem with cups

2005-05-17 Thread Vizion
On Monday 16 May 2005 23:47,  the author Pavel Janík contributed to the 
dialogue on Re: [dev] ./configure before compiling problem with cups:

NOTE cups present!!~!!
&From: Vizion <[EMAIL PROTECTED]>
&Date: Mon, 16 May 2005 14:59:16 -0700
&
&> checking cups/cups.h usability... no
&> checking cups/cups.h presence... no
&> checking for cups/cups.h... no
&> configure: error: cups/cups.h could not be found. libcupsys2-dev or
&> cups???-devel missing?
&
& You do not have cups.h.

please read original email carefully:
You will see that I do have cups.h

Original text repeated below:\
-

1. Topis as subject .. ./configure before compiling problem with cups. 
2. I think  most relevant information in the following Sections - what am I 
missing?-
3. OS FreeBSD 5.3 for more details see .config output

Sections begin with:
/*-OpenOffice file Location--
/*-./configure---
/*locate cups.h
/*--./configure --includedir=/usr/local/include/
/*--pkg_info cups-1.1.23.0
/*locate cups--Partial listing---

Sections start:
/*-OpenOffice file Location--
EZGiver# cd config_office/
EZGiver# pwd
/usr/ports/distfiles/OpenOffice1.9.100-1/SRC680_m100/config_office

/*-./configure---
EZGiver# ./configure
checking for gawk... gawk
checking for gawk... /usr/local/bin/gawk
checking for sed... /usr/bin/sed
checking for solenv environment... default
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking target system type... i386-unknown-freebsd5.3
checking the FreeBSD operating system release... found OSVERSION=503001
checking which thread library to use... -pthread
checking whether to enable crashdump feature... yes, STATIC
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product 
build
checking whether to include symbols into final build... yes
checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 
5.2)... yes
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gcc home... /usr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.4.2)
checking whether gcc supports -fvisibility=hidden... no
checking for GNU make... --version: not found
gmake
checking the GNU make version... gmake 3.80
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
configure: error: cups/cups.h could not be found. libcupsys2-dev or 
cups???-devel missing?

/*locate cups.h
EZGiver# locate cups.h
/usr/local/include/cups/cups.h
/usr/ports/print/cups-lpr/work/cups-1.1.23/cups/cups.h
/usr/ports/print/cups-lpr/work/cups-1.1.23/scripting/php/php_phpcups.h

/*--./configure --includedir=/usr/local/include/
EZGiver# ./configure --includedir=/usr/local/include/
checking for gawk... gawk
checking for gawk... /usr/local/bin/gawk
checking for sed... /usr/bin/sed
checking for solenv environment... default
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking target system type... i386-unknown-freebsd5.3
checking the FreeBSD operating system release... found OSVERSION=503001
checking which thread library to use... -pthread
checking whether to enable crashdump feature... yes, STATIC
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product 
build
checking whether to include symbols into final build... yes
checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 
5.2)... yes
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gc

[dev] Writer allows exclusive access to opened file while saving!

2005-05-17 Thread Ales Kahanek
Hi,
there is a problem with OO Writer when saving document. I would really 
appreciate any hints:

we are developing document management system, the document (files) are 
stored in a database. When user wants to edit the file, it is extracted 
from database to disk and then external application is called to open 
the file. Then user makes changes to this document and closes the 
application.

The key point is to know, when user has finished editing the file and 
copy it back to database.

Mostly we start the external process and periodically check if it is 
active. If not, we know that editing has finished. This is not possible 
with OO, as then process is still running when another file is opened in 
another OO window. The process seems to be the same for all OO windows.

With such applications we do another approach: we try periodically to 
get ShareExclusive access to this file. If the request is rejected, we 
know that the file is still opened and edited. And here is the problem 
with Writer - when you save the file in Writer, there is a short period 
of time, when the the exclusive access to the file can be obtained and 
more, the file can be even DELETED. There is an important point to know: 
this behaviour can be reproduced when the OO QuickStarter is running (I 
do not know if this could have any impact on it).

Also when comparing to MS Word or Excel, trying to get exclusive access 
to the file works fine. Word or Excel does not release the "lock" from 
the file until the file is closed.

What do you think about it?  How can I know, when the file opened by 
Writer was closed? Or better - shouldn´t this behaviour be changed not 
to release the file access "lock"?

Thank you very much for any hint.
If this is wrong group, please, point me to the right place.
Ales Kahanek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [dev] ./configure before compiling problem with cups

2005-05-17 Thread Pavel Janík
   From: Vizion <[EMAIL PROTECTED]>
   Date: Tue, 17 May 2005 07:44:41 -0700

   > & You do not have cups.h.
   > 
   > please read original email carefully:
   > You will see that I do have cups.h

Reading your mails is very hard. You do not have cups in the location OOo
is looking for it, just disable it for now (see configure --help).
-- 
Pavel Janík

In the beginning was the word, and the word was content-type: text/plain.
  -- Kilian A. Foth in comp.emacs.xemacs

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



Re: [dev] ./configure before compiling problem with cups

2005-05-17 Thread Vizion
On Tuesday 17 May 2005 07:44,  the author Vizion contributed to the dialogue 
on Re: [dev] ./configure before compiling problem with cups:

I have tried to make the position clearer by adding some notes---

&
& please read original email carefully:
& You will see that I do have cups.h
&
& Original text repeated below:\
& -
&
1. Topic as subject .. ./configure before compiling problem with cups.

2. I think  most relevant information in the following Sections - what am I 
missing?-

3. OS FreeBSD 5.3 for more details see .config output

The output from commands is in email below these notes. The outurt is in 
sections. Each Sections begin with "/*": (use for search through email to get 
to output). Here is a list of the Section  with their full titles (to use for 
quick search) and a note
/*-OpenOffice file Location--
Note: Location of package!
/*-./configure---
Note: Configure command & output -suggests cups.h is not present..
/*locate cups.h
Note: Shows cups.h is present
Note: Query does configure know correct path?
/*--./configure --includedir=/usr/local/include/
Note: Reissue configure command with correct path - output shows configure 
still has trouble with cups.h 
/*--pkg_info cups-1.1.23.0
Note: Gives info on package
/*locate cups--Partial listing---
Note: Lists cups on system
&
& Sections start:
--
& /*-OpenOffice file Location--
& EZGiver# cd config_office/
& EZGiver# pwd
& /usr/ports/distfiles/OpenOffice1.9.100-1/SRC680_m100/config_office
&
& /*-./configure---
& EZGiver# ./configure
& checking for gawk... gawk
& checking for gawk... /usr/local/bin/gawk
& checking for sed... /usr/bin/sed
& checking for solenv environment... default
& checking build system type... i386-unknown-freebsd5.3
& checking host system type... i386-unknown-freebsd5.3
& checking target system type... i386-unknown-freebsd5.3
& checking the FreeBSD operating system release... found OSVERSION=503001
& checking which thread library to use... -pthread
& checking whether to enable crashdump feature... yes, STATIC
& checking whether to do a debug build... no
& checking whether to build with additional debug utilities... no, full
 product & build
& checking whether to include symbols into final build... yes
& checking whether to enable native CUPS support... yes
& checking whether to enable fontconfig support... yes
& checking whether to enable filters for legacy binary file formats
 (StarOffice & 5.2)... yes
& checking whether to use RPATH in shared libraries... yes
& checking whether to include MySpell dictionaries... yes
& checking which shell to use... tcsh
& checking for tcsh... /bin/tcsh
& checking gcc home... /usr
& checking for gcc... gcc
& checking for C compiler default output file name... a.out
& checking whether the C compiler works... yes
& checking whether we are cross compiling... no
& checking for suffix of executables...
& checking for suffix of object files... o
& checking whether we are using the GNU C compiler... yes
& checking whether gcc accepts -g... yes
& checking for gcc option to accept ANSI C... none needed
& checking for gcc... /usr/bin/gcc
& checking the GNU gcc compiler version... checked (gcc 3.4.2)
& checking whether gcc supports -fvisibility=hidden... no
& checking for GNU make... --version: not found
& gmake
& checking the GNU make version... gmake 3.80
& checking how to run the C preprocessor... gcc -E
& checking for egrep... grep -E
& checking for ANSI C header files... yes
& checking for sys/types.h... yes
& checking for sys/stat.h... yes
& checking for stdlib.h... yes
& checking for string.h... yes
& checking for memory.h... yes
& checking for strings.h... yes
& checking for inttypes.h... yes
& checking for stdint.h... yes
& checking for unistd.h... yes
& checking cups/cups.h usability... no
& checking cups/cups.h presence... no
& checking for cups/cups.h... no
& configure: error: cups/cups.h could not be found. libcupsys2-dev or
& cups???-devel missing?
&
& /*locate cups.h
& EZGiver# locate cups.h
& /usr/local/include/cups/cups.h
& /usr/ports/print/cups-lpr/work/cups-1.1.23/cups/cups.h
& /usr/ports/print/cups-lpr/work/cups-1.1.23/scripting/php/php_phpcups.h
&
& /*--./configure --includedir=/usr/local/include/
& EZGiver# ./configure --includedir=/usr/local/include/
& checking for gawk... gawk
& checking for gawk... /usr/local/bin/gawk
& checking for sed... /usr/bin/sed
& checking for solenv environment... default
& checking build system type... i386-unknown-freebsd5.3
& checking host system type... i386-unknown-freebsd5.3
& checking target system type... i386-unknown-freebsd5.3
& checking the FreeBSD operating system release... found OSVERSION=503001
& checking which thread library to use... -pthread
& checking whether to enable crashdump feature... yes, STATIC
& checking whether to do a debug build... no
& checking whether to build with 

Re: [dev] question about improving the speed of openning .ppt file

2005-05-17 Thread Sven Jacobi
Thorsten Behrens wrote:
"jiangdongjin" <[EMAIL PROTECTED]> writes:

If I omit these functions, My test .ppt file opened as fast as MS
Powerpoint(maybe 1-2 seconds slower), but all my pictures are
missing.
Hi jiangdongjin,
okay, it wasn't clear to me from your original mail that delay-loading
the images is sufficient for your case (in general, it won't be
sufficient to noticeably speed up PPT import - just try a 100 slide
document with lots of polygonal content...).

So my plan is, in the load phase, I only load some basic infomation
like width and height of the picture(I think only these are
necessary for formatting), then display.After that if I really need
some pictures(display or operation), I import it from input stream.
Yes, that's a lot easier than delay-loading of the whole
document. You'd have to extend the GraphicObject to be able to swap in
from streams with a given offset (and live with the fact that some
special-casing from the PPT import might no longer work - I vaguely
remember MS putting whole GIFs into PNG chunks).
HTH,
Hi,
I also think that delay-loading of images is not so difficult to
implement, but there are some obstacles to overcome:
- some graphics are compressed some are not
- especially ole objects needs to be placed into the correct storage
  environment
- currently we do not support all graphic attributes - sometimes
  images needs to be adjusted at load time
By the way delay-loading doesn't bring any benefit if you are just
converting files into the OOo format, because then you have to wait
until the model has been converted completely.
HTH
Sven
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[dev] 1.9.100 script library duplication

2005-05-17 Thread Jahn, Ray \(R.\)
possibly related OO issue 48147
PC: MS Windows 2000
OO: 1.9.100
mail lists: dev, [EMAIL PROTECTED], [EMAIL PROTECTED]

create an empty OO Calc file
create an empty script function in OO Basic
save in the default format (say: junk.ods)
create another empty OO Calc file
create an empty script function in OO Basic
save in the 1.1 format with identical name (say: junk.sxc)
close down the entire OO application

open both OO Calc files
enable both scripts (empty) during open operation
tools - macros - organize macros - basic
select organizer button
3 user modules instead of 2
duplicate module of the 2nd file in display list

Is there any issue of vulnerability?
Is this issue unique to my PC configuration?

Sorry that I cannot offer an example attachment.  My mail firewall seems to 
delete any mail (both inbound and outbound) with attachments of unknown formats.

Regards,

Ray

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



Re: [dev] loading documents

2005-05-17 Thread Matthew L. Avizinis
Hello again,
Ok, I've got DAV working on my server and I still notice an odd 
difference in behavior between Writer 1.1.4 and 1.9.100.  With 1.1.4 
both encoded ASCII text files and .sxw files are opened read/write; 
1.9.100 opens encoded ASCII text files read/write but .sxw files as 
readonly. That is, if I open any given file with 1.1.4 it responds with 
certain behavior and the /same/ file with 1.9.100 the other behavior.  
This has /got/ to indicate something and narrow something down.  At 
least, I hope it gives a developer some clue to figure this out.
thanks in advance for the help,
Matthew

Mathias Bauer wrote:
Matthew L. Avizinis wrote:
 

Mathias Bauer wrote:
   

BTW; did you consider using WebDAV instead of ftp? It's much more
reliable especially in this regards and maybe in future OOo will support
more advanced features of this protocol.
 

Much thanks for the suggestion.  No I hadn't considered it, but now that 
you've mentioned it, I've discussed it with the network guy that 
maintains our Apache server and that capability should be simple to 
install and activate.  It appears to be a superior approach to 
accomplish what I'm trying to do anyhow.
What features does OOo currently support of DAV (or what OOo/SDK doc 
page can you point to, if available)?
   

Currently OOo supports only basic features, not more than for ftp. You
can open the folders in the file dialog, you can create, open and save
files. Access to files and folders can be password protected or not.
Locking is currently not supported.
One advantage over ftp is that WebDAV folder access also works through a
proxy, while the usual ftp-over-http-proxy does allow only file access,
not folder access. I assume this isn't interesting for your environment,
but I wanted to mention it.
I nevertheless recommend WebDAV instead of ftp because it is the better
technologie on server side and we might add more features in further
versions of OOo.
Best regards,
Mathias
 



Re: [dev] loading documents

2005-05-17 Thread Matthew L. Avizinis
Hello once again,
Alright, looks like there was some kind of negative interaction between 
1.9.100 and the previous version that existed on my computer.  I removed 
that version and the current one, then reinstalled 1.9.100 and 
everything seems to work fine.
thanks for your time,
Matthew

Hello again,
Ok, I've got DAV working on my server and I still notice an odd 
difference in behavior between Writer 1.1.4 and 1.9.100.  With 1.1.4 
both encoded ASCII text files and .sxw files are opened read/write; 
1.9.100 opens encoded ASCII text files read/write but .sxw files as 
readonly. That is, if I open any given file with 1.1.4 it responds with 
certain behavior and the /same/ file with 1.9.100 the other behavior.  
This has /got/ to indicate something and narrow something down.  At 
least, I hope it gives a developer some clue to figure this out.
thanks in advance for the help,
Matthew

Mathias Bauer wrote:
Matthew L. Avizinis wrote:
 

Mathias Bauer wrote:
   

BTW; did you consider using WebDAV instead of ftp? It's much more
reliable especially in this regards and maybe in future OOo will support
more advanced features of this protocol.
 

Much thanks for the suggestion.  No I hadn't considered it, but now that 
you've mentioned it, I've discussed it with the network guy that 
maintains our Apache server and that capability should be simple to 
install and activate.  It appears to be a superior approach to 
accomplish what I'm trying to do anyhow.
What features does OOo currently support of DAV (or what OOo/SDK doc 
page can you point to, if available)?
   

Currently OOo supports only basic features, not more than for ftp. You
can open the folders in the file dialog, you can create, open and save
files. Access to files and folders can be password protected or not.
Locking is currently not supported.
One advantage over ftp is that WebDAV folder access also works through a
proxy, while the usual ftp-over-http-proxy does allow only file access,
not folder access. I assume this isn't interesting for your environment,
but I wanted to mention it.
I nevertheless recommend WebDAV instead of ftp because it is the better
technologie on server side and we might add more features in further
versions of OOo.
Best regards,
Mathias
 



Re: [dev] ./configure before compiling problem with cups

2005-05-17 Thread Ken Foskey
On Tue, 2005-05-17 at 07:44 -0700, Vizion wrote:

> please read original email carefully:
> You will see that I do have cups.h

But it is not in your standard compiler search path:

>AC_CHECK_HEADER(cups/cups.h, [],
> [AC_MSG_ERROR([cups/cups.h could not be found. 
> libcupsys2-dev or cups???-devel missing?])], [])
> 

This piece of configure requires the compiler to pick it up without
changes try something to serch an additional search path, from memory
-I /path/to/my/cups/includes/

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] ./configure before compiling problem with cups

2005-05-17 Thread Vizion
On Tuesday 17 May 2005 15:56,  the author Ken Foskey contributed to the 
dialogue on Re: [dev] ./configure before compiling problem with cups:
& On Tue, 2005-05-17 at 07:44 -0700, Vizion wrote:
&
& > please read original email carefully:
& > You will see that I do have cups.h
&
& But it is not in your standard compiler search path:
&
& >AC_CHECK_HEADER(cups/cups.h, [],
& > [AC_MSG_ERROR([cups/cups.h could not be found.
 libcupsys2-dev or cups???-devel missing?])], []) & >
&
& This piece of configure requires the compiler to pick it up without
& changes try something to serch an additional search path, from memory
& -I /path/to/my/cups/includes/


That was what I thought -- so I followed the instructions and you will see 
that the second configure identifies the search path -- the other thing that 
is weird is that it fouiund other .h files that are in the same search path 
as cups/cups.h !
&

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal.

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