Hi,
we think that we found a solution for this problem. So far, it works with
the documents we tested.
Let textDocument be the current document that has been obtained from the
model.
String getFileFormat(XTextDocument textDocument)
{
try {
final Object objTypeDetection =
On Wed, Dec 19, 2012 at 8:04 AM, Robert Barbey
wrote:
> Hi everyone,
>
> is it possible to get the kind of document currently opened in Writer via
> the API? Ideally, this would be a MIME type kind of thing.
>
> Thank you very much!
>
> Best,
> Robert
Do you mean to say what kind of document is
On Wed, Jan 09, 2013 at 05:10:25PM +0100, Jürgen Schmidt wrote:
> thanks Ariel, I was looking for DociumentProperties and the deprecated
> DocumentInfo. I've thought about the MediaDescriptor as well but of
> course did not looked in the code in detail but only the API.
>
> getArgs() a self explai
On Wed, Jan 09, 2013 at 11:59:09AM -0300, Ariel Constenla-Haile wrote:
> Hi *
>
> On Wed, Jan 9, 2013 at 11:40 AM, Jürgen Schmidt wrote:
> > On 12/19/12 3:04 PM, Robert Barbey wrote:
> >> Hi everyone,
> >>
> >> is it possible to get the kind of document currently opened in Writer via
> >> the AP
On 1/9/13 3:59 PM, Ariel Constenla-Haile wrote:
> Hi *
>
> On Wed, Jan 9, 2013 at 11:40 AM, Jürgen Schmidt wrote:
>> On 12/19/12 3:04 PM, Robert Barbey wrote:
>>> Hi everyone,
>>>
>>> is it possible to get the kind of document currently opened in Writer via
>>> the API? Ideally, this would be a
Hi *
On Wed, Jan 9, 2013 at 11:40 AM, Jürgen Schmidt wrote:
> On 12/19/12 3:04 PM, Robert Barbey wrote:
>> Hi everyone,
>>
>> is it possible to get the kind of document currently opened in Writer via
>> the API? Ideally, this would be a MIME type kind of thing.
>>
>
> sorry for answering so late
On 12/19/12 3:04 PM, Robert Barbey wrote:
> Hi everyone,
>
> is it possible to get the kind of document currently opened in Writer via the
> API? Ideally, this would be a MIME type kind of thing.
>
sorry for answering so late but I forget it and stumbled over this now
again. But the bad news i
Hi everyone,
is it possible to get the kind of document currently opened in Writer via the
API? Ideally, this would be a MIME type kind of thing.
Thank you very much!
Best,
Robert