Archive for Developer 101

Symphony Thursday: Developer 101 - Presentations "Hello World"

February 26 2009

Symphony Thursday: Developer 101 1. Introduction to UNO Development and Documents/Writer "Hello World" 2. Spreadsheets"Hello World" 3. Presentations "Hello World" Last time, I covered the basics of UNO Development and walked you thru a "Hello World" application for OpenOffice.org Writer and Lotus Symphony Documents. This blog entry will cover an introduction to OpenOffice.org Impress and Lotus Symphony Presentations. Introduction to Lotus Symphony Presentations In both Impress and Symphony Presentations, you work with presentations. From there, you work with slides / pages. On each of those slides / pages, you have shapes. The shapes contain text, graphics, or the other data on your slides. Once you navigate to the shape, you get a text handle to the text object and everything else is much like working with text in Symphony Documents or Writer. Let’s Start Lotus Symphony Presentations To create the instance of Impress / Lotus SYmphony Presentations, call its URL Set I

Symphony Thursday: Developer 101 - Spreadsheets "Hello World"

February 19 2009

Symphony Thursday: Developer 101 1. Introduction to UNO Development and Documents/Writer "Hello World" 2. Spreadsheets"Hello World" Last time, I covered the basics of UNO Development and walked you thru a "Hello World" application for OpenOffice.org Writer and Lotus Symphony Documents. This blog entry will cover an introduction to OpenOffice.org Calc and Lotus Symphony Spreadsheets. Introduction to Lotus Symphony Spreadsheets Just like we did with Lotus Symphony Documents, we have to call the Service Manager and the Desktop. Set SM=CreateObject("com.sun.star.ServiceManager") Set Desktop=SM.createInstance("com.sun.star.frame.Desktop") Next, we need to start the Calc / Spreasheets appplication. They use a different URL to define the application, one specific for Calc / Presentations. Set CalcApplication = Desktop.loadComponentFromURL_("private:factory/scalc","_blank",0,args) The command above creates the workbook and opens it for the user. We then need to get the

Symphony Thursday : Developer 101 - Introduction to UNO Development and Documents/Writer "Hello World"

February 5 2009

This is the first of the Symphony Thursday developer articles. In this post, we will cover the introduction to UNO development, a bit of history, and our first "Hello World" application. Introduction to OpenOffice.org Development Designed on an interface-based component model called Universal Network Objects (UNO) UNO definition UNO offers interoperability between different programming languages, different object models, different machine architectures, and different processes; either in a local network or even via the Internet UNO components can be implemented in, and accessed from, any programming language for which a UNO language binding exists OpenOffice.org? StarOffice? Lotus Symphony? StarDivision StarOffice written in the mid 80s Bought by Sun Microsystems in 1999, StarOffice released in August 1999 Source code released October 2000 OpenOffice.org 1.0 released May 2002, 2.0 in October 2005 OpenDocument format becomes international standard ISO/IEC 26300 November 20