open office.org what is the open office.org source project? open source project through which sun...
TRANSCRIPT
![Page 1: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/1.jpg)
Open Office.Org
• What is the Open Office.org Source Project?Open source project through which Sun Microsystems is releasing the technology for the popular Star Office(tm) productivity suite.
• Name of the overall project and is being hosted by CollabNet.
![Page 2: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/2.jpg)
Features:
• downloadable sources and information
• the community and communication mechanisms for the project
• The governance body called the Open Office.org Foundation
![Page 3: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/3.jpg)
Mission
• To create an open and ubiquitous XML-based file format for office documents and to provide an open reference implementation for this format.
• XML adopted as the new native file format for the Star Office™ suite, replacing the old binary file format.
![Page 4: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/4.jpg)
Goal
• Two Fold
• Complete specification encompassing all Star Office components
• Provide an open standard for office documents
![Page 5: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/5.jpg)
Why XML?
• Ideal open standard because of the free availability of
• XML specifications• DTDs• XSL, XSLT, XLink, SVG, MathML• One single XML format can be
applied to different types of documents
![Page 6: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/6.jpg)
XML File Format Specification
• Name Spaces
• Structure
• Document Info
![Page 7: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/7.jpg)
Name Spaces
• Office
• Style
• Api
• Table
• Meta
• Draw
![Page 8: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/8.jpg)
Structure
• Element symbolizes structural components
• The structure applies to all applications
• Text,spreadsheet,drawing… all differ only by content and all are represented by the same structure
![Page 9: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/9.jpg)
Document Root
• Root – ‘document’
• XML code <office:document>
• DTD <!ELEMENT office:document
• (office:meta?,office:configs?,office:scripting?,…)>
![Page 10: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/10.jpg)
Root element Attributes
• ‘Class’ –identifies document application
• text
• on-line text
• Spreadsheet
• Drawing
• Presentation
• XML code: office:class
![Page 11: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/11.jpg)
• Version
• Gives the version of the file format
• XML code: office:version
• DTD : <!ATTLIST office:document office:version CDATA #implied>
![Page 12: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/12.jpg)
Document Information
• Title
• Author
• Document creation date
• Specified using ‘meta’ element
• XML code <office:meta>
![Page 13: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/13.jpg)
Others
• Scripting
• Forms
• Styles
• Configuration management
![Page 14: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/14.jpg)
Document Content
• ‘body’ element contains content
• XML code :<office:body>
• DTD <!ELEMENT office:body ANY>
• ‘ANY’ indicates any type of content
![Page 15: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/15.jpg)
White Space processing & EOL handling
• White spaces ignored for elements that have element contents
• Preserved by default
• Line feed & carriage return for line ends
• Entity reference 
![Page 16: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/16.jpg)
Document Validation
• If document is validated it must match the DTD
• Not appropriate to validate in following cases
1. Documents created by another version
2. Documents that contain a custom extension
![Page 17: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/17.jpg)
Why not Validate?
• Both documents may contain elements & attributes that may be unknown to the application processing the file
• Forward compatible processing rules describes how to handle such elements
![Page 18: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/18.jpg)
RULES
• Major version same as current major version & minor version same or less than current minor version then
• FCP is “DISABLED”
• The document may be validated
![Page 19: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/19.jpg)
RULES
• If major version same as current major version and minor version greater than current minor version
• FCP “ENABLED”• Document should not be validated• The same thing holds good when major
versions are not equal
![Page 20: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/20.jpg)
Preserving unknown attributes
• Attributes preserved by default• Some attributes corrupt
document.These should not be preserved
• <?staroffice:preserve excl-attrs = “….”?>
• …. Is any valid xpath expression
![Page 21: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/21.jpg)
Language element
• Language element specifies default document language
• XML Code <dc:language>
• DTD <!ELEMENT dc:language ‘language code’>
![Page 22: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/22.jpg)
DATA STYLES
• Displaying different types of data
• Number style <number:number-style>
• Currency <number:currency-style>
• Date <number:time-style>
• Boolean
• Text …
![Page 23: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/23.jpg)
HANDLING HYPERLINKS
• Hyperlinks in text documents are represented by a simple XLink
• XML Code: <text:a>
• Rules: If this element contains white-space characters, the characters are collapsed
• DTD: <!ELEMENT text:a (script:events?,(%inline-text;)*)>
![Page 24: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/24.jpg)
ATTRIBUTES
• The attributes associated with the <text:a> element are:
• Name
• Link locator
• Target frame
• Text styles
![Page 25: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/25.jpg)
NAME
• A hyperlink can have a name, but it is not essential. The name attribute specifies the name of the hyperlink if one exists.
• This name can serve as a target for some other hyperlinks.
![Page 26: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/26.jpg)
• XML –CODE text:name• DTD: <!ATTLIST text:a text:name
CDATA #IMPLIED>• Notes: This attribute is specified for
compatibility with HTML where an <a> element may serve as link source and target simultaneously
![Page 27: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/27.jpg)
Target Frame
• The target frame name of the link is specified by a ‘target- frame- name’ attribute
• XML Code: office:target-frame-name
![Page 28: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/28.jpg)
RULES
• " _self “referenced document replaces current frame
• " _blank “ referenced document displayed in a new frame
• " _parent “referenced document displayed in the parent frame of the current frame
![Page 29: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/29.jpg)
RULES
• " _top” The referenced document is displayed in the uppermost frame
• A frame name referenced document is displayed in the named frame
![Page 30: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/30.jpg)
XLINK SPECIFICATION
• xlink:show attribute is attached to the <text:a> element
• DTD: <!ATTLIST text:a office:target-frame-name CDATA #REQUIRED>
• <!ATTLIST text:a xlink:show (new|replace) "replace">
![Page 31: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/31.jpg)
Link Locator
• The location of the link (URL) is specified by a href attribute
• XML Code: xlink:href
![Page 32: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/32.jpg)
Link Locator
• DTD: <!ATTLIST text:a xlink:href %url #REQUIRED>
• <!ATTLIST text:a xlink:type (simple) #FIXED “simple”>
• <!ATTLIST text:a xlink:actuate (onRequest) “onRequest”>
![Page 33: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/33.jpg)
Text Styles
– Every hyperlink has two text styles as follows:
![Page 34: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/34.jpg)
Text Styles
– " If the link location of the hyperlink has not been visited, a certain text style is applied to the text of the hyperlink
• " If the link location of the hyperlink has already been visited, a different text style is applied to the text of the hyperlink
![Page 35: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/35.jpg)
DatabaseFields
• Display data from databases as text
• Star office databases are either tables or queries
• Every database has a name used for its identity
![Page 36: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/36.jpg)
DatabaseFields
• DTD <!ENTITY % database-table
• text:database-name CDATA # REQUIRED
• text:table-name CDATA #REQUIRED “>
![Page 37: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/37.jpg)
Displaying databases
• ‘database-display’ element used• ‘column-name’ attribute selects
selects column
• DTD <!ATTLIST text:database-display text:column-name CDATA #REQUIRED
![Page 38: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/38.jpg)
Graphic Content
• Configuring Graphic Document
• Info needs to be supplied
• Drawing
• Rectangle
• Line
![Page 39: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/39.jpg)
Graphic Content
• Polygon
• Circle
• Ellipse
![Page 40: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/40.jpg)
Rectangle
• ‘ rect’ element represents rectangular drawing shape
• DTD <!ELEMENT draw:rect text:p*>
• <!ATTLIST draw:rect %draw-position
• %draw-size
• %draw-style-name
• %draw-transform
![Page 41: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/41.jpg)
LINE
• ‘line’ element represents line • DTD <!ELEMENT draw:line text:p*>• <!ATTLIST draw:line svg:x1
%coordinate; #IMPLIED• svg:x2 %coordinate; #IMPLIED• svg:y1 %coordinate; #IMPLIED• svg:y2 %coordinate; #IMPLIED
![Page 42: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/42.jpg)
POLYGON
• XML-CODE <draw:polygon>
• DTD <!ELEMENT draw:polygon text:p*>
• <!ATTLIST draw:polygon %draw-position
• %draw-size
• draw:points %points; #REQUIRED
•
![Page 43: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/43.jpg)
TRANSFORMATION
• ‘transform’ attributes specifies list of transformations
• <draw:g> is the element
• XML CODE : svg:transform
• Value of it is a list of transform definitions separated by white spaces
![Page 44: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/44.jpg)
TRANSFORM DEFINITIONS
• Matrix(<a> <b> <c> <d> <e> <f>)
• Transformation matrix of six values
• Equivalent to [a b c d e f]
• Translate(<tx>[<ty>])
• Scale(<sx> [<sy>])
• Rotate(<rotate-angle>)
• skewX(<skew-angle>)
![Page 45: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/45.jpg)
CHARTS
• Can exist as standalone docments or as documents inside XML documents
• To create a standalone chart document
• set the value of the ‘office:class’ attribute to chart in the <office:document> element
• Chart data is contained in <table:table> element
![Page 46: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/46.jpg)
CHART INSIDE SPREADSHEET
• To reference the correct table and cells you can use the table:cell-range-address attributes, which
• are applied to the <chart:series> elements that represent the data series in the chart
![Page 47: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/47.jpg)
‘chart’ ELEMENT
• The chart element represents an entire chart, including titles, a legend , and the graphical object that visualizes the underlying data called the plot area.
• The ‘class’ attribute specifies the chart type.
![Page 48: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/48.jpg)
CLASS
• DTD: <!ENTITY % chart-class
• "(line|area|circle|ring|scatter|radar|bar|stock|bubble)">
• <!ATTLIST chart:chart
![Page 49: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/49.jpg)
CLASS
• chart:class %chart-class; #REQUIRED
• svg:width %length; #IMPLIED
• svg:height %length; #IMPLIED
• chart:style-name %style-name; #IMPLIED >
![Page 50: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/50.jpg)
DTD’S
• Office.dtd is the main DTD file
• Chart.mod
• Text.mod
• Dtypes.mod
• Meta.mod
• Datastyle.mod
![Page 51: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/51.jpg)
• Namespace.mod
• Style.mod
• Table.mod
• Office.mod
![Page 52: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/52.jpg)
Office.DTD
• %dtypes-mod;
• %nmspace-mod;
• %style-mod;
• %office-mod;
• ……
• Office.mod has the root element ‘document’
![Page 53: Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular](https://reader035.vdocuments.us/reader035/viewer/2022070307/551a5db555034643688b4a18/html5/thumbnails/53.jpg)
To-Do List
• · a validating parser component
• · a document clean and repair program
• · transformations from or into
• Open Office XML (such that they could also be used as Import or export filters for the applications)