2 Redesign of accelerators to support extensions Wu Yan Zhang Xiaofei Framework Developers RedFlag2000 SOFTWARE,CO.,LTD.

Slides:



Advertisements
Similar presentations
Easily retrieve data from the Baan database
Advertisements

Unveiling ProjectWise V8 XM Edition. ProjectWise V8 XM Edition An integrated system of collaboration servers that enable your AEC project teams, your.
JAXB Java Architecture for XML Binding Andy Fanton Khalid AlBayat.
Eclipse Introduction Dwight Deugo Nesa Matic
New uPortal Contributions from the University of Wisconsin-Madison Jim Helwig University of Wisconsin-Madison Eric Dalquist Unicon, Inc. JA-SIG December.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
Collaborative Information Systems for Student Projects Chapter Extension 2.
Microsoft Visual Source Safe 6.01 Microsoft Visual Source Safe (MVSS) Presented By: Rachel Espinoza.
User Group 2015 Version 5 Features & Infrastructure Enhancements.
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
Inti Online Login Page (Lecturer/Student/Administrator View)
COMP-14: Automating your deployments using ANT Gary S Clink Business Consultant.
Computer Literacy Chapter 12: Working with Documents – The Basics Chapter 12: Working with Documents – The Basics Computer Literacy.
© 2005 by IBM; made available under the EPL v1.0 | May 19, 2005 Tim deBoer WTP Server Tools Open House.
New uPortal Contributions from the University of Wisconsin-Madison Jim Helwig University of Wisconsin-Madison Eric Dalquist Unicon, Inc. JA-SIG December.
The SharePoint Shepherd’s Course for End Users Based on the book by Robert L. Bogue Copyright 2011 AvailTek LLC All Rights Reserved.
Selected Topics in Software Engineering - Distributed Software Development.
Digital curation activities enhance access and retrieval, maintain quality, add value, and facilitate use and re-use over time. This poster demonstrates.
1 1 CAM Toolkit for NIEM IEPD Development Phil Letowt – DHS/ICE David Webber – ICE Data Architect.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary June, 2011 Made available under the Eclipse Public License v Mobile.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Google Refine for Data Quality / Integrity. Context BioVeL Data Refinement Workflow Synonym Expansion / Occurrence Retrieval Data Selection Data Quality.
In the Labs… X-Bot 2003 by Overtech Technologies.
Extending & Customizing XNAT with Modules Rick Herrick
WCL303 Business Desktop Deployment (BDD) 2007: Part 2, Deploying the 2007 Office system Michael Niehaus Systems Design Engineer Microsoft
Package & Deploy. OBJECTIVES Package Deploy Way to package.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
NETWORK VISUALIZATION ABHISHEK KUMAR (2011CS50272)
Longhorn Search and Organize User And Developer Experience Paul Cutsinger – Lead Program Manager Kerem Karatal – Lead Program Manager Microsoft Corporation.
LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Lookup Service Kuba Zajączkowski Chi-Wei Wang.
Less Paper, More Power. Document Digitization and Management Solution. digipaper.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Records Management 2.0 Tips and Tricks Kevin Dorr Sr. Solutions Engineer Americas Channel.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
1 Digital Signatures – A Global Challenge Joachim Lingner Software Engineer Sun Microsystems 1.
1 Workshop - ODFDOM Lars Behrmann Frank Meies Svante Schubert Sun Microsystems, Hamburg 1.
Improving ODF applications by sharing ODF tests Svante Schubert Software Engineer Sun Microsystems Inc.
1 Niklas Nebel Sun Microsystems NEW FEATURES IN CALC
XML Based Filters ● Svante Schubert – Co-Lead XML OpenOffice.org – StarOffice/OpenOffice.org ● Sun Microsystems.
10 Questions and Answers about.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
Integrating CMS/DMS into OpenOffice Michael E. Bohn Consultant Office Migration Sun Microsystems GmbH.
Office 365 Development July 2014.
Section 2.1 Section 2.2 Identify hardware
ODF API - ODFDOM Svante Schubert Software Engineer
Backdooring enemies with a Proxy …..
Product Training Program
RedOffice4.5 UI Implementation
Easily retrieve data from the Baan database
SAP Business One B1iF Training
Using a template to create a document
Office Open XML Formats: Enabling Solutions
Enterprise Library Overview
Dynamic Web Page A dynamic web page is a kind of web page that has been prepared with fresh information (content and/or layout), for each individual viewing.
OpenOffice. org Extensions Infrastructure What it is –. What it can –
Populating a Data Warehouse
Intro to Unit Testing with tSQLt
Genome Workbench Chuong Huynh NIH/NLM/NCBI New Delhi, India
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
SSDT and Database Project Basics
Presents: Rally To Java Conversion Suite
Entity Framework Code-First Migrations
The JSF Tools Project – WTP (internal) release review
Dongwhan Kim Annie Zhao Steven Lawrance
SSIS Data Integration Data Warehouse Acceleration
SSIS Data Integration Data Warehouse Acceleration
SSIS Data Integration Data Warehouse Acceleration
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

2 Redesign of accelerators to support extensions Wu Yan Zhang Xiaofei Framework Developers RedFlag2000 SOFTWARE,CO.,LTD

3 Content ● About the Speakers ● Current XML based accelerators configuration ● Designing the new configuration ● The practice ● Summary

4 About the Speakers ● Wu Yan: Started working in RedFlag2000 framework team since 2006, focusing on OOo configuration. ● Zhang Xiaofei: Started working in RedFlag2000 framework team since ● A special thanks to Andreas Schluens, who mentored us over this work.

5 ● Current XML based accelerators configuration ● Accelerators in OOo: – In OpenOffice.org2.0, over 1,000 accelerators are assigned by default to access OOo core functionalities. – They make operations much simpler and improve the work efficiencies. –... and they can be easily customized from GUI:

6 OOo customization GUI

7 Current XML based accelerators configuration(cont'd) ● What can the current do – Provide accelerators defined for all OOo modules – Provide module depending accelerators – Provide user defined accelerators placed inside the ZIP storage of ODF format

8 Current XML based accelerators configuration(cont'd) ● Then why improve it – The strength of the current OOo accelerators is limited within the core functionalities. – No means for extension developers to assign accelerators of their own.

9 Current XML based accelerators configuration(cont'd) ● What causes the tragedy – The configuration is structured by the physical organization of files and folders – XML files do not contain information about the structure of configuration

10 Organization of XML files and folders

11 Example: default.xml

12 Current XML based accelerators configuration, illustrated by Andreas Schluens

13 Current XML based accelerators configuration(cont'd) ● 3 fix, non-configurable layer – Shared – User defined – Document based accelerators are optional ● Know – which files must be loaded from disk – how these files should be merged together ● Accelerators can't be extended

14 Designing the new config. ● Bring OOo configuration management components into this – Provides a unified interface to get and set OOo configuration data – Organizes the configuration data in a hierarchical structure – Configuration can be merged together at runtime

15 Designing the new config.(cont'd) ● what the new configuration will be like – XCS(for the schema)/XCU(for data files) based – Use the UNO API to access the configurations – Note: legacy doc configs are still XML based

16 Designing the new config.(cont'd) ● Define the configuration schema: An initial design

17 Designing the new config.(cont'd) ● Define the configuration schema: the final version

18 Designing the new config.(cont'd) ● What an XCU configuration looks like

19 Designing the new config.(cont'd) The new design of accelerators configuration,illustrated by Andreas Schluens

20 Designing the new config.(cont'd) ● Extension developers could extend accelerator configuration for his/her extension with XCU

21 The practice ● What I worked on before this – Fixed some UI(Menubar,toolbar,accelerator) Bugs – Refactored configuration Items: HistoryOptions, UserOptions... ● Use Configuration API to read/write config. ● Wrote UNO API tests for configItems

22 The practice(cont'd) ● Step1: Rework the core code to enable reading/writing XML/XCU files – Load configuration data to accelerator cache – Save the changes of accelerator cache to configuration – Support reading/writing accelerators inside document using XML parser

23 The practice(cont'd) ● Step2: Migrate old XML conifg. data to XCU – ~50 XML files, >1000 accelerators – Write OOo basic script to accomplish this, using ● Storage API ● Accelerators API ● Configuration API

24 The practice(cont'd) ● Step3: Testing the new config. – Write UNO API test

25 The practice(cont'd) ● Step4: Documentation – Plan to add a new chapter to the Developer's Guide – If extension developers don't know how to use, all the works are in vain!

26 The practice(cont'd) ● Example – Give the Writer's Tools some acceleration! ● Writer's Tools: help users perform a wide range of tasks as an extension ● Define a Accelerators.xcu ● Insert the xcu file into the package ● Now we can call 'Lookup Tool' with Shift+Ctrl+L, and call the 'Google Search' with Shift+Ctrl+G

27 macro:///WriterTools.Tools.LookupTool macro:///WriterTools.Tools.GoogleTranslate

28 Accelerators are extended by Writer's Tools

29 Summary ● XML based accelerators configuration ● XCS/XCU based accelerators configuration ● Joys from OOo community – Contribution – Harvest ● Working in OpenOffice.org is fun.

30