Pergunte aqui

Perfil de roy - atividade

2015-11-10 06:52:47 +0200 Medalha recebida  Pergunta famosa (fonte)
2014-01-08 19:13:33 +0200 Medalha recebida  Pergunta famosa (fonte)
2013-10-06 23:07:11 +0200 Medalha recebida  Professor (fonte)
2013-10-05 16:16:52 +0200 Medalha recebida  Pergunta notável (fonte)
2013-10-05 13:31:43 +0200 Resposta comentada Set text boundaries to zero

although I am not sure if you wanted a script for that. alternatively just save the file as a template, so you don't need to do this each time.

2013-10-05 13:29:47 +0200 Respondeu uma pergunta Set text boundaries to zero

if you display the ruler, then set the ruler marker all the way to the left it worked for me. (then just hide the ruler again).

New Bitmap Image.png

2013-10-05 09:51:37 +0200 Medalha recebida  Pergunta popular (fonte)
2013-10-05 08:15:21 +0200 Respondeu uma pergunta how does this work? an official Libreoffice 4.1 sample js file imports and uses java code?

ill have a look at the code, I just thought i'd pop in a post to see if anyone would give an overview.

2013-10-05 07:40:49 +0200 Medalha recebida  Acadêmico (fonte)
2013-10-05 07:40:31 +0200 Resposta comentada Could LibreOffice have a tab on its draw program that previews .svg images in firefox (if installed)?

thanks for the info.

2013-10-05 07:39:31 +0200 Medalha recebida  Pergunta notável (fonte)
2013-09-30 08:33:08 +0200 Medalha recebida  Pergunta popular (fonte)
2013-09-29 06:00:38 +0200 Respondeu uma pergunta AutoCAD .dwg

I can see that QCad has the file extension 'dwg' in its "open file" dialog.

I only have the free version of QCad ( it is open source) but it installs with the "trial" addon's which include DWG.

if it works: it seems that the full cost would be EUR 32.00.

not sure if it is the best solution, but it looks fairly good - at least you can see if it works first!

2013-09-29 05:43:27 +0200 Perguntou Could LibreOffice have a tab on its draw program that previews .svg images in firefox (if installed)?

as the heading says:

is this is good idea? could libreoffice have a tab on its draw program that previews .svg images in firefox (if installed)

I think it might be a good idea, because svg files can include js that build part of the image when it is loaded, so it might be nice to preview how the modifications effect the svg file w/o needing to switch programs at each edit.

comments welcome.

(another idea might be if something like draw or inkscape, be implemented as a third tab to a program like aptana so it has: manual source editing, draw visually, and preview - that would be a plus for aptana.)

2013-09-29 05:29:37 +0200 Medalha recebida  Editor (fonte)
2013-09-29 05:19:31 +0200 Perguntou how does this work? an official Libreoffice 4.1 sample js file imports and uses java code?

Hi, the sample script I am referring to is in the default installation of LibreOffice:

File:"exportsheetstohtml.js" Location: "C:\Program Files\LibreOffice 4\share\Scripts\javascript\ExportSheetsToHTML\"

I was just wondering if there is a software design document explaining how several script languages are implemented.

explaining things like:

(1) how does this work? the above sample js file imports java code, and then uses the java methods throughout the js script?

(1.a) if the js code is runs as a new process, or in a new thread to affect the current document,

(1.b) what language does libreoffice use to parse and run the scripting languages? (ie does libreoffice actually use the 'official' script compiler/interpreters engines for (js, py), or does libreoffice use a language like C++ just read the script, then convert it straight to a a C++ command, then run it?

(2) if the js engine (not the js libreoffice api) was made by libreoffice, or if it uses something like the mozilla rhino js engine, or another one.

(3) I can see that there is a python libreoffice api - which could be used outside of a macro I assume. I was thinking, Is it possible to use a general IDE (external to libreoffice) to run some js code on a libreoffice document or set of documents in a folder? ( I am just thinking out loud, trying to build a mental picture, sorry if this is a silly question). if so, does anyone have some tips to set this up on an IDE like eclipse, or Code::Blocks?

Thanks to the person/s who can give me some info, so I can get a good mental picture of how the scriping engines are implemented, and work from a software developer perspective.