TextRange2::PasteSpecial( msoClipboardFormatNative )

A

Arno

Hello,

has anyone successfully used this Office 2007 function?

Office::TextRange2::pasteSpecial( msoClipboardFormatNative )

I tried it in PowerPoint 2007 by manually copying a piece of PowerPoint
text onto the clipboard and pasting it using this function, but the
function does not paste anything. With the same piece of text on the
clipboard, formats other than msoClipboardFormatNative work fine.

Regards,

Arno
 
P

Peter Huang [MSFT]

Hi Arno,

Thanks for your feeback.
This is an known issue and we have reported to our product team.

Currently I think you may try to use other option,e.g
msoClipboardFormatPlainText for plain text.

If you still have any concern, please feel free to let me know.

Thanks for your understanding!

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Arno

Hello Peter,

do you have a bug reference number for this bug? Is it scheduled for
fixing? Pasting in Office's native XML format via automation is
important for our application.

Thanks for your feedback,

Arno
 
P

Peter Huang [MSFT]

Hi Arno,

Thanks for your quickly reply!
Due to our policy I can not publish the information in the public newsgroup.
For this issue, I think you may need to contact MSPSS directly for this
issue.
http://support.microsoft.com

Also from my understanding, the XML should be text based, so what do you
mean by Office's native XML?
Can you show a simple sample about that so that I can research more
efficiently?

Thanks!

If you still have any concern, please feel free to let me know.

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Arno

Hello Peter,

I simply want to paste in Office 2007 OpenXML format, that's all. The
corresponding clipboard format is called "Art::Text Format", and is
structured like any other OpenXML, a .zip archive with various XML
files. Unless you have any information when it is scheduled to be
fixed, I am happy with your answer.

Thanks,

Arno
 
P

Peter Huang [MSFT]

Hi Arno,

Currently this is not in the plan to fix it recently. But if you are urgent
for this issue, you may want to work with Microsoft Customer Service and
Support (CSS) for a hotfix.
Once you open a Support incident with Microsoft CSS, a dedicated Support
Professional can work with you in a more efficient manner.

Also what is your eventual goal in this scenario? So that we may find a
workaround.
Based on my test, in the textrange the format below(msoClipboardFormatRTF)
will copy both the text and format to the destination textrange.

Sub Test()
Application.ActivePresentation.Slides(2).Shapes(2).TextFrame2.TextRange.Past
eSpecial msoClipboardFormatRTF
End Sub

If you still have any concern, please feel free to let me know.
I am glad to be of assistance.

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Arno

Since you asked, the purpose of the Paste is to insert an "RTF date
field" into the text. In Office 2003 and earlier, if you paste RTF
containing a date field into PowerPoint, a special type of text field
is generated, which is distinct from slide number and regular
PowerPoint date fields. It has the big advantage of letting you specify
a 64-character-long date format string. This can be used to insert
arbitrary text pieces as non-editable text fields. Funny enough, in
Office 2007, these beasts cannot be generated anymore by pasting RTF,
but insertion of these fields by (interactively) pasting native
Art::Text Format still works.
 
P

Peter Huang [MSFT]

Hi Arno,

Thanks very much for your detailed information.
As for the setence below
"insertion of these fields by (interactively) pasting native
Art::Text Format still works."

I understand that in the Home Tab you click the arrow under Paste/Paster
Special, and select a format called "Art::Text Format".
But based on my test, it seems that I can not find the format after I copy
the text in a textbox by manually.
So can you show the steps about how you did that?

Currently would you so kind to post the exact steps about how you "insert
an "RTF date
field" into the text" in the Office 2003 together with the PPT file?
You may email me directly via removing "online" from my email address.
This way I will understand your scenario more correct and perform more
efficient research to see if there is any workaround for your scenario.

Thanks very much for your understanding!

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top