Re: [dev] writer: export pages as bitmaps (e.g. PNG)
Hi Laurent, On 09.03.2007 20:02, Laurent Denoue wrote: Yes, pdf export is what I'm doing now, using either ghostscript or xpdf to image each PDF page into a PNG. But it is slower than being able to directly grab the rendered page from Writer. Can somebody point me to the PDF export functions? Maybe I could hack a PNG export function instead. the pdf filter is implemented in filter/source/pdf. Have a look at pdfexport.cxx, I think it should be possible to grab the bitmap from the OutputDevice pOut after rendering each page. Hope this helps, Frank -- Frank Meies (fme) - OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] writer: export pages as bitmaps (e.g. PNG)
Yes, pdf export is what I'm doing now, using either ghostscript or xpdf to image each PDF page into a PNG. But it is slower than being able to directly grab the rendered page from Writer. Can somebody point me to the PDF export functions? Maybe I could hack a PNG export function instead. Laurent. On 3/9/07, ashok _ <[EMAIL PROTECTED]> wrote: If I can add to Frank's idea of working with PDF and then processing the pdf into images. I have used the iText library with good results : http://sourceforge.net/projects/itext/ which allows you to manipulate pdf split it based on page boundaries, output each page to a different format and so on. So you could take the pdf output of writer and process it into images On 3/9/07, Frank Meies - Sun Germany - Development - Software Engineer <[EMAIL PROTECTED]> wrote: > Hi Laurent, > > On 03/08/07 07:54, Laurent Denoue wrote: > > > Is there an API to export each page of a Writer document as a picture? > > It's possible under Impress, as shown here: > > http://www.oesf.org/forums/lofiversion/index.php/t7790.html > > I don't see a way to do this directly. What about using the pdf export > filter and use some external tools to convert the pages to graphic files? > > Best regards, > > Frank > > -- > Frank Meies (fme) - OpenOffice.org Writer > OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] shlxthdl.res Serbian Build error
Thank you very much Eike that was the problem. in shlxthdl/localize.sdf There was double def sr-YU and sr I clear the lines of sr and problem was gone :) Eike Rathke wrote: Hi Branko, On Tuesday, 2007-03-06 14:00:38 +0100, Branko Tanovic wrote: Hello when building Localized SR-YU OOo 2.1 build breaks. I could not find anything similar in mailing lists here is the output of break in shell module any ideas tnx :) -fo../../../../wntmsci11.pro/res/shlxthdl.res ../../../../ wntmsci11.pro/res/shlxthdl.rc ..\..\..\..\wntmsci11.pro\res\shlxthdl.rc(265) : error RC2151 : cannot reuse str ing constants, 1014(0x3F6) - "??" already defined. Cannot add 1014(0x3F6) - "??". >From bad memory dating back to Windows experience days I remember that such things may happen if IDs get duplicated inside one language block. In shlxthdl.rc check the lines the resource compiler complains about whether that is the case. Note that duplicated IDs in different language blocks are ok, and there are many of them. Another reason may be that an entire language block with identical LangID appears twice. In that case maybe somehow merging the language resources was duplicated, see http://www.openoffice.org/issues/show_bug.cgi?id=68985 Eike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] A FILIPINO GRAMMAR CHECKER - A NEW PLUG-IN IN OOo Writer
Hi Mellannie! Hard to provide feedback for something when you do not include a link to where to look at for the thing to give feedback for into your mail, isnĀ“t it ;-) mellannie rachelle reyes wrote: *Good day SIr/Ma'am* ** *I am Mellannie Reyes a Graduating BS Computer Science student of University of Santo Tomas (UST), Philippines.* ** *In behalf our group, I would like to thank you all for your help in our study entitled, "Design and Development of a Grammar Checker of the Filipino Language". Thank you for all the information that you've shared to us especially in adding a plug-in or Add-On in the OpenOffice.org.* ** *For now (March 2007) we were able to accomplish a study for developing a Grammar Checker for Filipino Language as an Add-on in the OpenOffice.org. Although this study needs some improvements, still it was able to check the grammar of simple sentences in FIlipino as well as suggest an alternative sentence for tense error sentences together with an explanation. * ** *If possible, sir/ma'am we would be very glad for any feedback (as soon as possible as a requirement for us) regarding our study.* ** *Again thank you very much.* ** *NOTE: Pls. send your feedbacks at [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] A FILIPINO GRAMMAR CHECKER - A NEW PLUG-IN IN OOo Writer
*Good day SIr/Ma'am* ** *I am Mellannie Reyes a Graduating BS Computer Science student of University of Santo Tomas (UST), Philippines.* ** *In behalf our group, I would like to thank you all for your help in our study entitled, "Design and Development of a Grammar Checker of the Filipino Language". Thank you for all the information that you've shared to us especially in adding a plug-in or Add-On in the OpenOffice.org.* ** *For now (March 2007) we were able to accomplish a study for developing a Grammar Checker for Filipino Language as an Add-on in the OpenOffice.org. Although this study needs some improvements, still it was able to check the grammar of simple sentences in FIlipino as well as suggest an alternative sentence for tense error sentences together with an explanation. * ** *If possible, sir/ma'am we would be very glad for any feedback (as soon as possible as a requirement for us) regarding our study.* ** *Again thank you very much.* ** *NOTE: Pls. send your feedbacks at [EMAIL PROTECTED]
[dev] problem in gecode integration to openoffice
Hi everybody, I'm creating a uno component to be able to solve some constraint satisfaction problems using the gecode solver. For the moment, I made a component that write in a file and then launch another process to read the file and use gecode. What I want to do is manage to integrate the whole in the component to avoid writing and reading a file. I've got two problems to do that : First : ___ In my included files, two appears to have the same name and I need the two ( /usr/include/boost/static_assert.hpp and $(HOME)/ooo-build/scratch/solver/680/unxlngi6.pro/inc/boost/static_assert.hpp) The fact is that it's the bad one that's used for gecode... Is there a way to define a priority ? Second : Avoiding this problem by delete all openoffice code in the file for gecode and by removing the -I(HOME)/ooo-build/scratch/solver/680/unxlngi6.pro/inc to compile the file, I have a error anyway that I don't really understand. Here it is : -- /usr/bin/g++ `pkg-config --libs --cflags gecode gecode-minimodel gecode-search` -DDEBUG -Wall -Os -mtune=pentium4 -I../../../source/inc -I. -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DHAVE_GCC_VISIBILITY_FEATURE -DENABLE_SCSOLVER_UNO_ALGORITHM \ -o demo.o -fPIC -fno-rtti -fno-common -export-dynamic -fvisibility=hidden ../../../source/numeric/demo.cxx /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status -- It seems that the compiler wants a main function but I don't have one... (without the demo.cxx file, my component is compiling and works fine.) Can somebody help me ? Thank your very much in advance, Mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] writer: export pages as bitmaps (e.g. PNG)
If I can add to Frank's idea of working with PDF and then processing the pdf into images. I have used the iText library with good results : http://sourceforge.net/projects/itext/ which allows you to manipulate pdf split it based on page boundaries, output each page to a different format and so on. So you could take the pdf output of writer and process it into images On 3/9/07, Frank Meies - Sun Germany - Development - Software Engineer <[EMAIL PROTECTED]> wrote: Hi Laurent, On 03/08/07 07:54, Laurent Denoue wrote: > Is there an API to export each page of a Writer document as a picture? > It's possible under Impress, as shown here: > http://www.oesf.org/forums/lofiversion/index.php/t7790.html I don't see a way to do this directly. What about using the pdf export filter and use some external tools to convert the pages to graphic files? Best regards, Frank -- Frank Meies (fme) - OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] writer: export pages as bitmaps (e.g. PNG)
Hi Laurent, On 03/08/07 07:54, Laurent Denoue wrote: Is there an API to export each page of a Writer document as a picture? It's possible under Impress, as shown here: http://www.oesf.org/forums/lofiversion/index.php/t7790.html I don't see a way to do this directly. What about using the pdf export filter and use some external tools to convert the pages to graphic files? Best regards, Frank -- Frank Meies (fme) - OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]