Ask Your Question
1

Help getting started with LibreOffice Basic [closed]

asked 2012-12-27 10:31:36 +0200

Jan gravatar image

updated 2013-05-21 13:38:27 +0200

oweng gravatar image

Hello,

I want to be able to open a document in LibreOffice Writer, get a pop-up dialog asking for some information (line edits, a combobox, two radio buttons and a multi line edit). This information should then be inserted into the document (for the combobox and the radio buttons it should choose between different text versions).

I think this should be rather simple, and perhaps it's because of that that I haven't found any useful information or tutorials on the theme. I have found this page with a lot of information, but it seems to be a bit to much.

I have experience programming in C++, including creating GUIs, so I know the absolute basics.

Thanks in advance, Jan

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-11-01 14:18:03.336222

Comments

Do you really want a macro? You can get any data with this method or so

JohnSUN gravatar imageJohnSUN ( 2012-12-27 12:12:12 +0200 )edit

The problem is I may need to insert the texts at multiply places, but I only want to edit it once.

Jan gravatar imageJan ( 2012-12-27 15:13:27 +0200 )edit

Do you dowload demo from previous link "so"?

JohnSUN gravatar imageJohnSUN ( 2012-12-27 16:25:56 +0200 )edit

How would I go about adding a two radio buttons or similar? And a combobox? Other than that it looks perfect.

Jan gravatar imageJan ( 2012-12-27 17:18:33 +0200 )edit
2

Well, Jan, I think it is a good place to start would be chapters "10. Forms" и " 7.14. Search And Replace" of THIS BOOK by Andrew Pitonyak. And macro and dialog in this workbook

JohnSUN gravatar imageJohnSUN ( 2012-12-28 09:26:06 +0200 )edit

@Jan -- still looking for an answer here?

@JohnSUN -- could you please turn your comment into an answer so we could use it for resolution?

Thanks!

qubit gravatar imagequbit ( 2013-04-14 03:13:57 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2013-05-21 14:01:20 +0200

oweng gravatar image

I am providing this answer so that this old question can be closed. As @JohnSUN has pointed out a good place to begin learning about programming in Basic is from the works of Andrew Pitonyak. A link to his web page and several other related programming resources can be found on TDF Wiki Documentation / Other page, under the section for Programmers.

Because I am thoroughly sick of finding OOo/LO material locked away in Scribd I am uploading some related Basic programming Guides here for everyone. If these are still publicly available I would appreciate someone pointing me to the appropriate location.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-27 10:31:36 +0200

Seen: 1,297 times

Last updated: May 21 '13