Recent

Author Topic: Dealing with OO UNO through Windows Service Application  (Read 1581 times)

mith

  • New Member
  • *
  • Posts: 19
Dealing with OO UNO through Windows Service Application
« on: March 25, 2019, 09:24:27 pm »
Hi,
I'm sucessfully using OO Document automation in my application like it is described here: http://wiki.freepascal.org/Office_Automation

Last hours I spent trying to port some of the functionality to the Windows Service application that is running without gui - no success. I only need to open a template (*.odt file), replace some text, save the file.
I'm wondering if it is wheather possible.
Has anyone a experience with that?
Thanks in advance for any advise.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Dealing with OO UNO through Windows Service Application
« Reply #1 on: March 26, 2019, 08:27:52 am »
I only need to open a template (*.odt file), replace some text, save the file.
I'm wondering if it is wheather possible.
Have you tried fpODF? It is already in OPM, but just in case: https://github.com/dgaspary/fpOdf
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

mith

  • New Member
  • *
  • Posts: 19
Re: Dealing with OO UNO through Windows Service Application
« Reply #2 on: March 26, 2019, 08:22:33 pm »
Thank you avra. fpODF should be enough for a simple text replacement. Meanwhile I made a decision to change the output to pdf files, so currently I'm going to try PowerPFD or Synopse PDF Engine.

btreut

  • Newbie
  • Posts: 2
Re: Dealing with OO UNO through Windows Service Application
« Reply #3 on: April 17, 2019, 12:32:09 pm »
there apperas to be an orphaned sourceforge project for an OO-UNO Bridge: http://uno-pas-bridge.sourceforge.net/
« Last Edit: April 17, 2019, 01:23:14 pm by btreut »

 

TinyPortal © 2005-2018