OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Advanced Clipart Gallery for OpenOffice
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Mon Mar 14, 2005 11:24 am    Post subject: Advanced Clipart Gallery for OpenOffice Reply with quote

We have a good clipart gallery for OpenOffice
and ability to install under Windows/OpenOffice1.1

It would be a VERY useful if you use writer to edit/create documents.

You can see a screenshot, download automatic install version for Windows,
download ZIP for Windows or Linux and how-to install that manually.

It's free and it's here:
http://n.ethz.ch/student/meiersi/pub/OOo/

-Fenix*NBK*
Back to top
View user's profile Send private message Send e-mail
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Mon Mar 14, 2005 11:40 am    Post subject: Reply with quote

Cross references...

See also...

Clip art (sticky thread in the Draw forum)
http://www.oooforum.org/forum/viewtopic.phtml?t=3505

Open Clipart download
http://www.oooforum.org/forum/viewtopic.php?t=13945
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Mon Mar 14, 2005 10:25 pm    Post subject: Reply with quote

well, it's not the same.

OpenClipart is a similar project but in SVG format while my project (Advanced Clipart)
is in PNG format ready for OpenOffice with automatic installer.

Our projects have the same roots, now are different, but in future may merge again.
(I may build installers for OpenClipart for easy deployment on OOo systems)
Back to top
View user's profile Send private message Send e-mail
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Wed Mar 16, 2005 5:12 am    Post subject: Reply with quote

So dear OOo users, what do you think about the package ?
Back to top
View user's profile Send private message Send e-mail
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Wed Mar 16, 2005 10:45 am    Post subject: Reply with quote

The API docs of the new SDK suggest that there is an API for manipulating the Gallery.

Therefore, it should be possible in OOo 2 to construct a single Macro document which can "install" gobs of graphics into the Gallery without the possibility of conflicting with anything.

It may even be possible (I have not studied the problem yet) to create a simple UNO package that anyone can load into OOo using the Tools --> Package Mangler command.

Using either approach, an UNO package, or a macro document has the advantage that it works on ANY platform. Works on OOo Linux, Windows, Mac OS X, Solaris, FreeBSD, etc.

Fenix*NBK* wrote:
well, it's not the same.

OpenClipart is a similar project but in SVG format while my project (Advanced Clipart)
is in PNG format ready for OpenOffice with automatic installer.

Our projects have the same roots, now are different, but in future may merge again.
(I may build installers for OpenClipart for easy deployment on OOo systems)

My purpose was simple to keep threads cross referenced. Someone who found clipart in a different thread could also find THIS thread. And vice versa.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Fri Mar 18, 2005 11:14 am    Post subject: Reply with quote

Can you explain me a little bit about that cross-platform installation technology ???

Good news:
I'm on my way to do a serious release - 2nd generation of Advanced Cliparts - now contains over 3000 (!!!) images, over 100 MB's, targeting the release date of OpenOffice.org 2.0.

for comparison: The current version takes about 9 MB and contains 400+ images.
This means: within one year OpenSource Community expanded clipart nearly 10 times !!!

So AdvancedCliparts 2.0 and OOo 2.0 will be a rigth mix of power to compete with Microsoft Office 2003 + MS Cliparts.

AdvancedCliparts 2.0 now is based on OpenClipart 0.11 release, just organizes stuff a bit different way, + add user-friendly OOo-specific installer.

I hope, I can make an early alpha release of AdvancedCliparts 2.0 within one week.

AdvancedCliparts 2.0 will be released along with Windows installer Source code and all images under the Public Domain, allowing everyone do whatever he/she wants.
Back to top
View user's profile Send private message Send e-mail
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Fri Mar 18, 2005 11:45 am    Post subject: Reply with quote

An UNO package is cross platform.
Macros distributed within a document are cross platform.

It may be possible (I do not yet know) to have an UNO package (with no code) that properly installs new Gallery items.

It would be possible to distribute a macro document, with code in it, that can be run. (Lots of people already do this. See Danny's Draw Power Tools in my sig.)

The new API appears to have some support (I have not yet looked in detail) that may make it possible from code, to install items into the Gallery. If this turns out to be possible, then it would definitely be possible to distribute a macro document, where the macro installs the graphics into the Gallery.

Macros in a document are platform neutral. For example, go to OOoMacros.org and download Danny's Draw Power Tools. It runs on all platforms.

A macro document could contain within it, the graphics to be installed.

This is what I meant by a platform neutral way to install Gallery items. The preferable way would be as an UNO package, if that is even possible.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Fri Mar 18, 2005 11:47 am    Post subject: Reply with quote

Is your Advanced Clipart an installer that installs clipart from some other source? Or maybe I should ask: what is the source of the clipart you are installing? Where does the art come from? What is the license? etc.

Do you create any artwork yourself? Are you compiling it from multiple sources? Can we know what the sources are?
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
freiheit
OOo Advocate
OOo Advocate


Joined: 06 Sep 2003
Posts: 372
Location: California

PostPosted: Fri Mar 18, 2005 11:45 pm    Post subject: Just curious Reply with quote

I'll start by saying that as yet I have not tried either clipart package -- I'm just now checking them out. But isn't "clipart" usually considered to be vector based images (like the SVG clipart) which is resolution independent and scales to any size? PNG graphics are bitmapped images (like JPEG or GIF or BMP) and don't scale so nicely.

Or are the images in your gallery made at very high resolution so that they do scale well?
_________________
Don "Freiheit" Eitner
Back to top
View user's profile Send private message Visit poster's website
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Sat Mar 19, 2005 12:50 am    Post subject: Reply with quote

History:

Danny B: My Advanced clipart v1 (current) comes from the Sodipodi collection. (which is Open-Sourced under Public Domain).

The root base for OpenClipart project is the same: Sodipodi collection.

The v1 was released one year ago in early 2004 and had 400 images
I have not made any cliparts myself, just Windows-based user-friendly installer for OpenOffice.org

Because I wanted lots-of-cliparts in OOo to be competitive with MS Office,
I have pushed the community to create a one place to store all OSS cliparts.
I found the right people in the OOo mailing-lists.

That place became the OpenClipart project.
1) We agreed to continue the Sodipodi tradition of Public Domain releases, and agreed
2) to make a place where everyone can contribute, and
3) agreed that such a project would be benefical to all Office suites, not just the OpenOffice suite.

Unfortunately for me, they chose to support mainly SVG graphics (for technical superiority), while I disagreed and locked myself with PNG format (for ease-of-use) so I leaved that project.

Now, one year later OpenClipart project grown from 400 to 3000 images, and they have contact info of all contributors, which agreed to publish their works under Public Domain (PD).

So in my turn was to batch-convert those 3000 SVG images (OpenClipart 0.11) to PNGs and release them again to be ready for OpenOffice.org 2.0.

My installer v2 will be released along with Sources under Public Domain, because I don't want different licenses for cliparts and for the installer.

freiheit:
Yes that's exactly the point - it is usually SVG's but since OpenOffice doesn't have SVG import filter and no one knows how-to do this, our projects separated.

I actually convert their SVGs to PNGs with medium resolutions about 600x600 so they can scale nicely + added Windows installer.
In the future I might build a bash-script installer for GNU/Linux as well.

Once SVG import filter will be available for OpenOffice I will merge my knowledge with OpenClipart project again, because our last disagreement will be gone.
Back to top
View user's profile Send private message Send e-mail
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Sat Mar 19, 2005 1:01 am    Post subject: Reply with quote

freiheit:
If you're on Windows, the simples and fastest way to get an idea is just to download an Installer or at least see the screenshot: (Windows, OOo 1.1, 9MB file)

http://n.ethz.ch/student/meiersi/pub/OOo/
Back to top
View user's profile Send private message Send e-mail
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Sat Mar 19, 2005 10:40 am    Post subject: Reply with quote

Fenix*NBK* wrote:
My Advanced clipart v1 (current) comes from the Sodipodi collection. (which is Open-Sourced under Public Domain).
The root base for OpenClipart project is the same: Sodipodi collection.

Thank you. That is more information than I had before. I did not know sodipodi had a collection, nor its relationship to OpenClipart.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Sat Mar 19, 2005 12:35 pm    Post subject: Reply with quote

I have just confirmed that it IS possible to programmatically manipulate the gallery. (In OOo 2.0 beta, but not in OOo 1.1.x) Furthermore, a macro can load items into the gallery. Therefore it is possible to build a cross-platform installer that loads the gallery.

Proof of concept
Code:

Sub Main
   CreateNewGalleryItems()
End Sub


' You can get a collection of gallery themes like this....
'   oGalleryThemes = createUnoService( "com.sun.star.gallery.GalleryThemeProvider" )
'
' The methods you can then call on oGalleryThemes are...
'   oGalleryTheme = oGalleryThemes.insertNewByName( cThemeName As String )
'   oGalleryThemes.removeByName( cThemeName As String )
'   oGalleryTheme = oGalleryThemes.getByName( cThemeName As String )
'   aNames = oGalleryThemes.getElementNames() ' gets an array of the theme names
'   If oGalleryThemes.hasByName( cThemeName As String ) ' test for a theme name
'
' Once you have a gallery theme in oGalleryTheme, from one of the above examples
'  you can call...
'   oGalleryTheme.getName() ' get the name of this Gallery theme
'   oGalleryTheme.update() ' regenerate thumbnails of items in this gallery
'   nIndex = oGalleryTheme.insertURLByIndex( cUrl As String, nIndex As Long ) ' Add item to gallery
'   nIndex = oGalleryTheme.insertGraphicByIndex( com.sun.star.graphic.XGraphic, nIndex As Long )
'   nIndex = oGalleryTheme.insertDrawingByIndex( com.sun.star.lang.XComponent, nIndex As Long )
'   oGalleryTheme.removeByIndex( nIndex As Long )
'   nNumItems = oGalleryTheme.getCount()
'   oGalleryItem = oGalleryTheme.getByIndex( nIndex As Long ) ' get an item from this gallery theme


' This example demonstrates how to get the names of the themes in a gallery.
Sub ShowGalleryThemes
   oGalleryThemes = createUnoService( "com.sun.star.gallery.GalleryThemeProvider" )
   aThemeNames = oGalleryThemes.getElementNames()
   MsgBox Join( aThemeNames, Chr(13) )
End Sub


' This example demonstrates how to get the names of the themes in a gallery.
Sub ShowGalleryThemes2
   oGalleryThemes = createUnoService( "com.sun.star.gallery.GalleryThemeProvider" )
   aThemeNames = oGalleryThemes.getElementNames()
   For i = 0 To UBound( aThemeNames )
      cThemeName = aThemeNames( i )
      ' Do something with the gallery theme name in cThemeName
   Next
End Sub


Sub CreateNewGalleryTheme()
   oGalleryThemes = createUnoService( "com.sun.star.gallery.GalleryThemeProvider" )
   oGalleryTheme = oGalleryThemes.insertNewByName( "Danny's Test Theme" )
End Sub


Sub CreateNewGalleryItems()
   oGalleryThemes = createUnoService( "com.sun.star.gallery.GalleryThemeProvider" )
   
   ' Get the gallery theme, or create it.
   cThemeName =  "Danny's Test Theme"
   If oGalleryThemes.hasByName( cThemeName ) Then
      oGalleryTheme = oGalleryThemes.getByName( cThemeName )
   Else
      oGalleryTheme = oGalleryThemes.insertNewByName( cThemeName )
   EndIf
   
   cImagesFolder = "P:\Danny Brewer\Downloads\Graphics\OpenClipArt.org\openclipart-0.11\openclipart-0.11\computer\"
   oGalleryTheme.insertURLByIndex( ConvertToUrl( cImagesFolder + "bluepane_01.png" ), 0 )
   oGalleryTheme.insertURLByIndex( ConvertToUrl( cImagesFolder + "clipboard_01.png" ), 0 )
   oGalleryTheme.insertURLByIndex( ConvertToUrl( cImagesFolder + "etiquette_cd-rom_01.png" ), 0 )
   oGalleryTheme.insertURLByIndex( ConvertToUrl( cImagesFolder + "floppy.png" ), 0 )
   oGalleryTheme.insertURLByIndex( ConvertToUrl( cImagesFolder + "gis-computer_glenn_rolla_01.png" ), 0 )
   oGalleryTheme.insertURLByIndex( ConvertToUrl( cImagesFolder + "joystick_beige_gray_petr_01.png" ), 0 )
End Sub

_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Fenix*NBK*
OOo Enthusiast
OOo Enthusiast


Joined: 01 Mar 2004
Posts: 126
Location: Netanya, Israel

PostPosted: Sat Mar 26, 2005 1:11 pm    Post subject: Reply with quote

Since I'm real newbie in macros, I really need help !

Since this is an advanced topic for developers only, I moved it to OOo macros forum at:
http://www.oooforum.org/forum/viewtopic.phtml?p=72042#72042

Please leave this topic open for general-public Q&A, and Advanced Clipart v1 downloads.
Back to top
View user's profile Send private message Send e-mail
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Tue Apr 05, 2005 8:30 am    Post subject: Re: Final Messagebox Reply with quote

cyberbaga wrote:
Please add a final msgbox when finished

Good idea.

I plan to add an install progress dialog with a cancel button. I wanted to do that last Saturday. Maybe I'll have time this comming Saturday.

cyberbaga wrote:
I tried myself but when I save the macro reduced to 13kb ....

When you re-save the macro document, you lose the artwork which was added into the document. Maybe there is some way to list the artwork items in the OOo manifest so that they will stay in the document?
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group