Re: [dev] Converting some files to OOo writer
Yannick Patois wrote: - To the point I'm now, why not just creating an import filter for OOo? That would give users a very easy way to open and convert the files interactively, and likely generate a hook tha could be called from a pyuno cli script, if wanted. But... Can filter be wrote and distributed independently of OOo itself, or would I have to recompile the whole software including my hack? Is it difficult to create and insert a new filter in OOo? I really dont know. Filter development does not force you to compile any OOo source code at all. I don't know what you want to import (only text, some attributes or even more complex structures and elements), but in general a UNO based filter using the Writer API is a good option. Of course you must learn something about this API but AFAIK the SDK contains a simple example for a pure text import filter for Writer written in Java so you have at least a starting point how you can import the pure text, adding the formatting or other things can be done later. If the example isn't part of the SDK I'm sure it can be found somewhere else. :-) Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Error While Building Module Scripting
Hi i have the same error but in other module... but not have the solution too. :( Joesny. Rajith Ravi wrote: Hi volker, While Building the OO2.0 the build stops in the module scripting. I logged the error shown below. (windows XP, VisualStudio.Net2003,Java1.4.2_09,TCSH) build -- version: 1.144 = Building project scripting = /cygdrive/e/oo2.0/src/scripting/source/basprov - /cygdrive/e/oo2.0/src/scripting/source/dlgprov - /cygdrive/e/oo2.0/src/scripting/source/provider - /cygdrive/e/oo2.0/src/scripting/source/protocolhandler - /cygdrive/e/oo2.0/src/scripting/java - guw.pl /cygdrive/c/apache-ant-1.6.5/bin/ant -Dprj=.. -Dprjname=scripting -Ddebug=off -Doptimize=on -Dtarget=scriptruntimeforjava -Dsolar.update=on -Dout=../wntmsci10.pro -Dinpath=wntmsci10.pro -Dproext=.pro -Dsolar.bin=/cygdrive/e/oo2.0/src/solver/680/wntmsci10.pro/bin -Dsolar.jar=/cygdrive/e/oo2.0/src/solver/680/wntmsci10.pro/bin -Dsolar.doc=/cygdrive/e/oo2.0/src/solver/680/wntmsci10.pro/doc -Dcommon.jar=/cygdrive/e/oo2.0/src/solver/680/common.pro/bin -Dcommon.doc=/cygdrive/e/oo2.0/src/solver/680/common.pro/doc -f build.xml -emacs Buildfile: build.xml prepare: compile: Compiling 31 source files to E:\oo2.0\src\scripting\wntmsci10.pro\class This version of java does not support the classic compiler; upgrading to modern E:\oo2.0\src\scripting\java\com\sun\star\script\framework\provider\ClassLoaderFactory.java:60: cannot resolve symbol symbol : class NoSuitableClassLoaderException location: class com.sun.star.script.framework.provider.ClassLoaderFactory throws NoSuitableClassLoaderException, MalformedURLException ^ E:\oo2.0\src\scripting\java\com\sun\star\script\framework\provider\ClassLoaderFactory.java:72: cannot resolve symbol symbol : class NoSuitableClassLoaderException location: class com.sun.star.script.framework.provider.ClassLoaderFactory throws NoSuitableClassLoaderException ^ E:\oo2.0\src\scripting\java\com\sun\star\script\framework\provider\ClassLoaderFactory.java:83: cannot resolve symbol symbol : class NoSuitableClassLoaderException location: class com.sun.star.script.framework.provider.ClassLoaderFactory throw new NoSuitableClassLoaderException( ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 3 errors ---* tg_merge.mk *--- Regards, Rajith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] formula settings recognition
Hello all, I am working on a project in which I generate Writer text files each of which may include one or more formula objects. There are apparently two basic files for each formula, a content and settings file. The formulae are rendered correctly except that custom settings I include in the settings.xml file don't seem to be followed, e.g. font-size, margins. When I change these values by means of the dialog boxes after opening a file, they are indeed changed for each formula individually and saved in each object's settings.xml file. So what is it that I'm missing? What is the correct method/reference to get a formula to properly use its settings.xml file when it is loaded/rendered? Any pertinent suggestions are very welcome. Happy Holidays and peace to you, Matthew L. Avizinis Gleim Publications, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Koders - code search for OOo
OpenOffice Developers: Koders has provided a free, searchable index of OpenOffice code for sometime at our website, http://www.koders.com http://www.koders.com/ . We are now striving to enhance the free service to the OpenOffice developer community by: - improving the frequency of updates and metadata we maintain on OpenOffice.org hosted projects - enable project-specific code search directly on the OpenOffice.org site We have simple interfaces to implement a free repository and/or project level code search into the OpenOffice.org site, and are working with Louis on this integration. If you are an existing Koders user and would like to see better integration into the OpenOffice.org site, your feedback to this post would be helpful. If you like to see how the search might be integrated, you can check out these existing search-integrated sites: NovellForge: http://forge.novell.com/modules/xfmod/cvs/cvspage.php/mbloggy/ RubyForge: http://rubyforge.org/scm/?group_id=35 Lastly, if you'd like to assist with this or a more sophisticated integration, please let us know that as well. We're looking forward to working with the OpenOffice.org team on this project. Thanks, Koders
[dev] error building module script
hi volker, I downloaded the WNTMSCI.zip in moz/zipped. Then again ran configure script. while running dmake it still shows error Building project moz /cygdrive/e/oo2.0/src/moz dmake:extractfiles.mk:line 204: Error --Expecting macro or rule defn, found neither ---* tg_merge.mk *-- Error: Error 65280 occurred while making /cygdrive/e/oo2.0/src/moz dmake: Error code 1,while making 'build_instsetoo_native' --* tg_merge.mk *-- Regards, Rajith
Re: [dev] scripted multiplatform .doc to .html conversion
Hi Openoffice seems to handle the basic task gracefully through the UI. Can anyone tell me if there's a commandline version that would enable this from the commandline? Or, possibly even better, is there a specific callable module responsible for this, is there an intermediate in-memory format that can be marshalled/unmarshalled with the various file formats? you may have a look at this, for a very frist shoot http://oooconv.free.fr/oooconv/oooconv_en.html Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org Indesko http://www.indesko.com Nuxeo CPS http://www.nuxeo.com - http://www.cps-project.org Livre Programmation OpenOffice.org, Eyrolles 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]