Difference between revisions of "VML"

From Apache OpenOffice Wiki
Jump to: navigation, search
(WordprocessingML Text Box: (checkpoint save))
(WordprocessingML OfficeArt Shapes)
Line 8: Line 8:
 
=== WordprocessingML OfficeArt Shapes ===
 
=== WordprocessingML OfficeArt Shapes ===
  
 +
Office Art shape is defined as a template-based shape in VML.
 +
 +
For example:
 +
We have 2 shapes in Word 2007, as below:
 +
 +
[[File:Template-BasedShape.png]]
 +
 +
And the OOXML description for this part is as below:
 +
 +
[[File:Tem-BaseShapeXML.png]]
 +
 +
In the OOXML file, the <v:shapetype> defines the shape's path information, and the <v:shape> defines style related information, and also the property type defined in <v:shape> means current shape refer to which of the shape type definition.
 +
And also, different shape in one document may refer to the same shape type if they have same layout, but with different style only.
  
 
=== SpreadsheetML Comments ===
 
=== SpreadsheetML Comments ===

Revision as of 07:25, 31 August 2012

VML is a language for defining graphical objects in cases where DrawingML does not apply in Office Open XML, such as text boxes and shapes in WordprocessingML and comments and controls in SpreadsheetML.

VML is a legacy format originally introduced with Office 2000 and is existing mainly for backwards compatibility reasons. The DrawingML format is a newer and richer format created with the goal of eventually replacing any uses of VML in the Office Open XML formats.

VML Usage in the Office Open XML Format

WordprocessingML OfficeArt Shapes

Office Art shape is defined as a template-based shape in VML.

For example: We have 2 shapes in Word 2007, as below:

Template-BasedShape.png

And the OOXML description for this part is as below:

File:Tem-BaseShapeXML.png

In the OOXML file, the <v:shapetype> defines the shape's path information, and the <v:shape> defines style related information, and also the property type defined in <v:shape> means current shape refer to which of the shape type definition. And also, different shape in one document may refer to the same shape type if they have same layout, but with different style only.

SpreadsheetML Comments

WordprocessingML Text Box

Vml details

Personal tools