Could somebody explain what a mysterious element in a .ppt slide i

T

Tor Lillqvist

Please download http://www.iki.fi/251602-blank-4.ppt. You will see a blank
slide with nothig except the word "Toyota" on it (in an autoshape). Now, the
problem is that this text is actually something else that plain text. If you
copy the text "Toyota" to the clipboard, and use some suitable software to
show what formats are available in the clipboard, and retrieve the data in
Rich Text Format, you will see that it contains the following:

{\\rtf1\\ansi\\ansicpg1252\\lnbrkrule
{\\fonttbl
{\\f1\\fnil\\fcharset0\\fprq0 Arial;}
}
{\\colortbl;
\\red0\\green0\\blue0;
}
\\pard\\plain\\ltrpar\\li540\\fi-540\\f1\\fs48\\ppscheme-4\\lang1033
{\\hich\\af1\\loch\\f1\\fs28\\ppscheme-1\\cf1 {\\field{\\*\\fldinst{ TIME
\\'5c@ "'''''''''''''''''''''T''o''''''''''y''''''ot''a'"
}}{\\fldrslt{Toyota}}}}
}\000\006\001*\000b\000a\000

(the above has been dumped by a program that prints data as a C string, thus
'\' characters are doubled.)

I.e. it is actually a request to insert the current time ( \fldinst{TIME
....} in RTF) but the time format specified contains no format picture, just
the quoted characters 'T', 'o'. 'y', 'ot' and 'a'. What is this? How the heck
has somebody managed to produce this? How can one get PowerPoint to show what
this mysterious autoshape element *really* is? Is there some 3rd-party
software that produces ppt files with this kind of oddities?

(If you don't have any suitable no-frill software to list what's on the
clipboard and retrieve a dump of each format, try this:
http://www.iki.fi/tml/clipboard.c . It's a trivial small C program.)
 
Top