Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.