[api-dev] inspect contents of the clipboard
Hi *, I try to find out how to check the contents of the clipboard. In detail. Knowing this [1] and various examples, it is clear that I can check the data flavor [2], and thus also if it for example represents Star Embed Source (XML). However, can I check for example the formatting information of the contents of the clipboard? Thanks, Cor 1] http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Common_Application_Features 2] http://api.openoffice.org/docs/common/ref/com/sun/star/datatransfer/DataFlavor.html -- Cor Nouws-nl.OpenOffice.org marketing contact = 2008: The Year of 3 = www.nieuwsteoffice.nl = - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] inspect contents of the clipboard
If you like to parse the ODF or RTF content on your own - yes ;) You can't know such thing w/o looking into the content. And if you look into the content, keep in mind that this action might result in some export on demand. For example, if you press copy in Writer, the data object is registered, together with the information that you can get RTF, but actually no RTF is generated until someone really wants to have it. Same would be true for ODF - not sure if we offer ODF directly in the clipboard nowadays. In the past, mainly RTF was used for formatted text. Malte. Cor Nouws wrote, On 01/16/09 18:15: Hi *, I try to find out how to check the contents of the clipboard. In detail. Knowing this [1] and various examples, it is clear that I can check the data flavor [2], and thus also if it for example represents Star Embed Source (XML). However, can I check for example the formatting information of the contents of the clipboard? Thanks, Cor 1] http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Common_Application_Features 2] http://api.openoffice.org/docs/common/ref/com/sun/star/datatransfer/DataFlavor.html - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] inspect contents of the clipboard
Hi Malthe, Malte Timmermann wrote (16-1-2009 18:26) Cor Nouws wrote, On 01/16/09 18:15: I try to find out how to check the contents of the clipboard. In detail. ... If you like to parse the ODF or RTF content on your own - yes ;) You can't know such thing w/o looking into the content. And if you look into the content, keep in mind that this action might result in some export on demand. ... Thanks. This confirms my impression that it is not an easy route, and not at all offered via ('simple') API-calls. Ciao, Cor -- Cor Nouws-nl.OpenOffice.org marketing contact = 2008: The Year of 3 = www.nieuwsteoffice.nl = - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org