OpenOffice.org/SVG Import Filter

OpenOffice.org/SVG Import Filter se snaží řešit problémy s importem SVG

Filtr se dá implementovat externě nebo interně.

Interní filtr (extenze) editovat

  • SVG Import Filter pro OpenOffice 2.1 a vyšší
  • současná verze: Version 1.2.2 (2007-09-02) !

Postup:

  • stáhnu svg-import-1.2.2.oxt (5.5 MB)
  • Otevřu OpenOffice a nainstaluji extenzi
    • Anglicky mluvící:
      • menu: Tools/Package Manager
      • v okně vyberu: My Packages
      • kliknu na: Add
      • může se stát, že rozšíření není aktivováno (u verze oo < 2.2). Pak kliknu na "Activate"
    • Česky mluvící:
      • menu: Nástroje/Správce rozšíření
      • v okně vyberu: Moje rozšíření
      • kliknu na: Přidat...
      • v okně "Přidat rozšíření" vyhledám stažený soubor svg-import-1.2.2.oxt
      • Odsouhlasím licenční ujednání: Copyright (C) 2005-2007 Bernhard Haumacher: GPL verze 3 nebo vyšší
      • Začne se instalovat, ale pak vyběhne hláška:
(com.sun.star.lang.DisposedException){ { { Message = "URP_Bridge :
disposed\X000a(tid=18) Unexpected connection closure", context =
(com.sun.star.uno.Xinterface) @0 } } }
      • Dám OK
      • Ve správci rozšíření pak toto rozšíření nevidím :-(

Tenhle problém jsem našel reportovaný na http://wiki.services.openoffice.org/wiki/SVG_User_Experiences podnadpis "Weird Java Error" (Podivná chyba Javy). Řešení tam uvedeno není.

Po této akci ale už oodraw není schopen načít žádný SVG soubor (předtím načítal alespoň kresby a nedokonale texty), nyní SVG otevírá jen jako text.

Externí filtr (batch) editovat

  • svg2office
  • verse: 1.2.2. z 2007-09-02 – od té doby žádný pokrok :-(
  • stáhnu to z:
  • Spustím:
java -jar svg2office-1.2.2.jar <some-file.svg>

Hurá! Funguje, ale:

java -jar svg2office-1.2.2.jar Inkscape-Serifová_písma-Ubuntu_Jackalope-oo.svg
converting Inkscape-Serifová_písma-Ubuntu_Jackalope-oo.svg...
error: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg, name: flowRoot).

Tiny editovat

  • Software License, Version 1.0, Copyright (C) 2008 Hansuli Anderegg. All rights reserved.

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the Hansuli Anderegg (hansuli.anderegg@bluewin.ch)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear.

  • Ta samá chyba Javy :-(