To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75203
                 Issue #|75203
                 Summary|Some odd text elements in .ppt turn into current date 
                        |on import
               Component|Presentation
                 Version|OOo 2.1
                Platform|All
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|wg
             Reported by|tml





------- Additional comments from [EMAIL PROTECTED] Wed Mar  7 14:57:43 +0000 
2007 -------
importing a .ppt slideshow with a certain kind of weird text element turns the
text into the current date in Impress.

Opening the ppt file in PowerPoint, selecting the odd word in question ("Toyota"
in the minimal sample document I will attach) (which in OOo turns into the
current date) and copying it to the Clipboard reveals something interesting.

If I check what Clipboard formats are then available, they are more or less 
what one would expect: DataObject, Object Descriptor, Rich Text Format, CF_TEXT,
CF_METAFILEPICT, etc. Fetching the CF_TEXT format data from the Clipboard
returns the string "Toyota", as expected. However, fetching the Rich Text
Format data returns something quite weird: 

> clipboard.exe -g 49390
{\\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
>

Note the \fldinst{ TIME } stuff. If I understand it correctly, this means
that the "Toyota" string is present in the .ppt file in a request for the
current time to be inserted, with the format picture string however
containing no actual time format conversion specifiers, but the quoted
characters 'T', 'o', 'y', 'ot' and 'a'. That sure is an interesting way to
store a string.

I can't figure out how to make PowerPoint show what that "Toyota" field
actually contains. Clearly it is something else than just plain text. But how
can one see what it really is? Too bad there is no non-wysiwyg "markup" mode
in PowerPoint... (Or OOo for that matter.) Are autoshapes related to this 
problem? 

Have been trying to trace this in the debugger but haven't really gotten
anywhere yet. Hopefully whoever really knows the ppt import code immediately
understands what must be going on ;)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to