Re: Usage about pyuno
2015-05-08 15:34 GMT+08:00 Marcus marcus.m...@wtnet.de: Am 05/08/2015 04:14 AM, schrieb He Sun: I need your *HELP* The problem is, using xsl2pdf.py to convert tmp.xls to tmp.pdf, but the tmp.pdf has page info '1' on the head and tmp.xls on the foot, and the excel didnot fill the full pdf page. I want: 1. remove '1' from the head. 2. remove 'tmp.xls' from the foot. 3. extends the excel to fill the full pdf page. How can I achieve these goals by using OpenOffice? I don't know if you want or have to solve the problems via API programming. Then I cannot help you. Indeed, I have to use API programming because the project need to generate PDF from excel. -_-|| Otherwise here are some comments: - Please check the output via File - Page preview. Here you can already see the header/footer data and the size of the print out. - The XLS file includes an enabled header and footer. Therefore you see the file name and page number there. Go to Format - Page and uncheck the option on the header/footer tab page (Header on and Footer on). - When you want to see the complete sheet in the PDF then you have to scale the page. Go to Format - Page - Sheet - Scaling factor. I've seen good results until 180%. More will breakup into more pages. However, I've checed the display only with page format A4. With other page formats the results are likely different and a higher scaling factor could be possible. Thanks very very much for your kindly reply, it does help me some way. :-) The factor the option and so on if I find the API to deal with it. I hope this helps. Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org Thanks a lot. :-) Have a good day. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Usage about pyuno
Am 05/08/2015 04:14 AM, schrieb He Sun: I need your *HELP* The problem is, using xsl2pdf.py to convert tmp.xls to tmp.pdf, but the tmp.pdf has page info '1' on the head and tmp.xls on the foot, and the excel didnot fill the full pdf page. I want: 1. remove '1' from the head. 2. remove 'tmp.xls' from the foot. 3. extends the excel to fill the full pdf page. How can I achieve these goals by using OpenOffice? I don't know if you want or have to solve the problems via API programming. Then I cannot help you. Otherwise here are some comments: - Please check the output via File - Page preview. Here you can already see the header/footer data and the size of the print out. - The XLS file includes an enabled header and footer. Therefore you see the file name and page number there. Go to Format - Page and uncheck the option on the header/footer tab page (Header on and Footer on). - When you want to see the complete sheet in the PDF then you have to scale the page. Go to Format - Page - Sheet - Scaling factor. I've seen good results until 180%. More will breakup into more pages. However, I've checed the display only with page format A4. With other page formats the results are likely different and a higher scaling factor could be possible. I hope this helps. Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
[BUILDBOT] - Linux 32bit Nightly (openoffice-linux32-nightly)
Hi All, So this build was ‘flapping’, i.e. passing/failing nearly every other build. http://ci.apache.org/builders/openoffice-linux32-nightly?numbuilds=50 http://ci.apache.org/builders/openoffice-linux32-nightly?numbuilds=50 This was mainly due to the use of the method=‘copy’ way of updating the source tree. The SVN step performs two things when in ‘copy’ mode, it does a checkout to a ‘source’ directory and then does a copy from there to the ‘build’ directory. The first has a default timeout of 1200 whilst the latter has a (currently) unconfigurable timeout of 120. It is the latter 120 timeout during copy that makes the build fail, about 50% of the time it hits the timeout limit before the copy is complete and so the build fails. I have changed from using mode=‘full', method=‘copy’” to using mode=‘incremental’” which basically means use ‘svn update’ directly on the build directory. I believe this will stabilise this particular build. (I can’t remember why mode=copy was used originally.) All the other builds also still use mode=copy but I haven’t spotted a failing pattern with those so far because of it. HTH Gav… signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Fwd: Build Apache open office
Hi, Nguyễn Đình Văn schrieb: -- Forwarded message -- From: Nguyễn Đình Văn dinhva...@gmail.com Date: 2015-05-07 14:40 GMT+07:00 Subject: Build Apache open office To: dev-h...@openoffice.apache.org, qa-h...@openoffice.apache.org - I build source apache open office fllow : https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7. But when i run command : SDK_PATH=/cygdrive/c/Program\ Files/Microsoft\ SDKs/Windows/v7.0 ./configure \ --with-frame-home=/cygdrive/c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin \ --with-cl-home=/cygdrive/d/abc/abc/VC \ --with-midl-path=/cygdrive/c/Program\ Files/java/Windows/v7.0/Bin \ The --with-midl-path looks suspicious. The path to java should be in --with-jdk-home. My current configure does not contain --with-midl-path at all, and in some older configure it points to Microsoft SDKs --with-directx-home=/cygdrive/d/DXSDKInstalled \ --with-ant-home=/cygdrive/c/apache-ant-1.9.4 \ --with-dmake-url=/cygdrive/c/dmake-4.12.tar.bz2 \ --with-epm-url=/cygdrive/c/epm-3.7-source.tar.gz \ --enable-pch \ --disable-atl \ --disable-activex \ --without-junit Then output error message : can't find ms visual studio /vc++ at ./oowintool line 236 configure: error: oowintool failed to copy CRT Are you sure, that escaping the blank in Program\ Files works? I have such paths without escaping but as simple Program Files. Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Fwd: Build Apache open office
-- Forwarded message -- From: Nguyễn Đình Văn dinhva...@gmail.com Date: 2015-05-07 14:40 GMT+07:00 Subject: Build Apache open office To: dev-h...@openoffice.apache.org, qa-h...@openoffice.apache.org - I build source apache open office fllow : https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7. But when i run command : SDK_PATH=/cygdrive/c/Program\ Files/Microsoft\ SDKs/Windows/v7.0 ./configure \ --with-frame-home=/cygdrive/c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin \ --with-cl-home=/cygdrive/d/abc/abc/VC \ --with-midl-path=/cygdrive/c/Program\ Files/java/Windows/v7.0/Bin \ --with-directx-home=/cygdrive/d/DXSDKInstalled \ --with-ant-home=/cygdrive/c/apache-ant-1.9.4 \ --with-dmake-url=/cygdrive/c/dmake-4.12.tar.bz2 \ --with-epm-url=/cygdrive/c/epm-3.7-source.tar.gz \ --enable-pch \ --disable-atl \ --disable-activex \ --without-junit Then output error message : can't find ms visual studio /vc++ at ./oowintool line 236 configure: error: oowintool failed to copy CRT == Please help me! -- Name :Nguyễn Đình Văn BirthDay: 27-03 SDT: 0979998058 0949998972 Yahoo :dinhvanse Gmail :dinhvanse Hotmail:dinhvanse -- Name :Nguyễn Đình Văn BirthDay: 27-03 SDT: 0979998058 0949998972 Yahoo :dinhvanse Gmail :dinhvanse Hotmail:dinhvanse
Re: Usage about pyuno
Hi, He Sun schrieb: 2015-05-08 15:34 GMT+08:00 Marcus marcus.m...@wtnet.de: Am 05/08/2015 04:14 AM, schrieb He Sun: [..] Thanks very very much for your kindly reply, it does help me some way. :-) The factor the option and so on if I find the API to deal with it. you can start on https://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Overall_Document_Features section Page Styles. Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: [BUILDBOT] - Linux 32bit Nightly (openoffice-linux32-nightly)
On 8 May 2015 at 10:03, Gavin McDonald gmcdon...@apache.org wrote: Hi All, So this build was ‘flapping’, i.e. passing/failing nearly every other build. http://ci.apache.org/builders/openoffice-linux32-nightly?numbuilds=50 This was mainly due to the use of the method=‘copy’ way of updating the source tree. The SVN step performs two things when in ‘copy’ mode, it does a checkout to a ‘source’ directory and then does a copy from there to the ‘build’ directory. The first has a default timeout of 1200 whilst the latter has a (currently) unconfigurable timeout of 120. It is the latter 120 timeout during copy that makes the build fail, about 50% of the time it hits the timeout limit before the copy is complete and so the build fails. I have changed from using mode=‘full', method=‘copy’” to using mode=‘incremental’” which basically means use ‘svn update’ directly on the build directory. I believe this will stabilise this particular build. (I can’t remember why mode=copy was used originally.) years ago, there was a problem with svn up, that some files were not correctly updated (something to do with the filesystem, if I remember right). In my opinion svn up should do just fine now (I use it on ubuntu and windows without problems). rgds jan I. All the other builds also still use mode=copy but I haven’t spotted a failing pattern with those so far because of it. HTH Gav…
Re: [DISCUSS] Future of the Hangul Word Processor, HWP, filter
On 05/03/2015 11:49 PM, Andrea Pescetti wrote: On 03/05/2015 Marcus wrote: that's great to see. :-) Didn't know that you had such deep knowledge of the code. Honestly, as someone (I think it was Pedro) once put it, to remove stuff you just need an axe (sometimes a well-sharpened axe), and not a deep knowledge of the code! I will test stuff on the Linux version only. Our buildbots are not in great shape http://ci.apache.org/projects/openoffice/ so (without reopening a discussion on installing new ones, please) we should also look at fixing them to be able to find regressions quickly. Regards, Andrea. I didn't have any problems with my build after your changes. But, I did notice that the Hangul file type was still listed in the menu choices for import. However, when I removed these yesterday -- /main/filter/source/config/fragments/filters/writer_MIZI_Hwp_97.xcu /main/filter/source/config/fragments/types/writer_MIZI_Hwp_97.xcu the build failed on the filter module. I will look into this further and provide more information later. I think keeping these menu entries would be confusing to users. -- - MzK “What is the point of being alive if you don't at least try to do something remarkable?” -- John Green, An Abundance of Katherines - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org