cancel
Showing results for 
Search instead for 
Did you mean: 

Copy & Paste Data to <htmlb:textEdit>

bjorn-henrik_zink
Active Participant
0 Kudos

Hi,

when I Copy & Paste Data from MS Office to <htmlb:textEdit> the following occurs:

1) In the <htmlb:textEdit> note, the content is displayed without formatting. (OK)

2) Saved content is displayed without formatting in the backend. (OK)

3) Printing the content via SmartForms/Adobe pdf, #-signs are appearing. For example, spaces created with the tab key are displayed as ###. (PROBLEM!)

Are there anybody who knows how I can solve this problem. Basically, I just want to print what I see in my web application.

I suspect that the <htmlb:textEdit> control is not completely removing all formatting from MS Office.

What do you think?

Any help is greatly appreciated.

/Elvez

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Elvez,

I experienced, that the textedit uses '##' to identify a carriage return. We simply remove the placeholder, if we have to use the value of a textedit in other contexts.

I don't think that it is related to the copy from MS Office, since the textedit takes erverything as plain text.

Regards

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

may be try it with BTF editor. (search for a weblog on BTF by Thomas Jung)

How are you converting the text to smartform/pdf?

Regards

Raja

bjorn-henrik_zink
Active Participant
0 Kudos

Hi Raja,

after a quick look at BTF, I find that it is not appropriate for our application with approximately 100 text areas.

The conversion to PDF is done with regular SmartForms methods and without changing the original data.

/Elvez