From user-return-4249-apmail-forrest-user-archive=forrest.apache.org@forrest.apache.org Mon May 21 15:32:26 2007 Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 57398 invoked from network); 21 May 2007 15:32:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 15:32:25 -0000 Received: (qmail 77467 invoked by uid 500); 21 May 2007 15:32:30 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 77433 invoked by uid 500); 21 May 2007 15:32:29 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 77419 invoked by uid 99); 21 May 2007 15:32:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 08:32:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [212.227.97.199] (HELO eva.aranex-provider.de) (212.227.97.199) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 08:32:20 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by eva.aranex-provider.de (Postfix) with ESMTP id D49281C008B79 for ; Mon, 21 May 2007 17:31:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at aranex-provider.de Received: from eva.aranex-provider.de ([127.0.0.1]) by localhost (eva.aranex-provider.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aZhMrvgSCyoz for ; Mon, 21 May 2007 17:31:58 +0200 (CEST) Received: by eva.aranex-provider.de (Postfix, from userid 1005) id 71B0C1C15068A; Mon, 21 May 2007 17:31:49 +0200 (CEST) Received: from [192.168.0.142] (dslb-084-056-181-132.pools.arcor-ip.net [84.56.181.132]) by eva.aranex-provider.de (Postfix) with ESMTP id 0DFCD1C150682 for ; Mon, 21 May 2007 17:31:49 +0200 (CEST) Message-ID: <4651BB70.3050108@uidesign.de> Date: Mon, 21 May 2007 17:32:00 +0200 From: Johannes Schaefer User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: Code to convert MS Word documents References: <463F2E89.3070501@uidesign.de> <46481A1D.2010307@uidesign.de> <61c9bc470705140149reb77019y784896dd78218881@mail.gmail.com> <46488496.10508@uidesign.de> In-Reply-To: <46488496.10508@uidesign.de> X-Enigmail-Version: 0.94.3.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org from a chat with Ross: [16:22:51] Johannes Schäfer : one quick question: did graphics work from MSWord? [16:23:39] Ross Gardler : To be honest I really can't remember. I know I got them to work in the OOo plugin and therefore they should work. But whether they were tested or not... [16:24:13] Johannes Schäfer : there're none in the sample pages, so I assumed they don't work (ooo works indeed) [16:25:39] Ross Gardler : I'd suggest looking to see if you can get the interim document that is output from the MSWord generator and seeing what there is in there. They should be in the produced zip (at least I think the generator produces a zip - it really has been a long time) [16:29:51] Ross Gardler : To see what the MS generator creates try adding the following to input.xml in the plugin: [16:30:34] Ross Gardler : [16:30:51] Ross Gardler : You may need to use a binary serialiser if it does produce a zip [16:34:17] Ross Gardler : yes - the only reason it is not there is the license issue. Perhaps you could dump what you have in SVN on the sourceforge project then if anyone wants to get at what we are discussing they can - I don't care about the license issues at the moment (it is all open source stuff) [16:35:32] Ross Gardler : http://sourceforge.net/projects/forrestplugins/ Ross dumped "his" plugins there. Thanks! See http://forrestplugins.svn.sourceforge.net/viewvc/forrestplugins/trunk/forrestPlugins/ Cheers Johannes Johannes Schaefer schrieb: > Ross Gardler schrieb: >> On 14/05/07, Johannes Schaefer wrote: > > > >> Never seen this before. Just a couple of guesses for now, I've not >> looked at the code: >> >> - you are using Forrest 0.7 >> - you are using OOo 1.0 (this was not written against 2.0) > > OK, using OOo 1.1.5 [1] works way better! > Thanks Ross, the plug-in works (almost) out of the box. > > I can't get "graphics" displayed (Neither embedded nor linked, > Forrest shows the ALT text instead), e.g. > Graphic1 src="openOfficeEmbeddedImage/zip-wordSample-bild.sxw/file-Pictures/2000000F000040CE0000309A05877442.svm"> > > Did this work formerly? > (Images get displayed correctly with the OOo-Plugin). > Is there a way to get images working? > > I get special classes for bold or italics, e.g. > you can make a word appear strong, > or emphasised. > These I may format "correctly" but I don't know if "T1" is constant?! > > Some paragraphs get CLASS="instruction", e.g. (but not only inside
    ) >
      >
    • >

      Sub lists

      >
    • >
    > which inserts an arrow at the beginning (this is from screen.css). > > Do you have "Formatting Guidelines" for Word? > Like: only use standard formats, nest headings properly and so on, > insert images as links > We would have a big (>250 pages) document to insert (in pieces), > this will involve a lot of manual work anyway. > > You used some code from [2]. > Do you know if there are any (relevant) updates? > > Thanks a lot for your support! > Johannes > > > [1] http://download.openoffice.org/1.1.5/index.html > [2] http://api.openoffice.org/ > >> - you start OOo as a server for forrest to use before starting forrest >> - Does core.log indicate what URL is the problem (there is some >> internal requests and it is likely one of those URLS that are >> unsupported) >> >> I'll try and have a look at the code sometime soon. >> >> Ross >> > -- User Interface Design GmbH, Ludwigsburg, Germany Phone/Fax +49 7141 37700-46/-99, Mobile +49 170 4914567 E-mail johannes.schaefer@uidesign.de * www.uidesign.de Offices: Teinacher Strasse 38, D-71634 Ludwigsburg Truderinger Strasse 330, D-81825 Muenchen Friedrichsring 46, D-68161 Mannheim Legal information according to EHUG: User Interface Design GmbH; Managing Directors: Dr. Claus Goerner, Franz Koller; Head office: Ludwigsburg; Commercial register of the local court of Stuttgart, Germany, HRB 205519