Any RTF experts out there?
I want to insert a text object that is rotated like what you can do in Powerpoint's text box or Word's Word Art. Unfortunately, when either is saved in RTF, the text content is lost in the raw code, so I cannot do a search and replace on the rotated text. Word only saves the text content if the text box is used with the alignment changed to vertical.
Is there any way to create rotated text that is visible in the RTF code?
I am prepared to insert all the required positioning code myself, if I only knew what was required.
Any ideas would be greatly appreciated.Thursday, July 20, 2006 7:06 PM
The problem isn't rotating the text...that can be done relativly easy either by painting the text ontop of or directly in the rtf...this issue as i see it for the OP's question is getting the RTF codes to recognize the rotated text! Word does this by "imaging"...the rotated text or word art becomes an image within the document....so maybe that is your solution....create an image with the rotated text....copy it to the clip board and then paste it into the rtf and it will becdome apart of the rtf code...By gosh I think that's it!Friday, July 21, 2006 1:05 PMModerator
Hi Again Folks,
DMan1 seems to understand my problem. The rotated text is embedded into the RTF file as an image, appearing in the code as "SHAPE \*MERGEFORMAT". The actual text line that has been rotated does not appear, so I cannot do a search or replace on the rotated text within the RTF file.
Text which has first been generated in Word using the Text Box and re-aligned by Text Direction still retains the inserted text in the RTF code, but that's no good to me because I need to Free Rotate it on an angle. Free Rotation can only be done in Word on drawing images and Word Art.
Powerpoint allows free rotation on text boxes, but you can only save in "Outline RTF" which appears as an empty file when I open the RTF in Notepad.
See my problem?Friday, July 21, 2006 6:00 PM
I must be missing something here. My version of Word 2002 does not allow free rotation on a text box. It only allows FORMAT > TEXT DIRECTION, either horizontal or vertical left or right. And yes, it retains the original text in the RTF code, but as I indicated, I need to free rotate the text on an angle. The only way I can see to do that is with DRAW > ROTATE or FLIP on a shape, and when I use that, the text in the rotated image is not saved in the raw RTF.
Does your version of Word actually allow you to free rotate a text box, or am I misunderstanding your message?Saturday, July 22, 2006 1:35 AM