524
Views
6
Comments
Function to Export or Print to Word File

Good Afternoon Everybody,

Im searching for a solution that allow a user to print or export current screen to Microsoft Word.
Anyway, the output will not be so simple, as it may have various paragraph that may depend on the logic.

I already try few suggestion, but seem it cant function well.
Please help me as im still new here.

Appreciated all your kind respond.

Regards,

Rusydan 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Mohammad,

Did you have a look at the following example component in the Forge?

https://www.outsystems.com/forge/component-overview/3015/word-export-sample 

It uses https://www.outsystems.com/forge/component-overview/687/officeutils 

Regards,

Daniel

2023-04-18 05-00-29
MOHAMMAD RUSYDAN BIN BAHARI

Daniël Kuhlmann wrote:

Hi Mohammad,

Did you have a look at the following example component in the Forge?

https://www.outsystems.com/forge/component-overview/3015/word-export-sample 

It uses https://www.outsystems.com/forge/component-overview/687/officeutils 

Regards,

Daniel

Thank you Daniël for you respond, 

I already try the forge. But then, the forge need me to prepare a word template with a placeholder.

I couldn't find a way that the forge can help me.

Because, there are few condition that i need to follow to export the word file as per below :

1) There are few paragraph that will show up if the condition is meet and each paragraph will have their paragraph numbering.

2) We cannot pre-set the numbering for each paragraph as the paragraph may be in the beginning or at the end of the file.

3) Need to do Page Numbering for certain page.

4) There will be few table between the paragraph.   

5) Inside most of the paragraph, there will have certain word that is in Bold style.

6) Need to use Page Break element. Already try to use it. I put page break inside the word template, but then, the output file don't add the Page Break element.

But if you know how to solved that issue by using that forge, kindly advice me. It will really really help me. 

Really appreciate it...
Regards,
Mohammad Rusydan

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Mohammad,

Could you give a try with this component:

https://www.outsystems.com/forge/component-overview/8692/html-to-ms-word-converter


Hope this helps you!


Regards,

Benjith Sam

2023-04-18 05-00-29
MOHAMMAD RUSYDAN BIN BAHARI

Benjith Sam wrote:

Hi Mohammad,

Could you give a try with this component:

https://www.outsystems.com/forge/component-overview/8692/html-to-ms-word-converter


Hope this helps you!


Regards,

Benjith Sam

 

Hi Benjith, Thank you for you suggestion. 


I have download the file, but then they are few issue :


1) At first, the table that i create and export to word doesn't have line, but then when i put the line inside OS, the line is a little bit spacing between each column.

2) I will have a paragraph or some part that have 2 column. When export, the second column not located as in the system.

3) The numbering for each paragraph do not have a spacing like in the word.

4) Cannot put some word that are bold in a paragraph.

5) Can't find a way to put 1 new line between paragraph.


If you have a few solution that I may be missed, kindly show me the way.
It will really help.

Thank you.
Regards,

Mohammad Rusydan

2021-03-18 21-03-15
Benjith Sam
 
MVP

MOHAMMAD RUSYDAN BAHARI wrote:

Hi Benjith,


I have download the file, but then im not sure how to use it.

If you have the flow on how to use it, it will really really help me..

Regards,

Mohammad Rusydan

 Hi Mohammad,

I would suggest you to download the component's demo file along with the component to understand the actual implementation. You can find the download demo option/link in the respective component's page as shown below...


Let me know if you need any more help :)


Regards,

Benjith Sam

 

2023-04-18 05-00-29
MOHAMMAD RUSYDAN BIN BAHARI

Benjith Sam wrote:

MOHAMMAD RUSYDAN BAHARI wrote:

Hi Benjith,


I have download the file, but then im not sure how to use it.

If you have the flow on how to use it, it will really really help me..

Regards,

Mohammad Rusydan

 Hi Mohammad,

I would suggest you to download the component's demo file along with the component to understand the actual implementation. You can find the download demo option/link in the respective component's page as shown below...


Let me know if you need any more help :)


Regards,

Benjith Sam

 

Thank you Benjith,

It is work.. It can export the screen to Microsoft Word.

But then, there is still few thing that doesn't meet my requirement.


Thank you for your suggestion.


Best Regards,

Mohammad Rusydan

 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.