LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2013, 12:20 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
use code/script/CGI to load a LibreOffice document


I've created a document for LibreOffice that uses data fields for parts of the content. I know how to load the data fields from a spreadsheet or database. I'm looking for ways to load fields from some code or scripts. Can anyone help me with this?

I know that LibreOffice Writer will tolerate and even act on VBA macros found in M$-Office docs that it imports. It seems that one opens a document, then included macros run, your document happens.
Does this mean that I launch writer with my target document, macro-equipped template from the command line. The macros grab the data, then save and close the document at the end? A full-blown launch of writer seems heavyweight for something running in a scripted cycle.

I'd like to discover some way to get from data to document completely under script or code control. The only operator intervention being actions that launch the processing chain.

Thanks in advance,
~~~ 0;-Dan
 
Old 06-16-2013, 08:49 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Perl usually has APIs for almost anything eg http://search.cpan.org/search?query=...riter&mode=all.
To save yourself some time, I'd recommend asking the Gurus at perlmonks.org; that's where the experts hang out.
 
1 members found this post helpful.
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] libreoffice document locked CollieJim Linux - Software 2 06-14-2012 03:03 AM
server load script cgi newuser455 Programming 1 06-22-2005 07:57 PM
limiting page load frequency with a perl cgi script Metroid Programming 0 12-30-2004 10:33 PM
perl newbie. hangman.cgi script displaying strangely (additional code) on the web. WorldBuilder Programming 4 11-21-2003 07:09 AM
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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