Issue 71939 - Pre- and postprecessing capability for import and export.
Summary: Pre- and postprecessing capability for import and export.
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.0.4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 13:12 UTC by flr
Modified: 2013-07-30 02:35 UTC (History)
4 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
proposed patch (7.65 KB, patch)
2006-12-07 08:54 UTC, radekdoulik
no flags Details | Diff
newer version of the patch (8.91 KB, text/plain)
2007-01-10 10:32 UTC, flr
no flags Details
backtrace (5.57 KB, text/plain)
2007-06-08 14:31 UTC, rail_ooo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description flr 2006-11-24 13:12:03 UTC
This patch enables to specifiy pre- and postprocessing applications for import
and export.

You can specify in a filters user data a pre- and postprocessing application.
These applications will be called before load the file and after saving the file.

E.g.
oor:name="UserData"><value>CXML,Preprocess=&lt;file:://%origin%/mypreprocessor
%SOURCE% %TARGET%&gt;,Postprocess=&lt;file://%origin%/mypostprocessor %SOURCE%
%TARGET%&gt;</value></prop>
Comment 1 radekdoulik 2006-12-07 08:54:01 UTC
Created attachment 41187 [details]
proposed patch
Comment 2 flr 2007-01-10 10:32:39 UTC
Created attachment 42060 [details]
newer version of the patch
Comment 3 rail_ooo 2007-06-08 14:20:56 UTC
Seems like this patch can crash Impress.
How to reproduce:

1) Create new presentation
2) Right click on canvas in Normal view, Slide - Slide Design
3) Click Load... button
4) Select Presentation Backgrounds in Categories
5) Select any of existing templates and click OK - crash

Backtrae is attached.
Comment 4 rail_ooo 2007-06-08 14:31:19 UTC
Created attachment 45756 [details]
backtrace
Comment 5 flr 2007-06-08 15:37:52 UTC
Fixed in latest patch available at 
http://svn.gnome.org/viewcvs/ooo-build/trunk/patches/src680/sfx2-pre-and-
postprocess-crash-fix.diff?view=markup
Comment 6 rail_ooo 2007-06-08 17:27:46 UTC
Florian, thanks for quick reply.
No crash after applying linked patch.
Comment 7 Mathias_Bauer 2007-08-30 10:41:02 UTC
Just to let you know: a preprocessing capability already exists in OOo so we
don't need anything hacked into the filter configuration. If you want to know
how it works please have a look into the most recent changes in

binfilter/filter/source/bf_migrate/bf_migratefilter.cxx (rev. 1.9).
Comment 8 Mathias_Bauer 2007-08-30 10:43:56 UTC
Any idea if and when this patch shall be integrated? It's quite old now and
patches usually tend to get moldy over time. ;-)

Comment 9 Rob Weir 2013-07-30 02:35:47 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.