Where does Java fit under Macros?

Let us know how we are doing -

Where does Java fit under Macros?

Postby acknak » Fri Nov 30, 2007 7:49 pm

Is Macros/OOoBasic, Python, JS meant only for those languages? What about Java programming? Does Java go in the general "Macros" area?

I just moved a post there, but I'm not sure that's right.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Where does Java fit under Macros?

Postby floris v » Sun Dec 02, 2007 7:14 pm

Code snippets seems more likely to me.
AOO 4.1.6 op Linux Mint
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Moderator
 
Posts: 4114
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Where does Java fit under Macros?

Postby DrewJensen » Sun Dec 02, 2007 7:19 pm

Well, I'll be the first one to admit that when this section of the board was put together it was not done as well as it should have been - Please if you see a better way to layout those forums speak up...it needs something for sure.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby floris v » Sun Dec 02, 2007 7:36 pm

I felt that Java would probably be used for things like or seen as extensions, that's why. Please don't consider my remarks as criticisms.
AOO 4.1.6 op Linux Mint
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Moderator
 
Posts: 4114
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Where does Java fit under Macros?

Postby DrewJensen » Sun Dec 02, 2007 7:43 pm

I don't at all - what we need is feedback, no one here is so arrogant that they think we got it all correct on the first pass...
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby hol.sten » Sun Dec 02, 2007 10:11 pm

DrewJensen wrote:what we need is feedback

In my opinion Java fits right now not very well in this form, because Java code cannot be called a "macro". A macro is something that runs inside of OOo like OOo Basic, Python, BeanShell and JavaScript. Java code which uses the bootstrap connection mechanism or the interprocess connection mechanism uses OOo's UNO API to call some of OOo's functions. And not all of this code has to be written in Java. To call OOo's UNO API is possible from many programming languages.

My suggestions:
- Change "Macros" to "Macros and UNO API" or "Macros and Programming Languages" or "Macros and External Programs"
- Change the subforum "OOoBasic, Python, JS" to "OOo Basic, Python, BeanShell, JavaScript"
- Add "Java" to the description of "External Programs"
- Change the subforum "API - ODF" to something like "UNO API and ODF"

Regards
hol.sten
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Where does Java fit under Macros?

Postby DrewJensen » Sun Dec 02, 2007 10:13 pm

That is about where my thinking was at...

I'll wait a few hours at least for anyone else to jump in- but hearing no objections will make that change later tonight.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby floris v » Sun Dec 02, 2007 10:18 pm

I feel that the difference between code snippets and macros is hard to define. I agree with hol.sten that a macro should run inside OOo, but if Python can run inside OOo then I don't see why Java couldn't. If you take a look at oooforum.org and adopt their solution it will at least help the people who are used to those forums migrate.
AOO 4.1.6 op Linux Mint
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Moderator
 
Posts: 4114
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Where does Java fit under Macros?

Postby DrewJensen » Sun Dec 02, 2007 10:28 pm

I think there are two things here

The forum for folks looking for help with their own macros, addins and such.
Then the forum for code snippets.

What I propose for the latter

One forum for code snippets with two sub-forums
Extension Repository - A link forum - redirects to extensions.services.openoffice.org
Macro Repository - A link forum - redirects to ooomacros
The actual forum - just like the one in Oooforum.org

EDIT - the sub-forms would not be displayed on the top level forum line...

???
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby hol.sten » Sun Dec 02, 2007 10:34 pm

floris v wrote:I feel that the difference between code snippets and macros is hard to define.

I like to have one "Coding" forum for questions and one for working code. But you are right: The disadvantage is, that a lot of times a moderator has to move questions from Snippets to Macros.

floris v wrote:a macro should run inside OOo, but if Python can run inside OOo then I don't see why Java couldn't.

This is caused by OOo's scripting framework. It supports Python, BeanShell (which is a lot like Java) and JavaScript. But it does not support Java. Although you can call Java code from BeanShell...

Regards
hol.sten
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Where does Java fit under Macros?

Postby DrewJensen » Sun Dec 02, 2007 10:37 pm

Another thing about this..

Under this theme a small instruction pane can be added to the top any forum - Rules for this Forum - I believe is the title it get - could add then a small blurb to the top of the code snippet forum covering what it is intended for - it won't stop everyone but should cut down on how many folks ask questions in what is to be a repository.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby hol.sten » Sat Dec 15, 2007 10:58 am

hol.sten wrote:
DrewJensen wrote:what we need is feedback

- Add "Java"

Question: Will Java ever get mentioned in the "Customizing and Extending" part of this forum? In my opinion Java is still not fitting anywhere here.

Regards
hol.sten
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Where does Java fit under Macros?

Postby DrewJensen » Sat Dec 15, 2007 11:09 am

ARRRGH.... Sorry - that just fell right off my radar screen of things to do..

Let me take you earlier naming change suggestions and run them by a couple of people today - I'll PM them to get their opinions and my thought after reading again just now is to go with your overall idea...Whatever the change, it will happen today sometime..
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby hol.sten » Tue Dec 18, 2007 11:46 pm

DrewJensen wrote:that just fell right off my radar screen of things to do..

Do you have a radar screen at all? ;-)

DrewJensen wrote:Whatever the change, it will happen today sometime..

Which "today"? Or did I miss something?

Regards
hol.sten
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Where does Java fit under Macros?

Postby DrewJensen » Tue Dec 18, 2007 11:49 pm

Darn...so close,,
- was on the phone talking to Terry this afternoon and this subject was part of it....I was thinking afterwards that I needed to get a move on before you came back and asked what happened - again... :oops:

I'm gong to make the changes tonight...
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Where does Java fit under Macros?

Postby floris v » Wed Dec 19, 2007 1:20 am

Never mind. I'm reminded of a forum admin on another website who was/is famous for the length of his to-do list. 8-)
AOO 4.1.6 op Linux Mint
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Moderator
 
Posts: 4114
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Where does Java fit under Macros?

Postby DrewJensen » Thu Dec 20, 2007 7:44 pm

Made the suggested changes - now looking at it, still not sure it is correct...or the best solution...will ponder this a bit and see what others think also.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA


Return to Site Feedback

Who is online

Users browsing this forum: No registered users and 1 guest