Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it possible to generate a presentation [.ppt] from Rational Publishing Engine?

Is it possible to generate a presentation [.ppt] from Rational Publishing Engine?

0 votes



2 answers

Permanent link
Hi Nirmal,

You are able to generate Word, HTML, PDF, Excel, XML. PowerPoint is not supported.

0 votes

Comments

Thank for responding Bartosz, I am aware that PowerPoint is not directly supported.  


Is there a workaround, could we possibly use the xsl-fo [.fo] output to generate one? 
Do you know if this will work and if there are any articles that provide the relevant details to do so. 

Nirmal,

I have not seen anything that would be reasonable to use for XSL-FO and PPT.

You can copy objects from Word to PPT but it is still manual work.

Thank you for your response Bartosz


Permanent link
Hi Nirmal,
As you already know, this is not directly supported. Instead of converting from XSL FO to PPT, you can also try copy/pasting contents from RPE's Word output to Powerpoint slide and save the PPT (through VBA macro). You should be able to run that macro through RPE.
These links may help:

0 votes

Comments

Hi Subramanya,


Thank you for your response, can you direct me to where I may be able to find information on how a macro can be added to a RPE Template.
I am aware of adding JavaScript code [generally inside a Container element]. Is there a similar element for adding VBA code.


Hi Subramanya, 

I was able to figure out how to add a macro while generating a word output from a RPE Template, however when this macro is invoked via RPE, it results in an error "Can't run specified Macro" . However, this macro runs in MS Word when invoked on open word document. Below is the log. Is this something that you are aware of? 

Starting Word ...
CRRPE1064I Starting Word ...
Loading document ...
CRRPE1064I Loading document ...
Running macro ...
CRRPE1064I Running macro ...
Error running macro. Error: -2147352573 - Can't run the specified macro
CRRPE1064I Error running macro. Error: -2147352573 - Can't run the specified macro
 
Macro execution finished
CRRPE1064I Macro execution finished
CRRPE1064I Document generation finished in 3 seconds. 
CRRPE1022I The process was completed in 3.453 seconds. 

1. You should have MS Word installed on the same machine where Document Builder or RPE is running. (I suppose you have Word installed)
2. Have you set the extension for Word output as .docx? If so, you should change the extension for Word output to.doc or .docm.

I tried both output extensions, however the error persists. Please let me know if there are any next steps that may be tried.  

Make sure you have added the macros in the stylesheet file and not in normal.dot. You can confirm by opening the stylesheet (that is configured to be used by Word output), double click the "ThisDocument" entry from the outline. You should see the macro from your file.
You can also open the Word output generated by RPE and check if it contains the macro that you are trying to run.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 30 '21, 1:46 p.m.

Question was seen: 1,081 times

Last updated: Apr 01 '21, 10:53 a.m.

Confirmation Cancel Confirm