[Libreoffice] additional symbols or alternatively stencils in Draw templates
KAMI911 KAMI911
kami911 at gmail.com
Thu Sep 15 02:21:25 PDT 2011
Hello Folks,
Of course I am interested to and new, useful gallery elements to the
suite and create a new extension.
You can create the gallery as usual way. I prefer vector based
elements over pictures. In your case it has several advantage.
In this case AVOID_BURN_IN_FOR_GALLERY_THEME enviroment variable may
be useful for you. You should create gallery after this enviromental
variable is exported/set.
I can help to create oxt extension file.
Adding gallery to LibreOffice in integrated way is harder, but if we
decide to do this I can also help here -- I added several gallery to
LO that is not enabled by default.
Moreover I have/created several gallery in various theme, for example
I created and remastered plenty of electronical parts.
What is BPMN?
Users can add their draws to gallery just use the ctrl key before the
drag and drop operation. Or use Caolán's smart gallery extension.
For examination you might download and unzip one of my extension:
http://extensions.services.openoffice.org/project/oxygenoffice-gallery
I am open to enrich this gallery and add more (vector) elements from
this gallery to the main LO builds.
Creating 3D gallery with Draw also an interesting opportunity... I
started that a year ago.
Back to the environment variables:
Using GALLERY_ENABLE_ID_DIALOG, GALLERY_SHOW_PRIVATE_TITLE are
useful for localization. I will help here.
Maybe GALLERY_SHOW_HIDDEN_THEMES is the key to crate individual
toolbar for newly created elements. This requres more things to do...
So that is all for first. I hope it helped.
If you want to check my gallery files, here are the repository:
http://ooop.svn.sf.net/viewvc/ooop/trunk/extras/source/gallery/
Here is a small sample code to create extension:
http://ooop.svn.sf.net/viewvc/ooop/trunk/utils/gallery/
Use the create_gallery.sh file
It is not designed to use other galleries, but changing variables is
enogh to create your own gallery.
If you have a question, do not hesitate to ask.
KAMI
2011/9/13 Caolán McNamara <caolanm at redhat.com>:
> On Mon, 2011-09-12 at 23:58 +0200, Ulrich Moser wrote:
>> A first step in that direction would be offering more drawing symbols
>> like a symbol set for BPMN. If someone could give some assistance on how
>> such an additional symbol set could be integrated I would be willing to
>> provide it. The further step would be implementing stencils in Draw
>> templates.
>
> So, the existing galleries are in "extras/source/gallery". Perhaps Kami
> can give an overview of "how to add a new gallery" to extras for the
> "integrated into LibreOffice" case ?
>
>> Is there anybody else interested in such an extension and able to aid
>> with the programming part?
>
> Galleries can be deployed as extensions as well as integrated right into
> the installed product, there should be some preexisting examples
> available, googling on "Gallery Extensions".
>
> FWIW I have an extension at
> http://svn.fedorahosted.org/svn/openoffice.org-diafilter/ which is a
> gallery extension (as well as a import filter for the dia format)
>
> http://svn.fedorahosted.org/svn/openoffice.org-diafilter/gallery/gallerygen.odg contains a macro to make a gallery from a dir IIRC
>
> C.
>
>
More information about the LibreOffice
mailing list