Difference between revisions of "XML Script"

From OCAD Wiki - English
Jump to navigation Jump to search
Line 42: Line 42:
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 +
|- class="hintergrundfarbe5"
 
! Spalte 1
 
! Spalte 1
! Spalte 2
+
! style="min-width: 10em; max-width: 10em;"| Spalte 2
! Spalte 3
+
! style="min-width: 10em; max-width: 10em;"| Spalte 3
 +
! Spalte 4
 
|-
 
|-
| 12346
+
| 1
| € 234,44
+
{{SortKeyColspan |colspan=2 |width=10 |key=2}}
| fghij
+
| 5
 
|-
 
|-
| 98765
+
| 2
| € 77,55
+
| 1
| abcde
+
| 5
 +
| 4
 +
|-
 +
| 3
 +
{{SortKeyColspan |colspan=2 |width=10 |key=3}}
 +
| 3
 +
|-
 +
| 4
 +
{{SortKeyColspan |colspan=2 |width=10 |key1=5 |key=1}}
 +
| 2
 +
|-
 +
| 5
 +
{{SortKeyColspan |colspan=2 |width=10 |key=4}}
 +
| 1
 +
|}{| class="wikitable sortable"
 +
|- class="hintergrundfarbe5"
 +
! Spalte 1
 +
! style="min-width: 10em; max-width: 10em;"| Spalte 2
 +
! style="min-width: 10em; max-width: 10em;"| Spalte 3
 +
! Spalte 4
 +
|-
 +
| 1
 +
{{SortKeyColspan |colspan=2 |width=10 |key=2}}
 +
| 5
 +
|-
 +
| 2
 +
| 1
 +
| 5
 +
| 4
 +
|-
 +
| 3
 +
{{SortKeyColspan |colspan=2 |width=10 |key=3}}
 +
| 3
 +
|-
 +
| 4
 +
{{SortKeyColspan |colspan=2 |width=10 |key1=5 |key=1}}
 +
| 2
 +
|-
 +
| 5
 +
{{SortKeyColspan |colspan=2 |width=10 |key=4}}
 +
| 1
 
|}
 
|}
 
  
 
Previous Chapter: [[Chapter 17: Database]]
 
Previous Chapter: [[Chapter 17: Database]]

Revision as of 13:54, 4 October 2011

(This function is only available in OCAD Professional!)

Choose this command to execute functions whose settings are defined in a XML file.

http://www.ocad.com/Whitepaper/Ocad10_Xml_Script_Specification.pdf

Example of XML script file:

<ocadScript>
<exportScript>
<export id="3">
<file>c:\export\exportfile.bmp</file>
<format>BMP</format>
<resolution>300</resolution>
<anti-alias>true</anti-alias>
<colorCorrection>true</colorCorrection>
<partialMap>
<enabled>false</enabled>
</partialMap>
<tiles>
<enabled>true</enabled>
<width>500</width>
<height>500</height>
</tiles>
</export>
</exportScript>
</ocadScript>



1. Introduction

Select Execute XML Script from File menu.


==2. XML Script General

File


Spalte 1 Spalte 2 Spalte 3 Spalte 4
1

Template:SortKeyColspan

5
2 1 5 4
3

Template:SortKeyColspan

3
4

Template:SortKeyColspan

2
5

Template:SortKeyColspan

1

{| class="wikitable sortable"

|- class="hintergrundfarbe5" ! Spalte 1 ! style="min-width: 10em; max-width: 10em;"| Spalte 2 ! style="min-width: 10em; max-width: 10em;"| Spalte 3 ! Spalte 4 |- | 1 Template:SortKeyColspan | 5 |- | 2 | 1 | 5 | 4 |- | 3 Template:SortKeyColspan | 3 |- | 4 Template:SortKeyColspan | 2 |- | 5 Template:SortKeyColspan | 1 |}

Previous Chapter: Chapter 17: Database

Next Chapter: Chapter 19: Course Settings for Orienteering

Back to Help:Contents