MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
LO Calc Export to pdf problem 
Author Message
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 873
Location: Bristol, UK
Has thanked: 226 times
Have thanks: 166 times
Post # 291363
Post LO Calc Export to pdf problem
This is a new one to me on an operation I do regularly. I save a simple 6-sheet spreadsheet with no problem, then 'Export to PDF' for emailing to others. This gives me an LO Write error 'The file could not be written' - see screenshot.

This only affects this file as far as I can tell - I have a dozen others from the same template and all export fine. This file has 2 sheets protected, but I've tried removing the protection and the error persists.

I've checked permissions - I'm the owner on file and folder. I've tried changing the filename and exporting to a different folder, but no luck.

Any ideas?

Phil


You do not have the required permissions to view the files attached to this post.

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Sun Dec 18, 2011 10:35 am
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 6435
Location: Geneva NY
Has thanked: 1375 times
Have thanks: 1030 times
Post # 291364
Post Re: LO Calc Export to pdf problem
What version of LO? I seem to remember running into PDF export errors with 3.5 beta, and was one of many reasons I went back to 3.4.4 where there are no problems with that function.

_________________
A Wiki only works when many eyes are on it.

32bit, 2.6.36-1-mepis-pae, KDE 4.6.5, AMD Phenom 9650 Quad-Core, Dell SP2309W with integrated webcam, Nvidia GeForce 6150SE, 4 GB DDR2


Sun Dec 18, 2011 11:02 am
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 873
Location: Bristol, UK
Has thanked: 226 times
Have thanks: 166 times
Post # 291366
Post Re: LO Calc Export to pdf problem
Version 3.4.3, so should be OK, and I've had no problems on many other files. What could it be about this file?

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Sun Dec 18, 2011 11:10 am
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2186
Location: Pinellas Park, FL
Has thanked: 58 times
Have thanks: 1089 times
Post # 291369
Post Re: LO Calc Export to pdf problem  [Solved]
A known LibreOffice bug
https://www.libreoffice.org/bugzilla/sh ... i?id=42614

Check and reset your Print Ranges.
If that doesn't work you may have to Save As a .xls file, exit, then open the .xls file.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Sun Dec 18, 2011 11:21 am Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 873
Location: Bristol, UK
Has thanked: 226 times
Have thanks: 166 times
Post # 291371
Post Re: LO Calc Export to pdf problem
Brilliant, Tim. Simply setting the print range on one of the sheets to 'Entire sheet' solved the problem. Bit of a mystery why I've not encountered the problem before.

Phil

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Sun Dec 18, 2011 11:58 am
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2186
Location: Pinellas Park, FL
Has thanked: 58 times
Have thanks: 1089 times
Post # 291372
Post Re: LO Calc Export to pdf problem
If you notice, the bug is still open. No proposed patches.

I believe it's related to the way LibreOffice does worksheet tabs. I've noticed that setting a print range on one tab will often mess up the print range on another.
Also, unlike Excel, you can't have different page orientations for different tabs. That is, If you set tab2 to landscape mode, tab1 will change to landscape as well. I've pretty much given up trying to use multiple tabs in LibreOffice for anything that needs print ranges set.

I suspect that fixing the apparently small bug that got you will end up requiring a ton of rewriting to fix properly.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Sun Dec 18, 2011 12:18 pm
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 873
Location: Bristol, UK
Has thanked: 226 times
Have thanks: 166 times
Post # 291374
Post Re: LO Calc Export to pdf problem
Maybe the reason I haven't had problems previously is that I rarely set print ranges - I usually just print 'All sheets' or 'Selected sheet'. I've no experience of Excel - I came direct from Lotus 1-2-3 to OpenOffice in Windows.

If I have any complicated printing needs, I pass the files through my VBox WinXP. Two reasons - one, I've failed to get my Konica-Minolta printer fully set up in linux - monochrome printing is perfect, but colour is a no-no, with lousy blurred outlines. Two, I've got used to an excellent print utility in Windows - FinePrint - which lets me easily assemble multi-page documents for printing. So I can print individual pages from a spreadsheet in different orientations, add a scanned map, add a plot from my GPS program, change the page order and print the whole thing double-sided. I can also create the combined pdf using the companion pdfFactory. Sounds a kludge, but it's quicker than typing this!

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Sun Dec 18, 2011 12:43 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2186
Location: Pinellas Park, FL
Has thanked: 58 times
Have thanks: 1089 times
Post # 291379
Post Re: LO Calc Export to pdf problem
Gaer Boy wrote:
Maybe the reason I haven't had problems previously is that I rarely set print ranges
Some of my (Excel) spreadsheets at work have a number of tabs, some of which need to be printed & some not. In general there's one or more tabs for raw data, other tabs with formulas that massage it and calculate it into the correct formats and several tabs that display it in the way the manager wants it displayed at different times.
I'd like to convert it all into LibreOffice but aside from the time it would take to convert the formulas & VB code there are still things involving indirect links that I can't get LibreOffice to do properly. And then there's this bug. So I still use Excel at work. And that's a shame because in other ways such as formatting that works consistently and actually displays on screen what you're going to get on the printer, LibreOffice is far better.
Gaer Boy wrote:
...I've got used to an excellent print utility in Windows - FinePrint - which lets me easily assemble multi-page documents for printing. So I can print individual pages from a spreadsheet in different orientations, add a scanned map, add a plot from my GPS program, change the page order and print the whole thing double-sided. I can also create the combined pdf using the companion pdfFactory. Sounds a kludge, but it's quicker than typing this!
Boy, I could have used something like that when I was doing Lotus 123 spreadsheets in the late 80's. 123 was a fine program but it's printing options were, well, basic (to be kind). It was Excel's print formatting that really killed 123. Pretty printing sold Excel, Powerpoint, and Windows to be able to run them.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Sun Dec 18, 2011 2:48 pm
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 873
Location: Bristol, UK
Has thanked: 226 times
Have thanks: 166 times
Post # 291386
Post Re: LO Calc Export to pdf problem
timkb4cq wrote:
Boy, I could have used something like that when I was doing Lotus 123 spreadsheets in the late 80's. 123 was a fine program but it's printing options were, well, basic (to be kind). It was Excel's print formatting that really killed 123. Pretty printing sold Excel, Powerpoint, and Windows to be able to run them.

Those were the days! I wrote my first major 123 app in April 1985 - a spreadsheet to record times, calculate overtime hours at various multipliers and print timesheets for signature for 75 staff. Printing to an early HP Laserjet, the weekly run took over 3 hours!

Phil

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Sun Dec 18, 2011 6:11 pm
Profile
MEPIS Novice
MEPIS  Novice

Joined: Wed Nov 21, 2012 12:23 pm
Posts: 1
Has thanked: 0 time
Have thanks: 1 time
Post # 310319
Post Re: LO Calc Export to pdf problem
timkb4cq wrote:
I believe it's related to the way LibreOffice does worksheet tabs. (...)
Also, unlike Excel, you can't have different page orientations for different tabs. That is, If you set tab2 to landscape mode, tab1 will change to landscape as well. I've pretty much given up trying to use multiple tabs in LibreOffice for anything that needs print ranges set.


One can have different page orientation for different tabs. What confuses Excel users is that the Format / Page dialog changes the current page style for all shares that share the same style, that is by default all of them, using the "default" style.
In order to proceed, one has to create a new page style and apply it to the tabs.

assuming your workbook is currently set to all-portrait.
press F11 for "styles and formatting" dialog.
press "page styles" button
right-click on "Default", take "New".
Set landscape page; name the style for example "landscape".
For each tab you want in landscape, select that tab and double-click on newly created "landscape" style

Now only those tabs are in landscape mode, the others stay in portrait.

This applies to all other settings in the Page Style dialog.


Wed Nov 21, 2012 12:34 pm

cypher thanked by: lucky9
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.