[api-dev] Re: embed OO-Window in a Qt Window

2011-03-22 Thread Konstantin Tokarev


19.03.2011, 17:08, Goran Markic go...@markic.ch:
 Dear Sirs

 We are developing a multi platform (Windows, Linux, Mac) software for
 communication with our scientific instruments. Therefore we use the qt
 framework. We would like to embed a spreadsheet or a writer window
 within our qt window. Because we are developing for several operating
 systems we think that Open Office could be appropriate for our needs.
 After studying the UNO framework I haven't found the possibility to
 integrate an Open Office window into another Application. As far as I
 have seen, with an axtiveX component it should be possible, but then we
 are restricted to Windows.

 Could you please inform us if this is possible with Open Office for the
 mentioned platforms.

 Thank you very much

 Best regards,

 Dr. Goran Markic

 Markic Scientific Instruments

Disclaimer: I'm not an expert in OOo or UNO programming

1. AFAIK, there's no Qt bridge around. If you want good Qt integration 
you'll probably find better in KOffice/Calligra Suite

2. There's OOoBean which allows to integrate OOo into Java application.
If you find a way to integrate Java applet into your software, it may be a
way to go.

3. On X11 platforms you can try to use QX11EmbedWidget to embed OOo 
window.

4. It may be easier to integrate your existing Qt application into OOo as
extension than vice versa.

-- 
Regards,
Konstantin
--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help


Re: [api-dev] LO removing Java, why would they want to? (Re: [api-dev] Java-Midi not working on Mac?

2010-12-24 Thread Konstantin Tokarev

 That's the point: not all of OOo is written in C++ anymore, there are
 quite important subsystems written in Java.

 One premiere example is the scripting subsystem, which makes JavaScript,
 BeanShell, ooRexx and others available to OOo. Removing Java removes all
 these options and renders programs written in these languages useless.

 Another premiere example is the Java-API-interface to the entire OOo.
 Removing Java removes the ability to use OOo from Java and to deploy all
 Java applications that use OOo.

 Therefore the conclusion, that removing Java from OOo yields OOo to be
 badly crippled.


So people who need these features won't use LO. Where is the problem?

-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] forcing dos line endings on unix

2010-08-04 Thread Konstantin Tokarev


04.08.10, 14:03, Marc Santhoff m.santh...@t-online.de:

 Hi,
  
  is it possible to force the line endings of a text file written using
  BASICs simple file functions to be 0xOD 0xOA instead of 0x0A only?
  
   open sDateiname for output as #iNum
   s = CDate(oBereich.getCellByPosition(0, 0).getValue())
   s = s + ;
   ...
   print #iNum, s
  
  I tried to add a chr(0x0d) at the end of the print line, but it is
  getting eaten up by OO.o not appearing in the file.
  
  
  Background:
  
  Those files are type .CSV written using OO.o running on FreeBSD. The
  consuming application is running on windows and is getting very confused
  by unix type line endings.
  

You can use 'unix2dos' program to convert written files. I guess you can even 
call it automatically from Basic macro

-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: Re: [api-dev] Headless OOo Questions

2010-07-27 Thread Konstantin Tokarev


27.07.10, 09:51, Hal Vaughan h...@halblog.com:

 
  On Jul 27, 2010, at 1:28 AM, Jürgen Schmidt wrote:
  
   of course you can assume but it is wrong. The X server isn't necessary 
 anymore. I am not sure when exactly it has changed but i think OOo3.0 or at 
 least 3.1 was able to run without X.
  
  Great.  Any chance you have a quick link for any documentation on this?  I'm 
 not quite sure what search terms to use on the OOo website.  Just X isn't 
 going to help!
  
  And thanks!  That, alone, could help me make some major changes that could 
 make things work MUCH better with what I'm doing.

Maybe this information will be helpful for you:
wiki.alfresco.com/wiki/Running_OpenOffice_From_Terminal

(just Googled:)


-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Where is the path to OpenOffice.org installation

2010-06-25 Thread Konstantin Tokarev
Hi!
From your output I guess you have 2 copies of OpenOffice.org: 3.1 from your 
Linux distribution and 3.2 official. You should decide which one you'd like to 
use



25.06.10, 11:13, xiaofen...@iscas.ac.cn:

 Hi, OO folks,
  I am a novice to linux and OO.
  I tried to OpenOffice.org development plugin for Eclipse by following the
  instruction on http://wiki.services.openoffice.org/wiki/JavaEclipseTuto.
  
  The OpenOffice.org plugin was successfully installed but got problem when 
 tried to
  configure it.
  In Eclipse, Window  Preferences...menu,  select the OpenOffice.org 
 plugin  SDK
  Configuration item,
  see a dialog asking me to provide path to available SDK and avaliable 
 OpenOffice.org
  installations.
  
  I am confused about the linux file system, I luckily type in the correct SDK 
 path:
  /opt/openoffice.org/basis3.2/sdk
  
  The problem is I don't know what path is to my OpenOffice.org installation.
  I tried several like
  /usr/lib/openoffice.org/ure/bin
  /usr/bin/openoffice.org
  /usr/bin/
  .
  but none of these is right.
  My openoffice.org can successfully run  on my fedora.
  So, can any body give me a  hint which path I should fill in here.
  
  Thanks.
  
  Following are paths on my computer listed by command: locate 
 openoffice.org|grep bin
  
  # locate office.org | grep bin
  
  /opt/openoffice.org/basis3.2/program/gengal.bin
  /opt/openoffice.org/basis3.2/program/gnome-open-url.bin
  /opt/openoffice.org/basis3.2/program/legacy_binfilters.rdb
  /opt/openoffice.org/basis3.2/program/libbindetli.so
  /opt/openoffice.org/basis3.2/program/libindex_data.so
  /opt/openoffice.org/basis3.2/program/liblegacy_binfiltersli.so
  /opt/openoffice.org/basis3.2/program/python.bin
  /opt/openoffice.org/basis3.2/program/spadmin.bin
  /opt/openoffice.org/basis3.2/program/testtool.bin
  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/binhex.py
  
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/idlelib/keybindingDialog.py
  
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/lib-dynload/binascii.so
  
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binascii.py
  
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binhex.py
  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binop.py
  /opt/openoffice.org/basis3.2/sdk/bin
  /opt/openoffice.org/basis3.2/sdk/bin/autodoc
  /opt/openoffice.org/basis3.2/sdk/bin/cppumaker
  /opt/openoffice.org/basis3.2/sdk/bin/idlc
  /opt/openoffice.org/basis3.2/sdk/bin/idlcpp
  /opt/openoffice.org/basis3.2/sdk/bin/javamaker
  /opt/openoffice.org/basis3.2/sdk/bin/regcompare
  /opt/openoffice.org/basis3.2/sdk/bin/uno-skeletonmaker
  /opt/openoffice.org/basis3.2/sdk/bin/unoapploader
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner.html
  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField-xref.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField.html
  
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton-xref.html
  
 

Re: [api-dev] How to configure my program to build for using OOo

2010-06-24 Thread Konstantin Tokarev
On Wed, 23 Jun 2010 17:18:42 -0400
Scott Thompson sthomp...@group-w-inc.com wrote: 

 Greetings!
 
 My program fires up OOo Calc via cppu::bootstrap(), inserts at least
 2 columns of data into a new OOo Calc document, along with some
 describing text, and creates a new chart using that data.  My current
 task is to update the configure process so our program will compile
 with the correct compiler flags.  Is there an OOo equivalent of
 pkg-config that will return these flags for my system (or a target
 system)?  I would like to build on 32- and 64-bit Fedora Linux, and
 deploy to multiple flavors of Linux, including Red Hat and OpenSUSE.
 
 I am using OOo 3.2.1, thanks to the backport of the x86_64_bridgefix 
 from 3.3.0 that corrected a segfault I was getting when calling 
 XTableCharts.addNewByName.  Also, I am using gcc to compile.

If you're familiar with CMake, you can use this stuff:
http://wiki.services.openoffice.org/wiki/OpenOffice_CMake_Integration
I'll publish usage example soon


-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: Re: [api-dev] Measuring time with OpenOffice.org BASIC

2010-05-29 Thread Konstantin Tokarev

 On MS-Windows the result is in milliseconds, with a precision of 16 ms due to 
 IBM PC hardware design.

Does it mean that results of OOo Basic scripts may be platform-dependent?

-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Embedding data files in Calc and extracting on need

2010-03-19 Thread Konstantin Tokarev
You can explore sources of OOChemistry extension 
(http://oochemistry.sourceforge.net). But it's complicated too :)
Also there is very simple example in OOo SDK 
(examples/Java/EmbedDocument/EmbeddedObject)

19.03.10, 16:32, Madhur Kashyap physiologo...@gmail.com:

 On Fri, Mar 19, 2010 at 4:10 PM, Ariel Constenla-Haile 
 ariel.constenla.ha...@googlemail.com wrote:
  Hello Madhur,
 
  On Friday 19 March 2010, 07:17, Madhur Kashyap wrote:
   I can't seem to find a way to embed arbitrary file(s) into calc
   spreadsheet.
 
  you need to use the embed API, cf.
  http://api.openoffice.org/docs/common/ref/com/sun/star/embed/module-ix.html
 
 
 I did notice this module earlier but it is complicated for me to grasp. Do
 you know some examples which I can refer to?
  Regards
  --
  Ariel Constenla-Haile
  La Plata, Argentina
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
  For additional commands, e-mail: dev-h...@api.openoffice.org
 
 
 -- 
 Regards
 Madhur Kashyap

-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Is there any OpenOffice.org LookFeel for extensions in Java?

2009-11-13 Thread Konstantin Tokarev
Is there any OpenOffice.org LookFeel for extensions in Java?
-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] OO API during slide show

2009-10-22 Thread Konstantin Tokarev
Is there any way for creation of new open source 'external' plugin for OOo?

22.10.09, 11:39, Christian Lippka christian.lip...@sun.com:

 Plugins like in your web browser, f.e. the adobe flash plugin. But there
 is no API to access them since they are proprietary anyway.
 Konstantin Tokarev wrote:
  Could you explain in detail, what is 'external plugin'? 
  
  22.10.09, 11:28, Christian Lippka :
  
  Konstantin Tokarev wrote:
  I'm trying to develop OOo extension with embedded object, which can be 
  controlled with mouse during slide show 
  Can embedded objects in OOo Impress presentation be accessed through OO 
  API during slide show?  
  No, during slideshow embedded objects are rendered with a static 
  preview. Exceptions are external plugins like shapes or video.
  
  
 -
 To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
 For additional commands, e-mail: dev-h...@api.openoffice.org

-- 
Regards,
Konstantin

Почта со встроенным плеером находится здесь: 
http://mail.yandex.ru/promo/new/player   

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] OO API during slide show

2009-10-22 Thread Konstantin Tokarev
Do you mean OOo can use Mozilla plugins?

22.10.09, 11:51, Christian Lippka christian.lip...@sun.com:

 The API for plugins was developed by netscape so you may find
 information on that from the mozilla development community.
 Konstantin Tokarev wrote:
  Is there any way for creation of new open source 'external' plugin for OOo?
  
  22.10.09, 11:39, Christian Lippka :
  
  Plugins like in your web browser, f.e. the adobe flash plugin. But there
  is no API to access them since they are proprietary anyway.
  Konstantin Tokarev wrote:
  Could you explain in detail, what is 'external plugin'? 
 
  22.10.09, 11:28, Christian Lippka :
 
  Konstantin Tokarev wrote:
  I'm trying to develop OOo extension with embedded object, which can be 
  controlled with mouse during slide show 
  Can embedded objects in OOo Impress presentation be accessed through OO 
  API during slide show?  
  No, during slideshow embedded objects are rendered with a static 
  preview. Exceptions are external plugins like shapes or video.
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
  For additional commands, e-mail: dev-h...@api.openoffice.org
  
 -
 To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
 For additional commands, e-mail: dev-h...@api.openoffice.org

-- 
Regards,
Konstantin

Сильная почта находится здесь: http://mail.yandex.ru/promo/new/attachments

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] OO API during slide show

2009-10-22 Thread Konstantin Tokarev
How to install Mozilla plugin into OOo? I didn't find any documentation

22.10.09, 12:21, Christian Lippka christian.lip...@sun.com:

 Yes
 Konstantin Tokarev wrote:
  Do you mean OOo can use Mozilla plugins?
  
  22.10.09, 11:51, Christian Lippka :
  
  The API for plugins was developed by netscape so you may find
  information on that from the mozilla development community.
  Konstantin Tokarev wrote:
  Is there any way for creation of new open source 'external' plugin for 
  OOo?
 
  22.10.09, 11:39, Christian Lippka :
 
  Plugins like in your web browser, f.e. the adobe flash plugin. But there
  is no API to access them since they are proprietary anyway.
  Konstantin Tokarev wrote:
  Could you explain in detail, what is 'external plugin'? 
 
  22.10.09, 11:28, Christian Lippka :
 
  Konstantin Tokarev wrote:
  I'm trying to develop OOo extension with embedded object, which can 
  be controlled with mouse during slide show 
  Can embedded objects in OOo Impress presentation be accessed through 
  OO API during slide show?  
  No, during slideshow embedded objects are rendered with a static 
  preview. Exceptions are external plugins like shapes or video.
  -
  To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
  For additional commands, e-mail: dev-h...@api.openoffice.org
  -
  To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
  For additional commands, e-mail: dev-h...@api.openoffice.org
  
 -
 To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
 For additional commands, e-mail: dev-h...@api.openoffice.org

-- 
Regards,
Konstantin

Здесь спама нет http://mail.yandex.ru/nospam/sign

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] OO API during slide show

2009-10-21 Thread Konstantin Tokarev
I'm trying to develop OOo extension with embedded object, which can be 
controlled with mouse during slide show 
Can embedded objects in OOo Impress presentation be accessed through OO API 
during slide show?  
-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org