Ask Your Question
0

How to add new shapes to LO Draw?

asked 2017-03-21 14:53:40 +0200

evassileva gravatar image

I have prepared new shapes (EPC objects), but only way to use them is copy and paste. There are pre-defined shapes in Draw, which I can use in my drawings with toolbar. Haw to add new shapes in LibreOffice Draw library to this toolbar - for example named My shapes or something like that?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-03-21 16:33:31 +0200

Regina gravatar image

You can define on own theme in the Gallery and collect your new shapes there. That is the easiest way to make your shapes available. But if you want to share your shapes, a document to collect them and using copy&paste, is actually not such a bad thing.

It is not so easy to get your shapes into a toolbar or menu. The actions, which are performed by an item there, are defined in the program code and have fixed commands of kind ".uno:xxx" . You might write a macro, that inserts your shape. With such a macro you would be able to make a toolbar or menu item. That is possible via the customize dialog. Look at the last item in the list 'category'. Both, changes to the program code or macros, need some skills in programming.

edit flag offensive delete link more
0

answered 2017-03-21 19:34:07 +0200

pierre-yves samyn gravatar image

Hi

The simplest, often the best, so @Regina +1.

Nevertheless may be you can also see "extensions", taking inspiration from an existing one like this one.

Regards

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-03-21 14:53:40 +0200

Seen: 3,760 times

Last updated: Mar 21 '17