Create shape using VB

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
ze_luis
Posts: 4
Joined: Tue Dec 16, 2014 3:50 am

Create shape using VB

Post by ze_luis »

Hello,
I'm trying to insert a basic shape in a spreadsheet, but I didn't find anything over the net even at this forum. Anyone has a clue how to do it?
PS: It's not insert the shape using menu directly to spreadsheet. I need using visual basic programming.
broffice 3.2 on linux at work
libreoffice 4.3 on windows at home
User avatar
Zizi64
Volunteer
Posts: 11360
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: create shape using vb

Post by Zizi64 »

I need using visual basic programming.
Do you meant: you need using the StarBasic and the API functions?
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
ze_luis
Posts: 4
Joined: Tue Dec 16, 2014 3:50 am

Re: create shape using vb

Post by ze_luis »

Yes I do.
broffice 3.2 on linux at work
libreoffice 4.3 on windows at home
User avatar
Zizi64
Volunteer
Posts: 11360
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: create shape using vb

Post by Zizi64 »

Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
Posts: 11360
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: create shape using vb

Post by Zizi64 »

And see Andrew Pitonyak's books, and the descriptions of the API.

http://www.pitonyak.org/oo.php
http://www.openoffice.org/api/
http://api.libreoffice.org/

Use the Xray Tool or the MRI for examining the API objects.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply