Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - LaTeXit support
LaTeXit support
 
   NeoOffice Forum Index -> Random Whatnot
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Jun 29, 2009 7:32 am    Post subject:

root_42 wrote:
This is the first entry that Pasteboard Inspector shows me:

Code:

<xml>
!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"
plist version="1.0"
array
   string pdf string
   string eps string
   string tiff string
   string jpeg string
   string png string
/array
/plist



When pasting images, NeoOffice recognzies the following native clipboard data flavors. The first matching data flavor found is used:

PDF
PNG
TIFF
PICT

Since PDF is the first match in your output, PDF is the data flavor that NeoOffice is using.

What happens then is that we convert your PDF data to PNG format using Apple's QuickTime image conversion functions. We do this conversion because NeoOffice's underlying OpenOffice.org code does not support pasting or dropping of any vector graphics formats and only supports PNG and BMP format.

So, a rasterizeded copy of the PDF should be appear when dropped in NeoOffice. Are you not seeing that? If not, do you see the resterized image when you copy and paste from LaTeXit?

Patrick
Back to top
root_42
Red Pill


Joined: May 28, 2009
Posts: 8

PostPosted: Thu Jul 02, 2009 1:34 am    Post subject:

pluby wrote:

So, a rasterizeded copy of the PDF should be appear when dropped in NeoOffice. Are you not seeing that? If not, do you see the resterized image when you copy and paste from LaTeXit?
Patrick


Copy and paste of a LaTeXit PDF image works, and results in a raster image being inserted. That's fine so far and exactly how you described it.

Drag and Drop does NOT work, I just cannot drop the image, although LaTeXit is supposed to deliver a PDF when I set it to PDF (I can choose any of the mentioned formats). It does not work with PNG or other formats either. The dragged image just jumps back and is not dropped.

Best regards,

Arne
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jul 02, 2009 7:35 am    Post subject:

root_42 wrote:
Drag and Drop does NOT work, I just cannot drop the image, although LaTeXit is supposed to deliver a PDF when I set it to PDF (I can choose any of the mentioned formats). It does not work with PNG or other formats either. The dragged image just jumps back and is not dropped.


This tells me that LaTeXit is not assigning the same Apple system clipboard flavors on the drag clipboard as it does when copying.

Since Mac OS X puts drag data flavors in a private clipboard (not the system clipboard) I don't know how you would determine what data flavors LaTeXit is actually putting in the drag clipboard, but clearly what is in their doesn't match the image data flavors that NeoOffice recognizes.

Patrick
Back to top
jlm1
Blue Pill


Joined: Jul 10, 2009
Posts: 1

PostPosted: Fri Jul 10, 2009 8:12 am    Post subject: Problem with Latexit generated image

When i generate a pdf ( or any other format) image of an equation in Latexit and insert into Neooffice (3.0 patch 5) the image is fuzzy and light. Dropping the same into Pages yields a nice crisp image. This is with respect to screen appearance and printed appearance. I have attached Any thoughts??
I have included a Writer file with just a sample.

Thanks

Jay
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Fri Jul 10, 2009 8:52 am    Post subject: Re: Problem with Latexit generated image

This
jlm1 wrote:
When i generate a pdf ( or any other format) image of an equation in Latexit and insert into Neooffice (3.0 patch 5) the image is fuzzy and light.

is because
pluby wrote:
What happens then is that we convert your PDF data to PNG format using Apple's QuickTime image conversion functions. We do this conversion because NeoOffice's underlying OpenOffice.org code does not support pasting or dropping of any vector graphics formats and only supports PNG and BMP format.

To get crisp images, you need to export EPS files from Latexit and then insert them into NeoOffice using the Insert Image command, not copy/paste or drag/drop.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> Random Whatnot All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.