Ask Your Question
0

Automatically replacing decimal tab character

asked 2015-04-29 17:22:54 +0200

Evgeny.M gravatar image

I have a Writer document with hundreds of paragraphs (inside tables) that have decimal tab stops. The tab stops have a period as the decimal character. I need to replace period with comma in all numbers so that the numbers are still aligned at commas. For this I probably need to change the character of each decimal tab stop because if I simply replace a period with a comma inside a number in text, the alignment is lost. I have already changed the decimal character at Tools > Options > Language Settings > Languages > Decimal separator key to comma, but it does not affect the existing tab stops in the document. Is there a way to change the decimal character of all existing tab stops?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-04-30 02:36:22 +0200

ROSt52 gravatar image

I did not find a fully automated way to do the replacement. A semiautomated would be to select the column in which you have the decimal points which you want to replace by comma. Then crtl + H > replace "." by ",". > replace all The replacements are only made in the selected column.

If you want it more automated, I feel you need a macro.

edit flag offensive delete link more

Comments

Thanks, but the problem is not to replace period by comma in the text. The problem is to change the decimal character associated with with tab stops, that is, in Format > Paragraph > Tabs > Character. I need to change the decimal character associated with each decimal tab in the document. If I don't do this but simply replace periods with commas in the document text, the alignment will be lost.

Evgeny.M gravatar imageEvgeny.M ( 2015-04-30 02:45:20 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-04-29 17:22:54 +0200

Seen: 272 times

Last updated: Apr 30 '15