Modifying openoffice documents
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 02:54 AM
Hi,
(I am not sure if this should be done with a custom aspect, but I wrote in this forum)
I am trying to do the following:
When an openoffice document(an Impress presentation file) is added to a space, I want to get the slides in it, modify them(for example, add a company logo to each of them), and then copy the new file to another space.
Is this possible?
(I am not sure if this should be done with a custom aspect, but I wrote in this forum)
I am trying to do the following:
When an openoffice document(an Impress presentation file) is added to a space, I want to get the slides in it, modify them(for example, add a company logo to each of them), and then copy the new file to another space.
Is this possible?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 11:32 AM
I am planning to:
- Get the openoffice file when it is put into the space (if the rule is applied to that space) (*)
- Read it into memory with java.util.zip.Zipfile(since the ooo file is actually an archive) and get the contents parsing the XML(I'll use JDOM).
- Modify the document
- Put it into another space (*)
I need help with the Alfresco related steps of this procedure (the ones with a star). I guess I will have to create a custom rule(or an aspect?) but I don't know how. Help will be appreciated.
- Get the openoffice file when it is put into the space (if the rule is applied to that space) (*)
- Read it into memory with java.util.zip.Zipfile(since the ooo file is actually an archive) and get the contents parsing the XML(I'll use JDOM).
- Modify the document
- Put it into another space (*)
I need help with the Alfresco related steps of this procedure (the ones with a star). I guess I will have to create a custom rule(or an aspect?) but I don't know how. Help will be appreciated.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2006 04:50 AM
Hi,
Sounds like you need to create a custom action. Once done your action could be used to build a rule that will be run when new content arrives in a Space.
Have a look in the wiki for some help on creating a custom action.
http://www.alfresco.org/mediawiki/index.php/Custom_Actions
http://www.alfresco.org/mediawiki/index.php/Custom_Action_UI
Cheers,
Roy
Sounds like you need to create a custom action. Once done your action could be used to build a rule that will be run when new content arrives in a Space.
Have a look in the wiki for some help on creating a custom action.
http://www.alfresco.org/mediawiki/index.php/Custom_Actions
http://www.alfresco.org/mediawiki/index.php/Custom_Action_UI
Cheers,
Roy
