Re: Want to find the file in Cairo that can convert a doc into ps(postscript) format

Dominic Lachowicz <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAH2ZfNKsm5j9fR33dgkAFdQKo6tVRO+ucRor98r27xipAAdQ2g@mail.gmail.com>
AbiWord can convert DOCs to PS or PDF using Cairo. It's available from
the command-line.

It's a very complex process, because you not only need to parse the
DOC (whose format isn't terribly well documented), but then lay out
the various semantic bits (tables, lists, paragraphs, columns, images,
...), and then render that layout somehow.

Cairo is great for the last part. It isn't a layout engine, though.

On Wed, Apr 25, 2012 at 6:13 AM, suzuki toshiya
<[email protected]> wrote:
> Do you want Cairo to parse your word document?
> If you mean Microsoft Word, with .doc or .docx suffix,
> Cairo does not do.
>
> Regards,
> mpsuzuki
>
> Ankit Jain wrote:
>> I believe there is some library or utility in cairo that generates a .ps file. I want to find that library and want to re-use it to generate a .ps file from my word document.
>> I don't have much idea on cairo, please tell me what I am trying to do is practically possible through cairo or not?
>>
>> Regards,
>> Ankit
>>
>> --- On Wed, 25/4/12, suzuki toshiya <[email protected]> wrote:
>>
>> From: suzuki toshiya <[email protected]>
>> Subject: Re: [cairo] Want to find the file in Cairo that can convert a doc into ps(postscript) format
>> To: "Ankit Jain" <[email protected]>
>> Cc: [email protected]
>> Date: Wednesday, 25 April, 2012, 2:43 PM
>>
>> What do you mean by "a doc"?
>> Cairo is not a conversion tool, it is a library to draw something.
>>
>> Regards,
>> mpsuzuki
>>
>> Ankit Jain wrote:
>>> Hi,
>>>
>>> I want to find the file or the code or the mechanism responsible in Cairo that converts a doc to ps format. There are a lot of .c files in Cairo. So I just wanted to know which files can I refer to that can give me some idea how the code that will convert doc to ps format will look like.
>>>
>>> Regards,
>>> Ankit
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> --
>>> cairo mailing list
>>> [email protected]
>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>>
>
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo



-- 
"I like to pay taxes. With them, I buy civilization." --  Oliver Wendell Holmes
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.