To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85766
                 Issue #|85766
                 Summary|text fields must not be expanded when copying text
               Component|Word processor
                 Version|OOo 2.3.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|os
             Reported by|mst





------- Additional comments from [EMAIL PROTECTED] Thu Jan 31 11:57:42 +0000 
2008 -------
When copying text to the clipboard, a temporary document is created.
This is not a complete document; it is missing an object shell and a layout.
Therefore, many text fields cannot be expanded correctly within this temporary
document.
Unfortunately, they are expanded.
This is not a problem if the text is then pasted as ODF, because text fields
will then be expanded again in the target document.
However, if the clipboard is pasted as e.g. plain text, the content of the text
fields is completely missing.
Example missing text field types: page number, any document info field.

possible fix:
- always cache the value of the last expansion in every text field (base class)
- have a flag in SwDoc that is set for temporary documents
- when Expand is called on a text field, if the temporary flag at its SwDoc is
set, return cached value

not a fix: just set all text fields to "fixed" in the termporary document. this
will break other stuff.

---------------------------------------------------------------------
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