Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to "set default paste" in text field with rich text format

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

21-10-2016

When I copy and paste a text of size 10 in a text field, the text is copied in size 12.

Someone has ever been in this situation?

How can I copy a text while retaining the right format?

Accepted Solutions (0)

Answers (13)

Answers (13)

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

10-11-2016

Thank you anyway for your commitment and support.

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

10-11-2016

It seems that when you are copying static text from the PDF and pasting it into the text field the font size is being increased by something like 20%.  Is that the problem you are facing.  I must say I haven't come across it as the main copy/paste I've had to deal with is from MS Word, which does seem to work.  Even if you past from the PDF to a MS Word document it gets enlarged as well.

So, sorry to say after a couple of weeks I can't help.

Bruce

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

06-11-2016

This is new link: ExpireBox | LIBERO.xdp

Thank you!

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

06-11-2016

Hi,

Seems that file has 'expired' and is no longer available.

Can you upload it again.

Bruce

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

03-11-2016

I'm so sorry, I was wrong sample template. This is the right example for my problem: ExpireBox | LIBERO.xdp

Sorry again and thanks for the help!

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

02-11-2016

Hi,

Seems we were talking about two different things, I thought you were using a text field but seems you are using a static text object.  So ignore all previous comments.

But you should still be able to paste rich text into a text object in the LiveCycle Designer design view.  I have updated your sample https://sites.google.com/site/livecycledesignercookbooks/home/NewForm1.updated.xdp?attredirects=0&d=...  with the text I have pasted from this Word document https://sites.google.com/site/livecycledesignercookbooks/home/FontSample.docx?attredirects=0&d=1

Still not sure I understand what you are trying to do.

Regards

Bruce

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

02-11-2016

The text that i copy is an example text, i try all method to copy/past the text "from text to textfield" or "from textfield to textfield" with "Rich Text" and the results is the same. This is the link to my sample: ExpireBox | NewForm1.xdp

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

02-11-2016

Hi,

What is the source of the text you are trying to paste?  Is it a Microsoft Word document?  Can you post a link to a sample?

Thanks

Bruce

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

28-10-2016

The result with Expand to fit for the Width and the Field Format set to Rich Text is this:

ice_screenshot_20161028-092140.png

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

27-10-2016

This is the result with the Field Format set to Rich Text! Help me

ice_screenshot_20161028-084949.png

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

27-10-2016

Hi,

That is the behaviour I would expect from a plain text field, is the Field Format set to Rich Text

Field Format.PNG

Avatar

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MAPIZ
Level 1

Like

1 like

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MAPIZ
Level 1

24-10-2016

Thank you for reply. I want to use "Rich text" but when i pasted the text, i see a different style and size.

This is an example:

rich text.png

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

21-10-2016

Hi,

I you set the text field to a Field Format (on the Field tab of the Object Palette)  to rich text, then the value pasted will retain the source font size.  Otherwise it will change to whatever has been set for that field.

Regards

Bruce