Re: OpenOffice.org and C++

2015-03-06 Thread Ariel Constenla-Haile
Hello,

On Fri, Mar 06, 2015 at 06:41:50AM -0500, ArbolOne wrote:
> Is there a website that provides information about interfacing C++ with 
> OpenOffice.org?
> I would like to interface with OpenOffice.org suite.

You need to download and set up the SDK, for C++ development. The API is
the same for all programming languages, you only need to "translate" the
Java examples to C++.

You can find some code in the SDK:
sdk/examples/DevelopersGuide/ProfUNO/CppBinding
sdk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp
sdk/examples/cpp

You can also search some examples in the API mailing list:
http://markmail.org/search/?q=list%3Aorg.apache.incubator-ooo.api+extension%3Acxx
It's better if you subscribe to that list, and ask your questions there
(this mailing list is for end users).


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


signature.asc
Description: Digital signature


RE: OpenOffice.org and C++

2015-03-06 Thread Dennis E. Hamilton
I believe the current Windows builds employ VS2008, using CL.exe from within 
Cygwin.  Now that the VS 2013 Community edition provides all of the ATL and MFC 
libraries, it may be very desirable to upgrade and simplify the Windows-build 
prerequisites.  

There also appear to be better ways to hook up to the VC++ compiler than how it 
is currently done.  (CygWin will run Windows .bat files properly if they are 
crafted to avoid file-path translation problems, making it easier to work 
around registry business.)

This would also allow possible targeting for x64 Windows and also new 
cross-compiling cases (if VS 2015 continues the pattern).

One concern is the absence of easy ways to target Windows XP in the Community 
Edition.  There may be ways of doing it, but I haven't found it yet.  

 - Dennis

PS: I'm told that replacement of XP installations is accelerating and that 
Windows 7 is going to be the new hanger-on.  There needs to be a longer 
discussion just about this and whether it should be tied to finally having x64 
versions of AOO on Windows.

PPS: This discussion should probably move to dev@ openoffice.apache.org.

-Original Message-
From: acolor...@gmail.com [mailto:acolor...@gmail.com] On Behalf Of Alexandro 
Colorado
Sent: Friday, March 6, 2015 08:02
To: users@openoffice.apache.org
Subject: Re: OpenOffice.org and C++

[ ... ]

There are some C++ tutorials there, the page list you several areas to work
with AOO. I dont use VS nor do I recommend it, since AOO is mainly built
using GCC. VS always have issues including some library that has had issues
when working with AOO.

On Fri, Mar 6, 2015 at 10:56 AM, ArbolOne  wrote:

> Thanks Rory and Alexandro for the help.
> In regards to Alexandro's link, I am concern about the age of the
> information. This web page talks about VS2003, and we are now developing
> using VS2013, 2003 in computer time is the right after the extinction of
> the dinosaurs and I certainly hope that OOo has evolved since. At the same
> time I'm concern that the information on that page might not be accurate to
> modern times and therefore throw me in a spin that will not only discourage
> me, but that will also give me the wrong impression of what OOo can and
> cannot do. Nonetheless, thanks so much for your help, intention is what
> really counts.
> As of Rory, I have been reading your link and I am glad how nice OOo
> interfaces with C++/C, but I wonder if you can point out a HOWTO tutorial
> or at least something that *shows hot to write a simple hello line in Write
> using c++ or a simple output to a spreadsheet or database.
> Thanks a lot to the two of you, I'll keep reading the web pages provided,
> for I know that something good will come out it.
[ ... ]


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



Re: OpenOffice.org and C++

2015-03-06 Thread Alexandro Colorado
The code is pretty much the same, so it shouldn't be that different.
Libraries have been added but the architecture remain the same. Same with
the coding conventions and other things regarding the organization of the
code. There is not newer documentation regarding AOO and Cpp. So for better
or worst this is all the resources you will find.

There are some C++ tutorials there, the page list you several areas to work
with AOO. I dont use VS nor do I recommend it, since AOO is mainly built
using GCC. VS always have issues including some library that has had issues
when working with AOO.

On Fri, Mar 6, 2015 at 10:56 AM, ArbolOne  wrote:

> Thanks Rory and Alexandro for the help.
> In regards to Alexandro's link, I am concern about the age of the
> information. This web page talks about VS2003, and we are now developing
> using VS2013, 2003 in computer time is the right after the extinction of
> the dinosaurs and I certainly hope that OOo has evolved since. At the same
> time I'm concern that the information on that page might not be accurate to
> modern times and therefore throw me in a spin that will not only discourage
> me, but that will also give me the wrong impression of what OOo can and
> cannot do. Nonetheless, thanks so much for your help, intention is what
> really counts.
> As of Rory, I have been reading your link and I am glad how nice OOo
> interfaces with C++/C, but I wonder if you can point out a HOWTO tutorial
> or at least something that *shows hot to write a simple hello line in Write
> using c++ or a simple output to a spreadsheet or database.
> Thanks a lot to the two of you, I'll keep reading the web pages provided,
> for I know that something good will come out it.
>
> -Original Message- From: Alexandro Colorado
> Sent: Friday, March 6, 2015 10:00 AM
> To: users@openoffice.apache.org
> Subject: Re: OpenOffice.org and C++
>
>
> OpenOffice is written in C++ and there are many programming areas to create
> plugins in C++ as well as others. This website is a bit outdated but is a
> good area to look around for snippets and things.
>
> From Addons, AddIn, IDL (Libraries), with UNO (AOO API).
> https://wiki.openoffice.org/wiki/UNOCpp
>
>
> On Fri, Mar 6, 2015 at 6:49 AM, Rory O'Farrell  wrote:
>
>  On Fri, 6 Mar 2015 06:41:50 -0500
>> "ArbolOne"  wrote:
>>
>> > Is there a website that provides information about interfacing C++ with
>> OpenOffice.org?
>> > I would like to interface with OpenOffice.org suite.
>>
>> Start at
>>
>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/
>> OpenOffice.org_Developers_Guide
>>
>>
>> --
>> Rory O'Farrell 
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: users-h...@openoffice.apache.org
>>
>>
>>
>
> --
> Alexandro Colorado
> Apache OpenOffice Contributor
> 882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614
>
> -
> To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: users-h...@openoffice.apache.org
>
>


-- 
Alexandro Colorado
Apache OpenOffice Contributor
882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614


Re: OpenOffice.org and C++

2015-03-06 Thread ArbolOne

Thanks Rory and Alexandro for the help.
In regards to Alexandro's link, I am concern about the age of the 
information. This web page talks about VS2003, and we are now developing 
using VS2013, 2003 in computer time is the right after the extinction of the 
dinosaurs and I certainly hope that OOo has evolved since. At the same time 
I'm concern that the information on that page might not be accurate to 
modern times and therefore throw me in a spin that will not only discourage 
me, but that will also give me the wrong impression of what OOo can and 
cannot do. Nonetheless, thanks so much for your help, intention is what 
really counts.
As of Rory, I have been reading your link and I am glad how nice OOo 
interfaces with C++/C, but I wonder if you can point out a HOWTO tutorial or 
at least something that *shows hot to write a simple hello line in Write 
using c++ or a simple output to a spreadsheet or database.
Thanks a lot to the two of you, I'll keep reading the web pages provided, 
for I know that something good will come out it.


-Original Message- 
From: Alexandro Colorado

Sent: Friday, March 6, 2015 10:00 AM
To: users@openoffice.apache.org
Subject: Re: OpenOffice.org and C++

OpenOffice is written in C++ and there are many programming areas to create
plugins in C++ as well as others. This website is a bit outdated but is a
good area to look around for snippets and things.


From Addons, AddIn, IDL (Libraries), with UNO (AOO API).

https://wiki.openoffice.org/wiki/UNOCpp


On Fri, Mar 6, 2015 at 6:49 AM, Rory O'Farrell  wrote:


On Fri, 6 Mar 2015 06:41:50 -0500
"ArbolOne"  wrote:

> Is there a website that provides information about interfacing C++ with
OpenOffice.org?
> I would like to interface with OpenOffice.org suite.

Start at

https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide


--
Rory O'Farrell 

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





--
Alexandro Colorado
Apache OpenOffice Contributor
882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614 



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



Re: OpenOffice.org and C++

2015-03-06 Thread Alexandro Colorado
OpenOffice is written in C++ and there are many programming areas to create
plugins in C++ as well as others. This website is a bit outdated but is a
good area to look around for snippets and things.

>From Addons, AddIn, IDL (Libraries), with UNO (AOO API).
https://wiki.openoffice.org/wiki/UNOCpp


On Fri, Mar 6, 2015 at 6:49 AM, Rory O'Farrell  wrote:

> On Fri, 6 Mar 2015 06:41:50 -0500
> "ArbolOne"  wrote:
>
> > Is there a website that provides information about interfacing C++ with
> OpenOffice.org?
> > I would like to interface with OpenOffice.org suite.
>
> Start at
>
> https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
>
>
> --
> Rory O'Farrell 
>
> -
> To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: users-h...@openoffice.apache.org
>
>


-- 
Alexandro Colorado
Apache OpenOffice Contributor
882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614


Re: OpenOffice.org and C++

2015-03-06 Thread Rory O'Farrell
On Fri, 6 Mar 2015 06:41:50 -0500
"ArbolOne"  wrote:

> Is there a website that provides information about interfacing C++ with 
> OpenOffice.org?
> I would like to interface with OpenOffice.org suite.

Start at
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide


-- 
Rory O'Farrell 

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



OpenOffice.org and C++

2015-03-06 Thread ArbolOne
Is there a website that provides information about interfacing C++ with 
OpenOffice.org?
I would like to interface with OpenOffice.org suite.

Re: My First ooBase Database

2015-03-06 Thread Brian Barker

At 21:03 05/03/2015 +, Vince Bonly wrote:
OKay! Have learned that table editing must be initiated via a 
right-click drop-down menu on the highlighted name of table, rather 
than attempting to use the menu-bar's "Edit" tab. I knew it was a 
simple solution.


That's not true: you can always use the menus. There are two things 
you might mean by "editing": modifying the table design (which is 
what you originally asked about - adding another field to an existing 
table) and editing the data the table contains.


o To modify the table design, you can use Edit in the context 
(right-click) menu, but you can indeed get to the same Table Design 
view via Edit | Edit... .


o To modify a table's data, you need Table Data View instead. You can 
double-click the icon, use Open in the context menu, or go to Edit | 
Open Database Object... .


My next task is to be able to insert a row between two already 
existing rows; is this possible, rather than the added row being 
located at the bottom of the table, i,e., last field? I have managed 
to add several new fields; however, it seems that these must always 
be appended following the presently last field within the table. Hmm.


The order of records in the table display in a database shouldn't 
matter. The way you use a database is not by examining tables but 
through queries, forms, or reports. The displays you actually see 
should not depend on the order of records in any table, I think.


If it helps, you can reorder records in a table using the sort 
facility. If sorting on existing fields cannot produce the order you 
require, you could add an additional field to indicate the order and 
then sort on that. But, as I say, I don't think you should 
particularly want to do this.


I trust this helps.

Brian Barker


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