PHP & More

A technical blog about programming in PHP and about technology in general: programming, workarounds and troubleshooting

In the post LibreOffice Javascript, I wrote about Rhino Javascript, which is a Javascript interpreter written in Java. This tool has been developed by Mozilla. With this tool you can instantiate Java classes and to access them via Javascript commands ‘importClass’ and ‘importPackage’. How to ass classes and packages you can load ? This is …

Continue reading

There are other languages in which you can write LibreOffice macros. One of them is Javascript. If you’ve installed the package “libreoffice-script-provider-js”, you can write Javascript macros. In Linux’ you can use apt-get or rpm to install it. Javascript macros can be edited from LibreOffice, and is ready to run without compilation. .In the Developer …

Continue reading

I think using a spreadsheet document for Sudoku and Kakuro puzzles is great because those documents contain cells where you can place your content: numeric value and text. As you probably know, Kakuro puzzles have squares split by diagonal lines into triangles. The cells split into triangles are not provided by the office suite and …

Continue reading