LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-12-2010, 09:18 AM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
pdf edit OR docx support


I was given a 41-page pdf document (+ .docx) with some text/tables/pictures. Upon some audit, just 2 sentences must be changed in the document.
1. When I open it with openoffice (.docx) - the structure of the document really goes wrong. The document is too long to edit it manually to make it look as it's supposed to look.
2. When I open it with softmaker office 2010 (beta!) it crashes every time.

3. Could I edit just the relevant pages of .docx, export them to pdf and REPLACE just the two pages in the pdf file?

Or is there any other solution without involving Windows?

Thanks
 
Old 02-12-2010, 09:45 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Actually, I should have done more googling before I asked the question
It seems there are some tools to manipulate pdf in linux.
I'm going to install them at home first and then, if it works fine, on the client's computer.
 
Old 02-12-2010, 09:50 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
No expert here, but since docx is just a zip file, one thing you might try is to unzip the document, find the subfile that contains the string(s) you want, and alter that with a text editor. Then just re-zip and rename. As long as you're just making minor modifications to a text string and not changing anything in the xml display elements, it might work.
 
Old 02-12-2010, 10:44 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Go-oo supports docx, so you could try that too if you can't find where to edit the files inside the zip. Then just export to pdf.
 
Old 02-12-2010, 02:40 PM   #5
talla
LQ Newbie
 
Registered: Jan 2010
Location: Berlin
Posts: 16

Rep: Reputation: 1
Code:
sudo apt-get install pdfedit
(or use the Ubuntu Software Center and search for pdf edit)

This tool is not very comfortable to use but if it is just about changing some sentences it will fit your needs!

cheers,
talla
 
Old 02-12-2010, 08:12 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I'll be honest with you. I am still in my client's place (=it's actually my friend's business). I've tried pdfedit and pdftk. I gave up and did it on his windows laptop. Unfortunately, it was very easy (the pdf plugin to office 2007). He is not a very computer-minded person, but he likes the idea of open-source, that's why I persuaded him to run most of the stuff on linux in the first place. He doesn't complain but his members of staff are quite frustrated about regular emails from other companies in .docx. It does break stuff when there are some tables or graphics. I feel bad when I receive phone calls almost every day complaining that some documents don't look like they're supposed to
 
Old 02-13-2010, 04:13 AM   #7
talla
LQ Newbie
 
Registered: Jan 2010
Location: Berlin
Posts: 16

Rep: Reputation: 1
that is annoying..they might think about buying an office licence and install it on linux?

I have office 07 running on wine (crossover) without any problems.. exactly because of the same problem. I want to be able to read .docx files!

Cheers,
talla
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A way to edit pdf in Linux kstan Linux - General 2 11-21-2007 12:47 PM
edit a pdf in a broswer sailu_mvn Linux - Desktop 4 04-19-2007 04:17 AM
edit pdf in linux sailu_mvn Linux - Software 29 07-13-2006 01:23 AM
edit pdf file allelopath Linux - Software 5 11-18-2003 03:20 PM
How can I edit a pdf document? geraldomanaus Linux - Software 5 04-22-2003 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration