Posted: 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:
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:
Posted: 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:
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.
Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: 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
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".
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