Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - All printing features are now implemented
All printing features are now implemented
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Aug 16, 2003 11:30 am    Post subject: All printing features are now implemented

I just checked in code that implements the last of the missing printing features. Printing is now complete! Of course, there will probably be bugs so if you find any please post them.

My latest commit includes the following new printing features:

- Setting page size
- Handling scaling
- Handling multi-page layout

I also added the "Page Attributes" dialog to the File -> Print... menu item so that you won't have to select File -> Printer Settings to change the paper size or scaling. The "Print" toolbar button still displays only the standard "Print" dialog.

I still have a couple of items left to implement, but most of the printing functionality is now complete. Here is the list of remaining items:

If you want to test out the new printing functionality, you can can build it by doing the following steps. These are the same steps that I posted in my last printing update. Note that this will cause 3 modules to be rebuilt so it will take an hour or two to rebuild. I promise that the rebuilt will be simpler with the next update:

Code:
cd <NEO_HOME>/neojava
rm -Rf vcl svtools sfx2
rm -f build.neo_vcl_patch build.neo_svtools_patch build.neo_sfx2_patch
cvs update -A -d -P
make


Important: updating the code does not cause the vcl and svtools to rebuild. That is why you need to delete the build.neo_*_patch files in the above commands.

When the build is done, you can install the <NEO_HOME>/neojava/install/NeoOfficeJ.pkg.

For those of you who want to test out the changes without building them, I have posted a *.tar.gz with the updated libraries at:

http://www.planamesa.com/neojava/downloads/temp/printtest3.tar.gz

To install the *.tar.gz file, open a Terminal and do the following:

- Execute the following commands to unzip the file:
Code:
cd <NeoJ installation directory>/NeoOfficeJ.app
sudo tar zxvf <path to downloaded *.tar.gz file>

- Restart NeoJ

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Aug 18, 2003 10:23 pm    Post subject: Re: All printing features are now implemented

I just checked in updated code that fixes several bugs that Max Barel found. For a list of the bugs or instructions for downloading and installing updated printing binaries, see my posting in the following forum:

http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=98

You can build the lastest code using use the the following steps. Note that this will cause 4 modules to be rebuilt so it will take an hour or two to rebuild. I promise that the rebuilt will be simpler with the next update:

Code:
cd <NEO_HOME>/neojava
rm -Rf vcl sal svtools sfx2
rm -f build.neo_vcl_patch build.neo_sal_path build.neo_svtools_patch build.neo_sfx2_patch
cvs update -A -d -P
make


Important: updating the code does not cause the vcl and svtools to rebuild. That is why you need to delete the build.neo_*_patch files in the above commands.

When the build is done, you can install the <NEO_HOME>/neojava/install/NeoOfficeJ.pkg file.

Patrick
Back to top
schlesi
Oracle


Joined: Jun 07, 2003
Posts: 234
Location: near Cologne, Germany

PostPosted: Tue Aug 19, 2003 9:05 am    Post subject: Im sorry, but...

I'm sorry, but I've again CVS-problems:

While the "make" I got the following error message:

/Users/thomas/SW-Entwicklung/NeoJ/neojava/build/solver/641/unxmacxp.pro/inc/stl/stl/_list.h:280: instantiated from `_List_iterator<_Tp, _Nonconst_traits<_Tp> > list<_Tp, _Alloc>::insert(_List_iterator<_Tp, _Nonconst_traits<_Tp> >, const _Tp&) [with _Tp = rtl::OString, _Alloc = allocator<rtl::OString>]'
/Users/thomas/SW-Entwicklung/NeoJ/neojava/build/solver/641/unxmacxp.pro/inc/stl/stl/_list.h:348: instantiated from `void list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = rtl::OString, _Alloc = allocator<rtl::OString>]'
../../inc/osl/profile.hxx:204: instantiated from here
:89: too many arguments to function `void* operator new(long unsigned
int)'
/Users/thomas/SW-Entwicklung/NeoJ/neojava/build/solver/641/unxmacxp.pro/inc/stl/stl/_construct.h:89: at
this point in file
dmake: Error code 1, while making '../../unxmacxp.pro/slo/macro.obj'
---* TG_SLO.MK *---
dmake: Error code 255, while making 'do_it_exceptions'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /Users/thomas/SW-Entwicklung/NeoJ/neojava/sal/rtl/source
make: *** [build.neo_sal_patch] Error 1

Thomas
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Aug 19, 2003 9:27 am    Post subject:

Thomas,

I just deleted build.neo_sal_patch and invoked make a few minutes ago and it built without error. Are you invoking make in a new terminal? make takes care of sourcing the correct file so if you run make in terminal with OOo build environment variables set, that may cause problems.

One thing I noticed is that your errors are occurring in files that have not changed. In fact, all of the include files where the errors occur are OOo files.

Lastly, are you running gcc2? If you are using gcc3, you will get all sorts errors. You may want to check the output of "gcc -v".

Patrick
Back to top
schlesi
Oracle


Joined: Jun 07, 2003
Posts: 234
Location: near Cologne, Germany

PostPosted: Tue Aug 19, 2003 10:31 am    Post subject:

Yes, indeed, the gcc3 was still selected from a compiling-session at the weekend.

Sorry and thanks.

Thomas
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.