mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
fix: make every demo's document valid, and check them all with the Open XML SDK validator (#3543)
* fix(demos): give each image its type, and each revision in demo 98 an id of its own ImageRun's type is required, but 11 demos left it out. The image was then written as <hash>.undefined, which isn't in the package's content types, so Word can't open it and the Open XML SDK validator stops there. The demos now give the type of the file or base64 data they read, as demos 5 and 114 do. Demo 98 gave the same revision id to each mark of one change, such as every cell of an inserted row. Word needs each w:ins, w:del, w:cellIns, w:cellDel and property change to have an id of its own, so they are now numbered in order. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(shapes): write a custom dash or gap of 0 as the smallest length Office accepts A custom dash of length 0 with round caps draws dots, as demo 111 does. ISO allows a:ds d="0", but Office's schema wants d and sp to be at least 1, so the Open XML SDK validator rejected it. A dash or gap of 0 is now written as 1, a thousandth of a percent of the line width. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(numbering): write a level's alignment as left, center or right Office's schema only allows left, center and right in w:lvlJc, where a paragraph's w:jc takes every AlignmentType. Levels default to AlignmentType.START, so every numbering part failed the Open XML SDK validator. A level's alignment is now written as Office allows: START and the justified alignments as left, END as right. The alignment option's type is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(numbering): write a level's children in the schema's order A level wrote w:suff before w:isLgl, and w:pStyle after w:lvlJc. CT_Lvl puts w:pStyle after w:numFmt, and w:isLgl before w:suff, so a level with a paragraph style, or with legal numbering and a suffix, didn't match the schema. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(demos): write demo 19's base64 string as the document it encodes Demo 19 wrote the base64 text itself to My Document.docx, which isn't a document, so Word can't open the file and it can't be checked. It now decodes the string before writing it, which also shows that the string is the whole document. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix: write paragraph borders in the schema's order Paragraph borders were written top, bottom, left, right, where CT_PBdr wants top, left, bottom, right, between. Word files with left or right paragraph borders didn't match the schema, which the Open XML SDK reports as an unexpected element. Table, cell and page borders were already in their schemas' order. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix: stop writing w:highlightCs, which is in no schema Every highlight was written twice: as w:highlight and as w:highlightCs. There is no w:highlightCs in WordprocessingML, so documents with highlighted text didn't match the schema, and the Open XML SDK reports it as an invalid element in the run properties. w:highlight already highlights all of a run's text, complex script included. highlightComplexScript is kept, deprecated, and has no effect. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix: write tab stop positions as whole twips A tab stop's position was written as given, so one worked out as a fraction, such as TabStopPosition.MAX / 4 * 3 (6769.5), was written as a decimal. w:pos is ST_SignedTwipsMeasure, a whole number of twips, so the document didn't match the schema. Positions are now rounded down, as indents already are. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix: write shading without a pattern as clear shading w:shd's w:val is required, but shading given only a fill or a color, with no type, was written without it. The document didn't match the schema, and the Open XML SDK reports a missing required attribute. Shading with no type is now written with w:val="clear", the fill color only, which is what Word writes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(fonts): write an embedded font's key in upper case w:fontKey is an ST_Guid, whose pattern only allows upper-case hex digits, but the key docx generates is lower case, so the Open XML SDK validator rejected the font table of every document with an embedded font. The key is now written in upper case. The font is obfuscated with the same bytes either way, since the obfuscation reads the hex digits in either case. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(textbox): stop writing insetmode on a VML text box A VML text box was written with insetmode="auto", without the o: prefix it needs. With the prefix, the Open XML SDK validator still rejects it, as Office only takes o:insetmode on the shape. It's no longer written: its default, custom, uses the inset attribute, which defaults to Word's usual margins when it's left out, as it always is for a text box. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(patcher): put merged run properties in the schema's order With keepOriginalStyles, a patched run that has run properties of its own takes the placeholder's too. They were written with the placeholder's first and the run's after, so a run with a font whose placeholder had a size got w:sz before w:rFonts. ISO 29500 allows any order, but Office's schema doesn't, and the Open XML SDK validator rejected demo 89. The merged properties are now put in Office's order: CT_RPr's elements, then Word 2010's text effects and OpenType features, then any it doesn't know, then w:rPrChange. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(styles): write each style id once, and the document defaults first Two styles could share an id, which a styles part doesn't allow: - with externalStyles, docx's default styles were written in front of the external ones, so a style such as Heading1 was there twice, as were w:docDefaults. The external w:docDefaults and w:latentStyles also came after docx's styles, where CT_Styles wants them first; - a paragraph or character style with a default style's id, such as Heading2, was written after the default one instead of replacing it. Styles now writes the document defaults, then the latent styles, then the styles, and a style replaces an earlier one with its id. So external styles take the place of docx's default styles, docx's fill in the ones they leave out, and paragraph and character styles take the place of the default ones. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(settings): write the settings in the schema's order w:evenAndOddHeaders and w:updateFields were written before w:defaultTabStop and the hyphenation settings, and w:hyphenationZone before w:consecutiveHyphenLimit, where CT_Settings wants them after. Word's validator rejected settings.xml whenever a default tab stop or hyphenation was set, as in demo 75. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(settings): write the compatibility mode last in w:compat w:compatSetting was written first in w:compat, where CT_Compat puts it after every other element, so a document with any compatibility option, as in demo 76, didn't match the schema. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(sections): write a section's previous properties after the document grid w:sectPrChange was written before w:docGrid, where CT_SectPr puts it after every other element, so a section with a tracked change, as in demo 98, didn't match the schema. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(tables): write a floating table's overlap beside w:tblpPr The float option's overlap was written as w:tblOverlap inside w:tblpPr, which CT_TblPPr doesn't allow children in, so a floating table with an overlap, as in demo 34, didn't match the schema. It's now written in w:tblPr right after w:tblpPr, where CT_TblPrBase puts it. createTableFloatProperties no longer writes it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(tables): write a row's cantSplit and tblHeader, and a table's bidiVisual, as off when false These were written as w:val="false". ISO allows that, but Office's schema only takes on and off for them, so Word's validator rejected a row with cantSplit or tableHeader set to false, as in demo 98's row revision, and a table with visuallyRightToLeft set to false. Off is now written as "off", which both schemas accept. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(tables): write a table's cell spacing after its alignment w:tblCellSpacing was written last in w:tblPr, after w:tblLook, where CT_TblPrBase puts it between w:jc and w:tblInd. Word's validator rejected any table with cellSpacing and another property after it, such as the borders every table has. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(math): write sums, integrals and pre-scripts in the schema's order - A sum or integral without a limit left out its m:sub or m:sup. CT_Nary needs both, so a hidden limit is now written empty, as Word writes it - m:naryPr wrote supHide before subHide; the schema wants subHide first - m:sPre wrote the base before the scripts; the schema wants sub, sup, e The other math structures already match shared-math.xsd. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix: write a run given in a run's children beside it, not inside it A FootnoteReferenceRun in a TextRun's children, as demo 60 has, wrote a w:r inside a w:r, which the schema doesn't allow. - A run with a run in its children now ends before it. The inner run, such as the footnote reference with its own style, comes next, and the children after it go in a run with the outer run's properties, as Word writes it - The same goes for a DeletedTextRun's children - A component can now be written as several side by side (writtenAs), which the serializer and the patcher use for such a run Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * ci: check the demos with the Open XML SDK validator, with none left out Every demo's document now passes Microsoft's Open XML SDK validator, which checks each part against Office's schemas, so the demos are checked with it instead of xmllint, and the list of demos left unchecked is gone. xmllint only checked document.xml and the theme against the bundled schemas, which are Word 2007's: they don't declare the Word 2010 extensions that templates and shapes use (w14:paraId, w14:checkbox, wps, wpg, mc:AlternateContent), so 26 demos weren't checked at all. The validator understands them, checks every part, and found the bugs fixed before this. The validator is 80 MB, so it's installed only in this workflow rather than as a dependency. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(styles): let the default styles given in styles.default take the place of external ones With externalStyles, a default style given in styles.default, such as heading1, or the document defaults given as document, was replaced by the external style with its id, so the option did nothing. Now the external styles replace only the default styles that weren't given, and the ones given replace the external ones. Before, both were written, the default one first. ISO 29500 has the first of two styles with an id keep it, so the style given in styles.default was the one that applied, as it is again. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(tables): write a cell's merge revision before its previous properties w:cellMerge was written after w:tcPrChange, where CT_TcPr puts it before, so a cell with both a merge revision and a property revision didn't match the schema, which the Open XML SDK validator reports as an unexpected element. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(numbering): leave highlight, math and revision out of a level's run properties Office's schema doesn't allow w:highlight, w:oMath or w:rPrChange in a numbering level's run properties, so the Open XML SDK validator rejected the numbering part of a document whose level's run style had a highlight. None of them applies to a level's number, so they're no longer written. The option's type is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * fix(demos): make parrots.bmp a bitmap demo/images/parrots.bmp, the bitmap demos 5, 23 and 114 show, held PNG data, so those documents had a part typed image/bmp that wasn't a BMP. It's now the same picture as a 24-bit BMP, with the same pixels. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ * Add schemas and validators * Fix dependencies --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
+14
-15
@@ -18,27 +18,26 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: "./.github/actions/install-and-build"
|
||||
- name: Install xmllint
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends libxml2-utils
|
||||
# Each shard runs every fourth demo, and checks the document it writes against the bundled schemas
|
||||
# Microsoft's Open XML SDK validator. It's installed only here, as it is 80 MB
|
||||
- name: Install the Open XML SDK validator
|
||||
run: npm install --no-save --no-audit --no-fund @xarsh/ooxml-validator@0.3.0
|
||||
# Each shard runs every fourth demo, and checks the document it writes with the Open XML SDK validator, which
|
||||
# checks every part against Office's schemas, including Word 2010's extensions. It's checked as each version of
|
||||
# Office since 2010 reads it: older versions skip the newer extensions and read their fallbacks. Office 2007 is
|
||||
# left out, as it only knows the standard's first edition, from before ISO/IEC 29500, and rejects what Word
|
||||
# itself writes.
|
||||
# The validator checks only the first file it's given (each demo writes one), and its option is
|
||||
# --officeVersion, not the --office-version its README gives. It reads a version it doesn't know as Microsoft365
|
||||
- name: Run and validate the demos
|
||||
shell: bash
|
||||
env:
|
||||
# Demos whose document doesn't match the bundled schemas yet. Demo 19 writes the document as base64
|
||||
SKIP_VALIDATION: 19 34 55 60 61 75 85 87 88 89 90 96 98 99 107 108 109 110 111 112 113 115 116 117 118 120
|
||||
run: |
|
||||
for demo in $(ls demo/[0-9]*.ts | sort -V | awk -v n=${{ strategy.job-total }} -v i=${{ strategy.job-index }} 'NR % n == i'); do
|
||||
echo "::group::$demo"
|
||||
rm -f ./*.docx
|
||||
npm run --silent run-ts -- "$demo"
|
||||
if [[ " $SKIP_VALIDATION " == *" $(basename "$demo" | cut -d- -f1) "* ]]; then
|
||||
echo "Not validated"
|
||||
else
|
||||
docx=(./*.docx)
|
||||
unzip -p "${docx[0]}" word/document.xml | xmllint --noout --schema ooxml-schemas/microsoft/wml-2010.xsd -
|
||||
unzip -p "${docx[0]}" word/theme/theme1.xml | xmllint --noout --schema ooxml-schemas/ISO-IEC29500-4_2016/dml-main.xsd -
|
||||
fi
|
||||
for version in Office2010 Office2013 Office2016 Office2019 Office2021 Microsoft365; do
|
||||
echo "$version"
|
||||
npx ooxml-validator ./*.docx --officeVersion "$version"
|
||||
done
|
||||
echo "::endgroup::"
|
||||
done
|
||||
|
||||
@@ -14,10 +14,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: "./.github/actions/install-and-build"
|
||||
- name: Install xmllint
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends libxml2-utils
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
# The pinned LibreOffice and fonts the reference images were drawn with
|
||||
- name: Build the image the pages are drawn in
|
||||
|
||||
@@ -222,6 +222,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -271,6 +272,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -286,6 +288,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -11,6 +11,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 50,
|
||||
@@ -22,6 +23,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -33,6 +35,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 250,
|
||||
@@ -44,6 +47,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 400,
|
||||
|
||||
@@ -12,6 +12,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "png",
|
||||
data: Buffer.from(imageBase64Data, "base64"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -26,5 +26,6 @@ const doc = new Document({
|
||||
});
|
||||
|
||||
Packer.toBase64String(doc).then((str) => {
|
||||
fs.writeFileSync("My Document.docx", str);
|
||||
// The string can be sent on as it is, such as in a data URI. Decoded, it is the document
|
||||
fs.writeFileSync("My Document.docx", Buffer.from(str, "base64"));
|
||||
});
|
||||
|
||||
@@ -13,6 +13,7 @@ const doc = new Document({
|
||||
children: [
|
||||
new TextRun("Hello World"),
|
||||
new ImageRun({
|
||||
type: "bmp",
|
||||
data: fs.readFileSync("./demo/images/parrots.bmp"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -24,6 +25,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -35,6 +37,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "png",
|
||||
data: fs.readFileSync("./demo/images/dog.png"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -46,6 +49,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/cat.jpg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -57,6 +61,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "bmp",
|
||||
data: fs.readFileSync("./demo/images/parrots.bmp"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -68,6 +73,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "png",
|
||||
data: Buffer.from(imageBase64Data, "base64"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -35,6 +35,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -98,6 +98,7 @@ const doc = new Document({
|
||||
new ExternalHyperlink({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -31,6 +31,7 @@ const table = new Table({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -12,6 +12,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -23,6 +24,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -34,6 +36,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -20,6 +20,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 200,
|
||||
|
||||
@@ -27,6 +27,7 @@ const table = new Table({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "png",
|
||||
data: Buffer.from(imageBase64Data, "base64"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -49,6 +50,7 @@ const table = new Table({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "jpg",
|
||||
data: fs.readFileSync("./demo/images/image1.jpeg"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -12,6 +12,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
@@ -29,6 +30,7 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
children: [
|
||||
new ImageRun({
|
||||
type: "gif",
|
||||
data: fs.readFileSync("./demo/images/pizza.gif"),
|
||||
transformation: {
|
||||
width: 100,
|
||||
|
||||
@@ -35,7 +35,7 @@ const doc = new Document({
|
||||
alignment: AlignmentType.CENTER,
|
||||
heading: "Heading1",
|
||||
revision: {
|
||||
id: 10,
|
||||
id: 0,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
alignment: AlignmentType.LEFT,
|
||||
@@ -70,7 +70,7 @@ const doc = new Document({
|
||||
children: [new TextRun("Inserted row cell")],
|
||||
run: {
|
||||
insertion: {
|
||||
id: 0,
|
||||
id: 1,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -84,7 +84,7 @@ const doc = new Document({
|
||||
children: [new TextRun("Inserted row cell")],
|
||||
run: {
|
||||
insertion: {
|
||||
id: 0,
|
||||
id: 2,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -94,7 +94,7 @@ const doc = new Document({
|
||||
}),
|
||||
],
|
||||
insertion: {
|
||||
id: 0,
|
||||
id: 3,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -107,7 +107,7 @@ const doc = new Document({
|
||||
children: [new TextRun("Deleted row cell")],
|
||||
run: {
|
||||
deletion: {
|
||||
id: 1,
|
||||
id: 4,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -121,7 +121,7 @@ const doc = new Document({
|
||||
children: [new TextRun("Deleted row cell")],
|
||||
run: {
|
||||
deletion: {
|
||||
id: 1,
|
||||
id: 5,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -131,7 +131,7 @@ const doc = new Document({
|
||||
}),
|
||||
],
|
||||
deletion: {
|
||||
id: 1,
|
||||
id: 6,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -155,14 +155,14 @@ const doc = new Document({
|
||||
children: [
|
||||
new InsertedTextRun({
|
||||
text: "Inserted cell",
|
||||
id: 2,
|
||||
id: 7,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
}),
|
||||
],
|
||||
run: {
|
||||
insertion: {
|
||||
id: 2,
|
||||
id: 8,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -170,7 +170,7 @@ const doc = new Document({
|
||||
}),
|
||||
],
|
||||
insertion: {
|
||||
id: 2,
|
||||
id: 9,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -186,14 +186,14 @@ const doc = new Document({
|
||||
children: [
|
||||
new InsertedTextRun({
|
||||
text: "Inserted cell",
|
||||
id: 2,
|
||||
id: 10,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
}),
|
||||
],
|
||||
run: {
|
||||
insertion: {
|
||||
id: 2,
|
||||
id: 11,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -201,7 +201,7 @@ const doc = new Document({
|
||||
}),
|
||||
],
|
||||
insertion: {
|
||||
id: 2,
|
||||
id: 12,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -229,14 +229,14 @@ const doc = new Document({
|
||||
children: [
|
||||
new DeletedTextRun({
|
||||
text: "Deleted cell",
|
||||
id: 3,
|
||||
id: 13,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
}),
|
||||
],
|
||||
run: {
|
||||
deletion: {
|
||||
id: 3,
|
||||
id: 14,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -244,7 +244,7 @@ const doc = new Document({
|
||||
}),
|
||||
],
|
||||
deletion: {
|
||||
id: 3,
|
||||
id: 15,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -260,14 +260,14 @@ const doc = new Document({
|
||||
children: [
|
||||
new DeletedTextRun({
|
||||
text: "Deleted cell",
|
||||
id: 3,
|
||||
id: 16,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
}),
|
||||
],
|
||||
run: {
|
||||
deletion: {
|
||||
id: 3,
|
||||
id: 17,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -275,7 +275,7 @@ const doc = new Document({
|
||||
}),
|
||||
],
|
||||
deletion: {
|
||||
id: 3,
|
||||
id: 18,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -304,7 +304,7 @@ const doc = new Document({
|
||||
verticalAlign: VerticalAlignTable.CENTER,
|
||||
revision: {
|
||||
width: { size: 2000, type: WidthType.DXA },
|
||||
id: 4,
|
||||
id: 19,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
verticalAlign: VerticalAlignTable.TOP,
|
||||
@@ -319,7 +319,7 @@ const doc = new Document({
|
||||
},
|
||||
revision: {
|
||||
width: { size: 2000, type: WidthType.DXA },
|
||||
id: 4,
|
||||
id: 20,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -333,7 +333,7 @@ const doc = new Document({
|
||||
width: { size: 4000, type: WidthType.DXA },
|
||||
revision: {
|
||||
width: { size: 2000, type: WidthType.DXA },
|
||||
id: 4,
|
||||
id: 21,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -343,7 +343,7 @@ const doc = new Document({
|
||||
width: { size: 2000, type: WidthType.DXA },
|
||||
revision: {
|
||||
width: { size: 2000, type: WidthType.DXA },
|
||||
id: 4,
|
||||
id: 22,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
},
|
||||
@@ -367,7 +367,7 @@ const doc = new Document({
|
||||
tableHeader: true,
|
||||
height: { value: 600, rule: HeightRule.EXACT },
|
||||
revision: {
|
||||
id: 5,
|
||||
id: 23,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
tableHeader: false,
|
||||
@@ -414,7 +414,7 @@ const doc = new Document({
|
||||
},
|
||||
layout: "fixed",
|
||||
revision: {
|
||||
id: 6,
|
||||
id: 24,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
borders: {
|
||||
@@ -474,7 +474,7 @@ const doc = new Document({
|
||||
},
|
||||
},
|
||||
revision: {
|
||||
id: 20,
|
||||
id: 25,
|
||||
author: REVISION_AUTHOR,
|
||||
date: REVISION_DATE,
|
||||
page: {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 818 KiB After Width: | Height: | Size: 1.1 MiB |
@@ -36,6 +36,9 @@ Key schemas:
|
||||
| `ooxml-schemas/ISO-IEC29500-4_2016/dml-main.xsd` | DrawingML (images, shapes) |
|
||||
| `ooxml-schemas/ISO-IEC29500-4_2016/shared-math.xsd` | Math equations |
|
||||
| `ooxml-schemas/ISO-IEC29500-4_2016/vml-main.xsd` | VML (legacy shapes, textboxes) |
|
||||
| `ooxml-schemas/microsoft/` | Microsoft's extensions (`w14:`, `wps:`...) |
|
||||
|
||||
`ooxml-schemas/README.md` lists every schema and where it's from.
|
||||
|
||||
Always cross-reference these schemas when implementing or modifying XML generation:
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@ const doc = new docx.Document({
|
||||
});
|
||||
```
|
||||
|
||||
Your styles take the place of the library's default styles with the same ids, and your document defaults take the place of the library's. The library's default styles fill in the ones your `styles.xml` leaves out, such as `Hyperlink` or `FootnoteText`. A default style you set in `styles.default`, such as `heading1` or `document`, takes the place of yours.
|
||||
|
||||
You can use paragraphs, `heading1()`, `heading2()` etc and it will be styled according to your `styles.xml` created earlier. You can even use your new style you made by calling the `style` method:
|
||||
|
||||
```ts
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<xs:schema xmlns="http://schemas.openxmlformats.org/package/2006/content-types"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://schemas.openxmlformats.org/package/2006/content-types"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
|
||||
|
||||
<xs:element name="Types" type="CT_Types"/>
|
||||
<xs:element name="Default" type="CT_Default"/>
|
||||
<xs:element name="Override" type="CT_Override"/>
|
||||
|
||||
<xs:complexType name="CT_Types">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="Default"/>
|
||||
<xs:element ref="Override"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="CT_Default">
|
||||
<xs:attribute name="Extension" type="ST_Extension" use="required"/>
|
||||
<xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="CT_Override">
|
||||
<xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
|
||||
<xs:attribute name="PartName" type="xs:anyURI" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="ST_ContentType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern
|
||||
value="(((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+))/((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+))((\s+)*;(\s+)*(((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+))=((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+)|("(([\p{IsLatin-1Supplement}\p{IsBasicLatin}-[\p{Cc}"\n\r]]|(\s+))|(\\[\p{IsBasicLatin}]))*"))))*)"
|
||||
/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="ST_Extension">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern
|
||||
value="([!$&'\(\)\*\+,:=]|(%[0-9a-fA-F][0-9a-fA-F])|[:@]|[a-zA-Z0-9\-_~])+"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema targetNamespace="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
|
||||
xmlns="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:dcterms="http://purl.org/dc/terms/" elementFormDefault="qualified" blockDefault="#all">
|
||||
|
||||
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="../dublin-core/dc.xsd"/>
|
||||
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="../dublin-core/dcterms.xsd"/>
|
||||
<xs:import id="xml" namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../ISO-IEC29500-4_2016/xml.xsd"/>
|
||||
|
||||
<xs:element name="coreProperties" type="CT_CoreProperties"/>
|
||||
|
||||
<xs:complexType name="CT_CoreProperties">
|
||||
<xs:all>
|
||||
<xs:element name="category" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
||||
<xs:element name="contentStatus" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
||||
<xs:element ref="dcterms:created" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="dc:creator" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="dc:description" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="dc:identifier" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="keywords" minOccurs="0" maxOccurs="1" type="CT_Keywords"/>
|
||||
<xs:element ref="dc:language" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="lastModifiedBy" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
||||
<xs:element name="lastPrinted" minOccurs="0" maxOccurs="1" type="xs:dateTime"/>
|
||||
<xs:element ref="dcterms:modified" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="revision" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
||||
<xs:element ref="dc:subject" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="dc:title" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="version" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="CT_Keywords" mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="CT_Keyword"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="xml:lang" use="optional"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="CT_Keyword">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute ref="xml:lang" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/digital-signature"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://schemas.openxmlformats.org/package/2006/digital-signature"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
|
||||
|
||||
<xsd:element name="SignatureTime" type="CT_SignatureTime"/>
|
||||
<xsd:element name="RelationshipReference" type="CT_RelationshipReference"/>
|
||||
<xsd:element name="RelationshipsGroupReference" type="CT_RelationshipsGroupReference"/>
|
||||
|
||||
<xsd:complexType name="CT_SignatureTime">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Format" type="ST_Format"/>
|
||||
<xsd:element name="Value" type="ST_Value"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="CT_RelationshipReference">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute name="SourceId" type="xsd:string" use="required"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="CT_RelationshipsGroupReference">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute name="SourceType" type="xsd:anyURI" use="required"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:simpleType name="ST_Format">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern
|
||||
value="(YYYY)|(YYYY-MM)|(YYYY-MM-DD)|(YYYY-MM-DDThh:mmTZD)|(YYYY-MM-DDThh:mm:ssTZD)|(YYYY-MM-DDThh:mm:ss.sTZD)"
|
||||
/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
|
||||
<xsd:simpleType name="ST_Value">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern
|
||||
value="(([0-9][0-9][0-9][0-9]))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):(((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))\.[0-9])(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))"
|
||||
/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/relationships"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://schemas.openxmlformats.org/package/2006/relationships"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
|
||||
|
||||
<xsd:element name="Relationships" type="CT_Relationships"/>
|
||||
<xsd:element name="Relationship" type="CT_Relationship"/>
|
||||
|
||||
<xsd:complexType name="CT_Relationships">
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="Relationship" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="CT_Relationship">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute name="TargetMode" type="ST_TargetMode" use="optional"/>
|
||||
<xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
|
||||
<xsd:attribute name="Type" type="xsd:anyURI" use="required"/>
|
||||
<xsd:attribute name="Id" type="xsd:ID" use="required"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:simpleType name="ST_TargetMode">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="External"/>
|
||||
<xsd:enumeration value="Internal"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,90 @@
|
||||
# OOXML schemas
|
||||
|
||||
The XML schemas for everything a .docx can hold.
|
||||
|
||||
| Folder | What | From |
|
||||
| --------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `ISO-IEC29500-4_2016` | Office Open XML, transitional: WordprocessingML, DrawingML, VML, math, document properties and the rest | [ISO/IEC 29500-4:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c071691_ISO_IEC_29500-4_2016_Electronic_inserts.zip), the same as ECMA-376 Part 4, 5th edition |
|
||||
| `ECMA-376-2_2021` | Open Packaging Conventions: `[Content_Types].xml`, relationships, core properties and signatures | [ECMA-376 Part 2, 5th edition](https://ecma-international.org/publications-and-standards/standards/ecma-376/) (December 2021), the same as ISO/IEC 29500-2:2021 |
|
||||
| `mce` | Markup Compatibility (`mc:`), from ECMA-376 Part 3 | [docx4j](https://github.com/plutext/docx4j/blob/master/xsd/mce/markup-compatibility-2006-MINIMAL.xsd), as the standard has no schema for it |
|
||||
| `dublin-core` | Dublin Core, which the core properties use | [dublincore.org](http://dublincore.org/schemas/xmls/qdc/2003/04/02/), the 2003-04-02 schemas the core properties schema names |
|
||||
| `microsoft` | Microsoft's extensions, such as Word 2010 shapes (`wps:`) and later Word features (`w14:`, `w15:`, ...) | The "Full XML Schemas" appendices of [MS-DOCX], [MS-ODRAWXML] and [MS-OFFMACRO2], below |
|
||||
|
||||
The Strict schemas (ECMA-376 Part 1) aren't here: docx writes transitional documents, which are in other namespaces.
|
||||
|
||||
## Changes from the originals
|
||||
|
||||
The schemas are as published, except:
|
||||
|
||||
- Each of Microsoft's starts with a comment saying where it's from.
|
||||
|
||||
- **Imports** point at the files here. Microsoft's schemas name files that aren't published (such as `oartbasetypes.xsd` for DrawingML), and the Open Packaging Conventions name Dublin Core's website.
|
||||
- **Microsoft's schemas** were written against ECMA-376 1st edition, where some simple types were in the WordprocessingML, DrawingML and chart namespaces. ISO/IEC 29500 moved these to the shared types namespace (`s:`), so, for example, `w:ST_OnOff`, `a:ST_Guid` and `c:ST_Xstring` are `s:ST_OnOff`, `s:ST_Guid` and `s:ST_Xstring`.
|
||||
- `microsoft/wml-2010.xsd` includes `microsoft/wml-2010-contentPart.xsd`, the rest of its namespace, from [MS-ODRAWXML].
|
||||
- `microsoft/drawing-2010-main.xsd`: `ST_SaturationAmount` restricts `a:ST_PercentageDecimal`, as `a:ST_Percentage` became a union, which can't be restricted to a range.
|
||||
- `microsoft/drawing-2014-chartex.xsd`: the space after `CT_GeoHierarchyEntity` in the type of `geoHierarchyEntity` is gone.
|
||||
- `microsoft/wml-2006.xsd` declares `txbxContent`, which `wps:txbx` refers to, from a schema Microsoft hasn't published.
|
||||
- `ISO-IEC29500-4_2016/wml.xsd` allows `mc:Ignorable` on `w:document`, and `ISO-IEC29500-4_2016/shared-math.xsd` imports `xml.xsd`, which is W3C's schema for the `xml:` attributes.
|
||||
|
||||
[MS-ODRAWXML] 5.19, PowerPoint's ink actions, isn't here, as it's written against Microsoft's own InkML schema rather than W3C's.
|
||||
|
||||
## Microsoft's schemas
|
||||
|
||||
| File | Namespace | From |
|
||||
| -------------------------------------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `wml-2010.xsd` | `http://schemas.microsoft.com/office/word/2010/wordml` | [[MS-DOCX] 5.1](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/9704b59f-bc49-4618-ac66-41beb82a0d7f) |
|
||||
| `wml-2012.xsd` | `http://schemas.microsoft.com/office/word/2012/wordml` | [[MS-DOCX] 5.2](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/d416013d-c112-44fa-8bef-7819b8898117) |
|
||||
| `wml-symex-2015.xsd` | `http://schemas.microsoft.com/office/word/2015/wordml/symex` | [[MS-DOCX] 5.3](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/372b619f-f0f4-463f-9d59-02ebb1c8956d) |
|
||||
| `wml-cid-2016.xsd` | `http://schemas.microsoft.com/office/word/2016/wordml/cid` | [[MS-DOCX] 5.4](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/8e395dbe-ff70-43c3-b9fe-e758c8f69683) |
|
||||
| `wml-2018.xsd` | `http://schemas.microsoft.com/office/word/2018/wordml` | [[MS-DOCX] 5.5](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/6970e332-57ff-4ab5-a9a4-3b8834bbc477) |
|
||||
| `wml-cex-2018.xsd` | `http://schemas.microsoft.com/office/word/2018/wordml/cex` | [[MS-DOCX] 5.6](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/0df7c115-b22a-4e09-bab7-4f24fbb8e6f5) |
|
||||
| `wml-sdtdatahash-2020.xsd` | `http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash` | [[MS-DOCX] 5.7](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/c865ba38-51df-45bc-91ae-f6beaffeb264) |
|
||||
| `wml-du-2023.xsd` | `http://schemas.microsoft.com/office/word/2023/wordml/word16du` | [[MS-DOCX] 5.8](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/e5d0aa0c-4ecc-40d9-a0e0-aac8655a8316) |
|
||||
| `wml-sdtformatlock-2024.xsd` | `http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock` | [[MS-DOCX] 5.9](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/14bc8126-7c6e-41a8-b042-c199036e2339) |
|
||||
| `wml-cei-2026.xsd` | `http://schemas.microsoft.com/office/word/2026/wordml/cei` | [[MS-DOCX] 5.10](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/4c5c0c9a-50e6-4d50-a387-9e5aceecd2f9) |
|
||||
| `drawing-2010-main.xsd` | `http://schemas.microsoft.com/office/drawing/2010/main` | [[MS-ODRAWXML] 5.1](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/869af0ef-665b-4f28-a596-0917474ede26) |
|
||||
| `word-2010-wordprocessingShape.xsd` | `http://schemas.microsoft.com/office/word/2010/wordprocessingShape` | [[MS-ODRAWXML] 5.2](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/f73ea06d-4749-4611-b20b-755df087eb21) |
|
||||
| `wml-2010-contentPart.xsd` | `http://schemas.microsoft.com/office/word/2010/wordml` | [[MS-ODRAWXML] 5.3](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/20b04a8a-b93e-4ecd-9522-96d4bb1847c8) |
|
||||
| `word-2010-wordprocessingGroup.xsd` | `http://schemas.microsoft.com/office/word/2010/wordprocessingGroup` | [[MS-ODRAWXML] 5.4](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/fbe733bf-85e2-46f9-b548-9292b44670ce) |
|
||||
| `word-2010-wordprocessingCanvas.xsd` | `http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas` | [[MS-ODRAWXML] 5.5](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/0af4dfe1-b07b-41eb-a48b-87aadd16b51b) |
|
||||
| `drawing-2008-diagram.xsd` | `http://schemas.microsoft.com/office/drawing/2008/diagram` | [[MS-ODRAWXML] 5.6](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/e1b56dd5-305b-4b3b-a983-28df1d4ffc3f) |
|
||||
| `ink-2010-main.xsd` | `http://schemas.microsoft.com/ink/2010/main` | [[MS-ODRAWXML] 5.7](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/b0e5b36b-68a8-4fd4-874c-e5e187ba574f) |
|
||||
| `drawing-2010-chartDrawing.xsd` | `http://schemas.microsoft.com/office/drawing/2010/chartDrawing` | [[MS-ODRAWXML] 5.8](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/53d31d11-3b07-4ca3-ac54-e8562713e647) |
|
||||
| `excel-2010-spreadsheetDrawing.xsd` | `http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing` | [[MS-ODRAWXML] 5.9](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/ec810aeb-26c0-4f32-a6a4-59abb9a0398f) |
|
||||
| `drawing-2007-8-2-chart.xsd` | `http://schemas.microsoft.com/office/drawing/2007/8/2/chart` | [[MS-ODRAWXML] 5.10](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/070bea84-2201-463c-aeaa-cf258492b5b5) |
|
||||
| `word-2010-wordprocessingDrawing.xsd` | `http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing` | [[MS-ODRAWXML] 5.11](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1a38a99a-16ae-420d-8c79-23dc2e922717) |
|
||||
| `drawing-2010-picture.xsd` | `http://schemas.microsoft.com/office/drawing/2010/picture` | [[MS-ODRAWXML] 5.12](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/81dd13dc-144f-4099-bb1f-658ce7b65b6d) |
|
||||
| `drawing-2012-chart.xsd` | `http://schemas.microsoft.com/office/drawing/2012/chart` | [[MS-ODRAWXML] 5.13](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1c52d959-25d3-4556-9381-cc86c1221029) |
|
||||
| `drawing-2012-main.xsd` | `http://schemas.microsoft.com/office/drawing/2012/main` | [[MS-ODRAWXML] 5.14](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/a87e4aa0-8ba3-41f1-a6a3-67c2afcca6b3) |
|
||||
| `drawing-2012-chartStyle.xsd` | `http://schemas.microsoft.com/office/drawing/2012/chartStyle` | [[MS-ODRAWXML] 5.15](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/a7bb9c01-d274-47ee-a16a-90e26877e8a4) |
|
||||
| `drawing-2010-diagram.xsd` | `http://schemas.microsoft.com/office/drawing/2010/diagram` | [[MS-ODRAWXML] 5.16](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/6a404d68-14de-4124-b7db-bb48398538ac) |
|
||||
| `thememl-2012-main.xsd` | `http://schemas.microsoft.com/office/thememl/2012/main` | [[MS-ODRAWXML] 5.17](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/de6e746a-c9e3-48ad-884a-774aac2ad80d) |
|
||||
| `word-2012-wordprocessingDrawing.xsd` | `http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing` | [[MS-ODRAWXML] 5.18](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/44351d27-cd96-461b-89ae-3be25ed82425) |
|
||||
| `drawing-2014-chart.xsd` | `http://schemas.microsoft.com/office/drawing/2014/chart` | [[MS-ODRAWXML] 5.20](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/40b8f1fc-b266-4f1f-90ec-d8ae7bafb140) |
|
||||
| `drawing-2014-chart-ac.xsd` | `http://schemas.microsoft.com/office/drawing/2014/chart/ac` | [[MS-ODRAWXML] 5.21](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/5a2048a5-7116-48a9-95b6-9c7b8e70ff44) |
|
||||
| `drawing-2014-chartex.xsd` | `http://schemas.microsoft.com/office/drawing/2014/chartex` | [[MS-ODRAWXML] 5.22](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/e2723b0a-9120-42a5-bd11-c252ccb13c1e) |
|
||||
| `drawing-2014-main.xsd` | `http://schemas.microsoft.com/office/drawing/2014/main` | [[MS-ODRAWXML] 5.23](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/55a2958e-599f-46a0-8812-029155d485cb) |
|
||||
| `drawing-2016-SVG-main.xsd` | `http://schemas.microsoft.com/office/drawing/2016/SVG/main` | [[MS-ODRAWXML] 5.24](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/cc083f6d-bc38-4ff4-b32a-5bc97df8addc) |
|
||||
| `drawing-2016-11-main.xsd` | `http://schemas.microsoft.com/office/drawing/2016/11/main` | [[MS-ODRAWXML] 5.25](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/96e8cdeb-7774-461b-957e-09b7ec8e2765) |
|
||||
| `drawing-2016-11-diagram.xsd` | `http://schemas.microsoft.com/office/drawing/2016/11/diagram` | [[MS-ODRAWXML] 5.26](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/8607d4b7-2dc8-45e7-9317-808373935e47) |
|
||||
| `drawing-2013-main-command.xsd` | `http://schemas.microsoft.com/office/drawing/2013/main/command` | [[MS-ODRAWXML] 5.27](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/f01549ab-276f-461a-a9be-c672a5393b1a) |
|
||||
| `drawing-2016-ink.xsd` | `http://schemas.microsoft.com/office/drawing/2016/ink` | [[MS-ODRAWXML] 5.28](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/9fb2d49d-0881-4e7d-8b38-95373d76302c) |
|
||||
| `drawing-2017-model3d.xsd` | `http://schemas.microsoft.com/office/drawing/2017/model3d` | [[MS-ODRAWXML] 5.29](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/6c414e62-4825-4100-9ca1-88fefc5fb699) |
|
||||
| `drawing-2016-12-diagram.xsd` | `http://schemas.microsoft.com/office/drawing/2016/12/diagram` | [[MS-ODRAWXML] 5.30](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/e2d5dcbc-cb93-40b9-896d-46033bc2711c) |
|
||||
| `drawing-2017-03-chart.xsd` | `http://schemas.microsoft.com/office/drawing/2017/03/chart` | [[MS-ODRAWXML] 5.31](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/07ad9d54-eb9e-4d52-831e-aa6487b295c2) |
|
||||
| `drawing-2017-decorative.xsd` | `http://schemas.microsoft.com/office/drawing/2017/decorative` | [[MS-ODRAWXML] 5.32](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/6146d89f-9146-415b-99e2-39e694b5a980) |
|
||||
| `drawing-2018-hyperlinkcolor.xsd` | `http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor` | [[MS-ODRAWXML] 5.33](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/014fbc20-3705-4812-b8cd-93f5af05b504) |
|
||||
| `drawing-2018-animation-model3d.xsd` | `http://schemas.microsoft.com/office/drawing/2018/animation/model3d` | [[MS-ODRAWXML] 5.34](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/c939a613-ae17-423a-9d33-7fb2e07b7b7f) |
|
||||
| `drawing-2018-animation.xsd` | `http://schemas.microsoft.com/office/drawing/2018/animation` | [[MS-ODRAWXML] 5.35](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/901a7e62-aa4a-48a0-9ecb-cf2401a2b47a) |
|
||||
| `drawing-2018-sketchyshapes.xsd` | `http://schemas.microsoft.com/office/drawing/2018/sketchyshapes` | [[MS-ODRAWXML] 5.36](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/8d84ecec-8b42-42d7-a51a-ca81862b0dd3) |
|
||||
| `drawing-2020-classificationShape.xsd` | `http://schemas.microsoft.com/office/drawing/2020/classificationShape` | [[MS-ODRAWXML] 5.37](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1f3ad775-d46f-4c60-8457-04121d909fe3) |
|
||||
| `word-2020-oembed.xsd` | `http://schemas.microsoft.com/office/word/2020/oembed` | [[MS-ODRAWXML] 5.38](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/b495a2c4-89bf-47e3-b165-dacb3508bb72) |
|
||||
| `drawing-2021-scriptlink.xsd` | `http://schemas.microsoft.com/office/drawing/2021/scriptlink` | [[MS-ODRAWXML] 5.39](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/f830ed7e-a16f-4863-9112-711c02e00269) |
|
||||
| `drawing-2021-livefeed.xsd` | `http://schemas.microsoft.com/office/drawing/2021/livefeed` | [[MS-ODRAWXML] 5.40](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/2084bd49-c84a-4779-b7b6-331902b88dfe) |
|
||||
| `drawing-2022-imageformula.xsd` | `http://schemas.microsoft.com/office/drawing/2022/imageformula` | [[MS-ODRAWXML] 5.41](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/0c47e53f-d2a7-457d-b7a0-26c7544dd7b2) |
|
||||
| `drawing-2015-06-chart.xsd` | `http://schemas.microsoft.com/office/drawing/2015/06/chart` | [[MS-ODRAWXML] 5.42](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/4a7a3cd6-1782-4b99-b223-5a811e505d73) |
|
||||
| `wml-2006.xsd` | `http://schemas.microsoft.com/office/word/2006/wordml` | [[MS-OFFMACRO2] 5.1](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-offmacro2/230e441a-0a5b-4c4c-8239-0a446f235101) |
|
||||
|
||||
[MS-DOCX]: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/d0a2e301-0ff7-4e9e-9bb7-ff47070dce0a
|
||||
[MS-ODRAWXML]: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/bdc95a77-957c-40f8-9ef2-47cbcdeb8af2
|
||||
[MS-OFFMACRO2]: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-offmacro2/230e441a-0a5b-4c4c-8239-0a446f235101
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://purl.org/dc/elements/1.1/"
|
||||
targetNamespace="http://purl.org/dc/elements/1.1/"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
DCMES 1.1 XML Schema
|
||||
XML Schema for http://purl.org/dc/elements/1.1/ namespace
|
||||
|
||||
Created 2003-04-02
|
||||
|
||||
Created by
|
||||
|
||||
Tim Cole (t-cole3@uiuc.edu)
|
||||
Tom Habing (thabing@uiuc.edu)
|
||||
Jane Hunter (jane@dstc.edu.au)
|
||||
Pete Johnston (p.johnston@ukoln.ac.uk),
|
||||
Carl Lagoze (lagoze@cs.cornell.edu)
|
||||
|
||||
This schema declares XML elements for the 15 DC elements from the
|
||||
http://purl.org/dc/elements/1.1/ namespace.
|
||||
|
||||
It defines a complexType SimpleLiteral which permits mixed content
|
||||
and makes the xml:lang attribute available. It disallows child elements by
|
||||
use of minOcccurs/maxOccurs.
|
||||
|
||||
However, this complexType does permit the derivation of other complexTypes
|
||||
which would permit child elements.
|
||||
|
||||
All elements are declared as substitutable for the abstract element any,
|
||||
which means that the default type for all elements is dc:SimpleLiteral.
|
||||
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../ISO-IEC29500-4_2016/xml.xsd">
|
||||
</xs:import>
|
||||
|
||||
<xs:complexType name="SimpleLiteral">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
This is the default type for all of the DC elements.
|
||||
It permits text content only with optional
|
||||
xml:lang attribute.
|
||||
Text is allowed because mixed="true", but sub-elements
|
||||
are disallowed because minOccurs="0" and maxOccurs="0"
|
||||
are on the xs:any tag.
|
||||
|
||||
This complexType allows for restriction or extension permitting
|
||||
child elements.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:complexContent mixed="true">
|
||||
<xs:restriction base="xs:anyType">
|
||||
<xs:sequence>
|
||||
<xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="xml:lang" use="optional"/>
|
||||
</xs:restriction>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="any" type="SimpleLiteral" abstract="true"/>
|
||||
|
||||
<xs:element name="title" substitutionGroup="any"/>
|
||||
<xs:element name="creator" substitutionGroup="any"/>
|
||||
<xs:element name="subject" substitutionGroup="any"/>
|
||||
<xs:element name="description" substitutionGroup="any"/>
|
||||
<xs:element name="publisher" substitutionGroup="any"/>
|
||||
<xs:element name="contributor" substitutionGroup="any"/>
|
||||
<xs:element name="date" substitutionGroup="any"/>
|
||||
<xs:element name="type" substitutionGroup="any"/>
|
||||
<xs:element name="format" substitutionGroup="any"/>
|
||||
<xs:element name="identifier" substitutionGroup="any"/>
|
||||
<xs:element name="source" substitutionGroup="any"/>
|
||||
<xs:element name="language" substitutionGroup="any"/>
|
||||
<xs:element name="relation" substitutionGroup="any"/>
|
||||
<xs:element name="coverage" substitutionGroup="any"/>
|
||||
<xs:element name="rights" substitutionGroup="any"/>
|
||||
|
||||
<xs:group name="elementsGroup">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
This group is included as a convenience for schema authors
|
||||
who need to refer to all the elements in the
|
||||
http://purl.org/dc/elements/1.1/ namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="any"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:complexType name="elementContainer">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
This complexType is included as a convenience for schema authors who need to define a root
|
||||
or container element for all of the DC elements.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:choice>
|
||||
<xs:group ref="elementsGroup"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://purl.org/dc/dcmitype/"
|
||||
targetNamespace="http://purl.org/dc/dcmitype/"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
DCMI Type Vocabulary XML Schema
|
||||
XML Schema for http://purl.org/dc/dcmitype/ namespace
|
||||
|
||||
Created 2003-04-02
|
||||
|
||||
Created by
|
||||
|
||||
Tim Cole (t-cole3@uiuc.edu)
|
||||
Tom Habing (thabing@uiuc.edu)
|
||||
Jane Hunter (jane@dstc.edu.au)
|
||||
Pete Johnston (p.johnston@ukoln.ac.uk),
|
||||
Carl Lagoze (lagoze@cs.cornell.edu)
|
||||
|
||||
This schema defines a simpleType which enumerates
|
||||
the allowable values for the DCMI Type Vocabulary.
|
||||
</xs:documentation>
|
||||
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
|
||||
<xs:simpleType name="DCMIType">
|
||||
<xs:union>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:Name">
|
||||
<xs:enumeration value="Collection"/>
|
||||
<xs:enumeration value="Dataset"/>
|
||||
<xs:enumeration value="Event"/>
|
||||
<xs:enumeration value="Image"/>
|
||||
<xs:enumeration value="InteractiveResource"/>
|
||||
<xs:enumeration value="Service"/>
|
||||
<xs:enumeration value="Software"/>
|
||||
<xs:enumeration value="Sound"/>
|
||||
<xs:enumeration value="Text"/>
|
||||
<xs:enumeration value="PhysicalObject"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,328 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
|
||||
targetNamespace="http://purl.org/dc/terms/"
|
||||
xmlns="http://purl.org/dc/terms/"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
DCterms XML Schema
|
||||
XML Schema for http://purl.org/dc/terms/ namespace
|
||||
|
||||
Created 2003-04-02
|
||||
|
||||
Created by
|
||||
|
||||
Tim Cole (t-cole3@uiuc.edu)
|
||||
Tom Habing (thabing@uiuc.edu)
|
||||
Jane Hunter (jane@dstc.edu.au)
|
||||
Pete Johnston (p.johnston@ukoln.ac.uk),
|
||||
Carl Lagoze (lagoze@cs.cornell.edu)
|
||||
|
||||
This schema declares XML elements for the DC elements and
|
||||
DC element refinements from the http://purl.org/dc/terms/ namespace.
|
||||
|
||||
It reuses the complexType dc:SimpleLiteral, imported from the dc.xsd
|
||||
schema, which permits simple element content, and makes the xml:lang
|
||||
attribute available.
|
||||
|
||||
This complexType permits the derivation of other complexTypes
|
||||
which would permit child elements.
|
||||
|
||||
DC elements are declared as substitutable for the abstract element dc:any, and
|
||||
DC element refinements are defined as substitutable for the base elements
|
||||
which they refine.
|
||||
|
||||
This means that the default type for all XML elements (i.e. all DC elements and
|
||||
element refinements) is dc:SimpleLiteral.
|
||||
|
||||
Encoding schemes are defined as complexTypes which are restrictions
|
||||
of the dc:SimpleLiteral complexType. These complexTypes restrict
|
||||
values to an appropriates syntax or format using data typing,
|
||||
regular expressions, or enumerated lists.
|
||||
|
||||
In order to specify one of these encodings an xsi:type attribute must
|
||||
be used in the instance document.
|
||||
|
||||
Also, note that one shortcoming of this approach is that any type can be
|
||||
applied to any of the elements or refinements. There is no convenient way
|
||||
to restrict types to specific elements using this approach.
|
||||
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../ISO-IEC29500-4_2016/xml.xsd">
|
||||
</xs:import>
|
||||
|
||||
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd"/>
|
||||
|
||||
<xs:import namespace="http://purl.org/dc/dcmitype/" schemaLocation="dcmitype.xsd"/>
|
||||
|
||||
<xs:element name="alternative" substitutionGroup="dc:title"/>
|
||||
|
||||
<xs:element name="tableOfContents" substitutionGroup="dc:description"/>
|
||||
<xs:element name="abstract" substitutionGroup="dc:description"/>
|
||||
|
||||
<xs:element name="created" substitutionGroup="dc:date"/>
|
||||
<xs:element name="valid" substitutionGroup="dc:date"/>
|
||||
<xs:element name="available" substitutionGroup="dc:date"/>
|
||||
<xs:element name="issued" substitutionGroup="dc:date"/>
|
||||
<xs:element name="modified" substitutionGroup="dc:date"/>
|
||||
<xs:element name="dateAccepted" substitutionGroup="dc:date"/>
|
||||
<xs:element name="dateCopyrighted" substitutionGroup="dc:date"/>
|
||||
<xs:element name="dateSubmitted" substitutionGroup="dc:date"/>
|
||||
|
||||
<xs:element name="extent" substitutionGroup="dc:format"/>
|
||||
<xs:element name="medium" substitutionGroup="dc:format"/>
|
||||
|
||||
<xs:element name="isVersionOf" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="hasVersion" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="isReplacedBy" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="replaces" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="isRequiredBy" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="requires" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="isPartOf" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="hasPart" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="isReferencedBy" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="references" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="isFormatOf" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="hasFormat" substitutionGroup="dc:relation"/>
|
||||
<xs:element name="conformsTo" substitutionGroup="dc:relation"/>
|
||||
|
||||
<xs:element name="spatial" substitutionGroup="dc:coverage"/>
|
||||
<xs:element name="temporal" substitutionGroup="dc:coverage"/>
|
||||
|
||||
<xs:element name="audience" substitutionGroup="dc:any"/>
|
||||
|
||||
<xs:element name="mediator" substitutionGroup="audience"/>
|
||||
<xs:element name="educationLevel" substitutionGroup="audience"/>
|
||||
|
||||
<xs:element name="accessRights" substitutionGroup="dc:rights"/>
|
||||
|
||||
<xs:element name="bibliographicCitation" substitutionGroup="dc:identifier"/>
|
||||
|
||||
<xs:complexType name="LCSH">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MESH">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="DDC">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="LCC">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="UDC">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Period">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="W3CDTF">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:union memberTypes="xs:gYear xs:gYearMonth xs:date xs:dateTime"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="DCMIType">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="dcmitype:DCMIType"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="IMT">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="URI">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:anyURI"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ISO639-2">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="RFC1766">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:language"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="RFC3066">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:language"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Point">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ISO3166">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Box">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="TGN">
|
||||
<xs:simpleContent>
|
||||
<xs:restriction base="dc:SimpleLiteral">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<xs:attribute ref="xml:lang" use="prohibited"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:group name="elementsAndRefinementsGroup">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
This group is included as a convenience for schema authors
|
||||
who need to refer to all the DC elements and element refinements
|
||||
in the http://purl.org/dc/elements/1.1/ and
|
||||
http://purl.org/dc/terms namespaces.
|
||||
N.B. Refinements available via substitution groups.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="dc:any" />
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:complexType name="elementOrRefinementContainer">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">
|
||||
This is included as a convenience for schema authors who need to define a root
|
||||
or container element for all of the DC elements and element refinements.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:choice>
|
||||
<xs:group ref="elementsAndRefinementsGroup"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.10, http://schemas.microsoft.com/office/drawing/2007/8/2/chart Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/070bea84-2201-463c-aeaa-cf258492b5b5 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2007/8/2/chart" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/drawing/2007/8/2/chart" blockDefault="#all" xmlns:cdr="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" schemaLocation="../ISO-IEC29500-4_2016/dml-chartDrawing.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chart" schemaLocation="../ISO-IEC29500-4_2016/dml-chart.xsd"/>
|
||||
<xsd:complexType name="CT_BooleanTrue">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="true"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_BooleanFalse">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_InvertSolidFillFmt">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PivotOptions">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="dropZoneFilter" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dropZoneCategories" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dropZoneData" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dropZoneSeries" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dropZonesVisible" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_Style">
|
||||
<xsd:restriction base="xsd:unsignedByte">
|
||||
<xsd:minInclusive value="101"/>
|
||||
<xsd:maxInclusive value="148"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Style">
|
||||
<xsd:attribute name="val" type="ST_Style" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="pivotOptions" type="CT_PivotOptions"/>
|
||||
<xsd:element name="invertSolidFillFmt" type="CT_InvertSolidFillFmt"/>
|
||||
<xsd:element name="style" type="CT_Style"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.6, http://schemas.microsoft.com/office/drawing/2008/diagram Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/e1b56dd5-305b-4b3b-a983-28df1d4ffc3f -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2008/diagram" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:d="http://schemas.openxmlformats.org/drawingml/2006/diagram" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns="http://schemas.microsoft.com/office/drawing/2008/diagram">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/diagram" schemaLocation="../ISO-IEC29500-4_2016/dml-diagram.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_ShapeNonVisual">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Shape">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="nvSpPr" type="CT_ShapeNonVisual" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txBody" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txXfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="modelId" type="d:ST_ModelId" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GroupShapeNonVisual">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GroupShape">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="nvGrpSpPr" type="CT_GroupShapeNonVisual" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:element name="sp" type="CT_Shape"/>
|
||||
<xsd:element name="grpSp" type="CT_GroupShape"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Drawing">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spTree" type="CT_GroupShape" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="drawing" type="CT_Drawing"/>
|
||||
<xsd:complexType name="CT_DataModelExtBlock">
|
||||
<xsd:attribute name="relId" type="xsd:string"/>
|
||||
<xsd:attribute name="minVer" type="xsd:anyURI"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="dataModelExt" type="CT_DataModelExtBlock"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.8, http://schemas.microsoft.com/office/drawing/2010/chartDrawing Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/53d31d11-3b07-4ca3-ac54-e8562713e647 -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2010/chartDrawing" xmlns="http://schemas.microsoft.com/office/drawing/2010/chartDrawing" xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:xdr14="http://xldr14SchemaUri" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main" schemaLocation="drawing-2010-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_ApplicationNonVisualDrawingProps">
|
||||
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ContentPartNonVisual">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvContentPartPr" type="a14:CT_NonVisualInkContentPartProperties" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ContentPart">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="nvContentPartPr" type="CT_ContentPartNonVisual" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="nvPr" type="CT_ApplicationNonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional" default="auto"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="contentPart" type="CT_ContentPart"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.16, http://schemas.microsoft.com/office/drawing/2010/diagram Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/6a404d68-14de-4124-b7db-bb48398538ac -->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns="http://schemas.microsoft.com/office/drawing/2010/diagram" targetNamespace="http://schemas.microsoft.com/office/drawing/2010/diagram" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps"/>
|
||||
<xsd:complexType name="CT_Boolean">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="recolorImg" type="CT_Boolean"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,282 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.1, http://schemas.microsoft.com/office/drawing/2010/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/869af0ef-665b-4f28-a596-0917474ede26 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2010/main" elementFormDefault="qualified" xmlns="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/math" schemaLocation="../ISO-IEC29500-4_2016/shared-math.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_LegacySpreadsheetColorIndex">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="80"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:attribute name="legacySpreadsheetColorIndex" type="ST_LegacySpreadsheetColorIndex"/>
|
||||
<xsd:complexType name="CT_TextMath">
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="m:oMath"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="m" type="CT_TextMath"/>
|
||||
<xsd:complexType name="CT_ContentPartLocking">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attributeGroup ref="a:AG_Locking"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_NonVisualInkContentPartProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cpLocks" type="CT_ContentPartLocking" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="isComment" type="xsd:boolean" use="optional" default="true"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_CameraTool">
|
||||
<xsd:attribute name="cellRange" type="xsd:string"/>
|
||||
<xsd:attribute name="spid" use="optional" default="0" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="cameraTool" type="CT_CameraTool"/>
|
||||
<xsd:complexType name="CT_CompatExt">
|
||||
<xsd:attribute name="spid" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="compatExt" type="CT_CompatExt"/>
|
||||
<xsd:complexType name="CT_IsGvmlCanvas">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GvmlContentPartNonVisual">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvContentPartPr" type="CT_NonVisualInkContentPartProperties" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GvmlContentPart">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="nvContentPartPr" type="CT_GvmlContentPartNonVisual" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional"/>
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="isCanvas" type="CT_IsGvmlCanvas"/>
|
||||
<xsd:element name="contentPart" type="CT_GvmlContentPart"/>
|
||||
<xsd:complexType name="CT_ShadowObscured">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="shadowObscured" type="CT_ShadowObscured"/>
|
||||
<xsd:element name="hiddenFill" type="a:CT_FillProperties"/>
|
||||
<xsd:element name="hiddenLine" type="a:CT_LineProperties"/>
|
||||
<xsd:element name="hiddenEffects" type="a:CT_EffectProperties"/>
|
||||
<xsd:element name="hiddenScene3d" type="a:CT_Scene3D"/>
|
||||
<xsd:element name="hiddenSp3d" type="a:CT_Shape3D"/>
|
||||
<xsd:simpleType name="ST_ArtisticEffectParam100">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="100"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ArtisticEffectParam10">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="10"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ArtisticEffectParam6">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="6"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ArtisticEffectParam4">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="4"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_PictureEffectBlur">
|
||||
<xsd:attribute name="radius" type="ST_ArtisticEffectParam100" use="optional" default="10"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectCement">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="crackSpacing" type="ST_ArtisticEffectParam100" use="optional" default="24"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectChalkSketch">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="pressure" type="ST_ArtisticEffectParam4" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectCrisscrossEtching">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="75"/>
|
||||
<xsd:attribute name="pressure" type="ST_ArtisticEffectParam100" use="optional" default="30"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectCutout">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="numberOfShades" type="ST_ArtisticEffectParam6" use="optional" default="2"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectFilmGrain">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="grainSize" type="ST_ArtisticEffectParam100" use="optional" default="40"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectGlass">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="scaling" type="ST_ArtisticEffectParam100" use="optional" default="34"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectGlowDiffused">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="intensity" type="ST_ArtisticEffectParam10" use="optional" default="5"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectGlowEdges">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="15"/>
|
||||
<xsd:attribute name="smoothness" type="ST_ArtisticEffectParam10" use="optional" default="3"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectLightScreen">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="gridSize" type="ST_ArtisticEffectParam10" use="optional" default="4"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectLineDrawing">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="25"/>
|
||||
<xsd:attribute name="pencilSize" type="ST_ArtisticEffectParam100" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectMarker">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="size" type="ST_ArtisticEffectParam100" use="optional" default="97"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectMosiaicBubbles">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="pressure" type="ST_ArtisticEffectParam100" use="optional" default="14"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPaintBrush">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="brushSize" type="ST_ArtisticEffectParam10" use="optional" default="2"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPaintStrokes">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="intensity" type="ST_ArtisticEffectParam10" use="optional" default="5"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPastelsSmooth">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="scaling" type="ST_ArtisticEffectParam100" use="optional" default="34"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPencilGrayscale">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="pencilSize" type="ST_ArtisticEffectParam100" use="optional" default="27"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPencilSketch">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="pressure" type="ST_ArtisticEffectParam100" use="optional" default="22"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPhotocopy">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="30"/>
|
||||
<xsd:attribute name="detail" type="ST_ArtisticEffectParam10" use="optional" default="3"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectPlasticWrap">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="smoothness" type="ST_ArtisticEffectParam10" use="optional" default="5"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectTexturizer">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="scaling" type="ST_ArtisticEffectParam100" use="optional" default="34"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectWatercolorSponge">
|
||||
<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="brushSize" type="ST_ArtisticEffectParam10" use="optional" default="2"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectBackgroundRemovalForegroundMark">
|
||||
<xsd:attribute name="x1" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="y1" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="x2" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="y2" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectBackgroundRemovalBackgroundMark">
|
||||
<xsd:attribute name="x1" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="y1" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="x2" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="y2" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectBackgroundRemoval">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="foregroundMark" type="CT_PictureEffectBackgroundRemovalForegroundMark" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="backgroundMark" type="CT_PictureEffectBackgroundRemovalBackgroundMark" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="t" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="b" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="l" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
<xsd:attribute name="r" type="a:ST_PositiveFixedPercentage" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectBrightnessContrast">
|
||||
<xsd:attribute name="bright" type="a:ST_FixedPercentage" use="optional" default="0"/>
|
||||
<xsd:attribute name="contrast" type="a:ST_FixedPercentage" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_ColorTemperature">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="1500"/>
|
||||
<xsd:maxInclusive value="11500"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_PictureEffectColorTemperature">
|
||||
<xsd:attribute name="colorTemp" type="ST_ColorTemperature" use="optional" default="6500"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_SaturationAmount">
|
||||
<xsd:restriction base="a:ST_PercentageDecimal">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="400000"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_PictureEffectSaturation">
|
||||
<xsd:attribute name="sat" type="ST_SaturationAmount" use="optional" default="100"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffectSharpenSoften">
|
||||
<xsd:attribute name="amount" type="a:ST_FixedPercentage" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureEffect">
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="artisticBlur" type="CT_PictureEffectBlur" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticCement" type="CT_PictureEffectCement" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticChalkSketch" type="CT_PictureEffectChalkSketch" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticCrisscrossEtching" type="CT_PictureEffectCrisscrossEtching" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticCutout" type="CT_PictureEffectCutout" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticFilmGrain" type="CT_PictureEffectFilmGrain" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticGlass" type="CT_PictureEffectGlass" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticGlowDiffused" type="CT_PictureEffectGlowDiffused" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticGlowEdges" type="CT_PictureEffectGlowEdges" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticLightScreen" type="CT_PictureEffectLightScreen" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticLineDrawing" type="CT_PictureEffectLineDrawing" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticMarker" type="CT_PictureEffectMarker" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticMosiaicBubbles" type="CT_PictureEffectMosiaicBubbles" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPaintStrokes" type="CT_PictureEffectPaintStrokes" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPaintBrush" type="CT_PictureEffectPaintBrush" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPastelsSmooth" type="CT_PictureEffectPastelsSmooth" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPencilGrayscale" type="CT_PictureEffectPencilGrayscale" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPencilSketch" type="CT_PictureEffectPencilSketch" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPhotocopy" type="CT_PictureEffectPhotocopy" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticPlasticWrap" type="CT_PictureEffectPlasticWrap" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticTexturizer" type="CT_PictureEffectTexturizer" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="artisticWatercolorSponge" type="CT_PictureEffectWatercolorSponge" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="backgroundRemoval" type="CT_PictureEffectBackgroundRemoval" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="brightnessContrast" type="CT_PictureEffectBrightnessContrast" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="colorTemperature" type="CT_PictureEffectColorTemperature" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="saturation" type="CT_PictureEffectSaturation" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="sharpenSoften" type="CT_PictureEffectSharpenSoften" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="visible" type="xsd:boolean" use="optional" default="true"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureLayer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="imgEffect" type="CT_PictureEffect" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute ref="r:embed" use="optional" default=""/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Photo">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="imgLayer" type="CT_PictureLayer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="imgProps" type="CT_Photo"/>
|
||||
<xsd:complexType name="CT_UseLocalDpi">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="true"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="useLocalDpi" type="CT_UseLocalDpi"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.12, http://schemas.microsoft.com/office/drawing/2010/picture Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/81dd13dc-144f-4099-bb1f-658ce7b65b6d -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2010/picture" xmlns="http://schemas.microsoft.com/office/drawing/2010/picture" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:element name="style" type="a:CT_ShapeStyle"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.13, http://schemas.microsoft.com/office/drawing/2012/chart Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1c52d959-25d3-4556-9381-cc86c1221029 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2012/chart" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/office/drawing/2012/chart" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chart" schemaLocation="../ISO-IEC29500-4_2016/dml-chart.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:element name="pivotSource" type="c:CT_PivotSource"/>
|
||||
<xsd:element name="numFmt" type="c:CT_NumFmt"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties"/>
|
||||
<xsd:element name="layout" type="c:CT_Layout"/>
|
||||
<xsd:element name="fullRef" type="CT_FullRef"/>
|
||||
<xsd:complexType name="CT_FullRef">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="sqref" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_LevelRef">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="sqref" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="levelRef" type="CT_LevelRef"/>
|
||||
<xsd:complexType name="CT_FormulaRef">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="sqref" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="formulaRef" type="CT_FormulaRef"/>
|
||||
<xsd:complexType name="CT_FilteredSeriesTitle">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tx" type="c:CT_SerTx" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="filteredSeriesTitle" type="CT_FilteredSeriesTitle"/>
|
||||
<xsd:complexType name="CT_FilteredCategoryTitle">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cat" type="c:CT_AxDataSource" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="filteredCategoryTitle" type="CT_FilteredCategoryTitle"/>
|
||||
<xsd:complexType name="CT_FilteredBarSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_BarSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredLineSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_LineSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredScatterSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_ScatterSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredAreaSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_AreaSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredPieSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_PieSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredBubbleSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_BubbleSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredRadarSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_RadarSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FilteredSurfaceSer">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ser" type="c:CT_SurfaceSer" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="filteredAreaSeries" type="CT_FilteredAreaSer"/>
|
||||
<xsd:element name="filteredBarSeries" type="CT_FilteredBarSer"/>
|
||||
<xsd:element name="filteredBubbleSeries" type="CT_FilteredBubbleSer"/>
|
||||
<xsd:element name="filteredLineSeries" type="CT_FilteredLineSer"/>
|
||||
<xsd:element name="filteredPieSeries" type="CT_FilteredPieSer"/>
|
||||
<xsd:element name="filteredRadarSeries" type="CT_FilteredRadarSer"/>
|
||||
<xsd:element name="filteredScatterSeries" type="CT_FilteredScatterSer"/>
|
||||
<xsd:element name="filteredSurfaceSeries" type="CT_FilteredSurfaceSer"/>
|
||||
<xsd:complexType name="CT_SeriesDataLabelsRange">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="f" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dlblRangeCache" type="c:CT_StrData" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="datalabelsRange" type="CT_SeriesDataLabelsRange"/>
|
||||
<xsd:complexType name="CT_CategoryFilterException">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="sqref" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="explosion" type="c:CT_UnsignedInt" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="invertIfNegative" type="c:CT_Boolean" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="bubble3D" type="c:CT_Boolean" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="marker" type="c:CT_Marker" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dLbl" type="c:CT_DLbl" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_CategoryFilterExceptions">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="categoryFilterException" type="CT_CategoryFilterException" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="categoryFilterExceptions" type="CT_CategoryFilterExceptions"/>
|
||||
<xsd:complexType name="CT_DataLabelFieldTableEntry">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="txfldGUID" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="f" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dlblFieldTableCache" type="c:CT_StrData" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataLabelFieldTable">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="dlblFTEntry" type="CT_DataLabelFieldTableEntry" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="dlblFieldTable" type="CT_DataLabelFieldTable"/>
|
||||
<xsd:element name="xForSave" type="c:CT_Boolean"/>
|
||||
<xsd:element name="showDataLabelsRange" type="c:CT_Boolean"/>
|
||||
<xsd:element name="tx" type="c:CT_Tx"/>
|
||||
<xsd:element name="showLeaderLines" type="c:CT_Boolean"/>
|
||||
<xsd:element name="leaderLines" type="c:CT_ChartLines"/>
|
||||
<xsd:element name="autoCat" type="c:CT_Boolean"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.15, http://schemas.microsoft.com/office/drawing/2012/chartStyle Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/a7bb9c01-d274-47ee-a16a-90e26877e8a4 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2012/chartStyle" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/drawing/2012/chartStyle">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_ColorStyleMethodEnum">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="cycle"/>
|
||||
<xsd:enumeration value="withinLinear"/>
|
||||
<xsd:enumeration value="acrossLinear"/>
|
||||
<xsd:enumeration value="withinLinearReversed"/>
|
||||
<xsd:enumeration value="acrossLinearReversed"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ColorStyleMethod">
|
||||
<xsd:union memberTypes="ST_ColorStyleMethodEnum xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ColorStyleVariation">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="a:EG_ColorTransform" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_StyleReferenceModifierEnum">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="ignoreCSTransforms"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_StyleReferenceModifier">
|
||||
<xsd:union memberTypes="ST_StyleReferenceModifierEnum xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_StyleReferenceModifierList">
|
||||
<xsd:list itemType="ST_StyleReferenceModifier"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ColorStyle">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="a:EG_ColorChoice" minOccurs="1" maxOccurs="unbounded"/>
|
||||
<xsd:element name="variation" type="CT_ColorStyleVariation" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="meth" type="ST_ColorStyleMethod" use="required"/>
|
||||
<xsd:attribute name="id" type="xsd:unsignedInt" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="colorStyle" type="CT_ColorStyle"/>
|
||||
<xsd:simpleType name="ST_StyleColorEnum">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="auto"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_StyleColorVal">
|
||||
<xsd:union memberTypes="xsd:unsignedInt ST_StyleColorEnum xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_StyleColor">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="a:EG_ColorTransform" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="val" type="ST_StyleColorVal"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_StyleReference">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="a:EG_ColorChoice" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="styleClr" type="CT_StyleColor" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="idx" type="a:ST_StyleMatrixColumnIndex" use="required"/>
|
||||
<xsd:attribute name="mods" type="ST_StyleReferenceModifierList" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FontReference">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="a:EG_ColorChoice" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="styleClr" type="CT_StyleColor" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="idx" type="a:ST_FontCollectionIndex" use="required"/>
|
||||
<xsd:attribute name="mods" type="ST_StyleReferenceModifierList" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_StyleEntryModifierEnum">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="allowNoFillOverride"/>
|
||||
<xsd:enumeration value="allowNoLineOverride"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_StyleEntryModifier">
|
||||
<xsd:union memberTypes="ST_StyleEntryModifierEnum xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_StyleEntryModifierList">
|
||||
<xsd:list itemType="ST_StyleEntryModifier"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_MarkerStyle">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="circle"/>
|
||||
<xsd:enumeration value="dash"/>
|
||||
<xsd:enumeration value="diamond"/>
|
||||
<xsd:enumeration value="dot"/>
|
||||
<xsd:enumeration value="plus"/>
|
||||
<xsd:enumeration value="square"/>
|
||||
<xsd:enumeration value="star"/>
|
||||
<xsd:enumeration value="triangle"/>
|
||||
<xsd:enumeration value="x"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_MarkerSize">
|
||||
<xsd:restriction base="xsd:unsignedByte">
|
||||
<xsd:minInclusive value="2"/>
|
||||
<xsd:maxInclusive value="72"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_MarkerLayout">
|
||||
<xsd:attribute name="symbol" type="ST_MarkerStyle" use="optional"/>
|
||||
<xsd:attribute name="size" type="ST_MarkerSize" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_StyleEntry">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="lnRef" type="CT_StyleReference" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="lineWidthScale" type="xsd:double" minOccurs="0" maxOccurs="1" default="1.0"/>
|
||||
<xsd:element name="fillRef" type="CT_StyleReference" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="effectRef" type="CT_StyleReference" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="fontRef" type="CT_FontReference" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="defRPr" type="a:CT_TextCharacterProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="bodyPr" type="a:CT_TextBodyProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="mods" type="ST_StyleEntryModifierList" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ChartStyle">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="axisTitle" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="categoryAxis" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="chartArea" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataLabel" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataLabelCallout" type="CT_StyleEntry" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dataPoint" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataPoint3D" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataPointLine" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataPointMarker" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataPointMarkerLayout" type="CT_MarkerLayout" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dataPointWireframe" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dataTable" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="downBar" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="dropLine" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="errorBar" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="floor" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="gridlineMajor" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="gridlineMinor" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="hiLoLine" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="leaderLine" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="legend" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="plotArea" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="plotArea3D" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="seriesAxis" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="seriesLine" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="title" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="trendline" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="trendlineLabel" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="upBar" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="valueAxis" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="wall" type="CT_StyleEntry" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="xsd:unsignedInt" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="chartStyle" type="CT_ChartStyle"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.14, http://schemas.microsoft.com/office/drawing/2012/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/a87e4aa0-8ba3-41f1-a6a3-67c2afcca6b3 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" targetNamespace="http://schemas.microsoft.com/office/drawing/2012/main" elementFormDefault="qualified" xmlns="http://schemas.microsoft.com/office/drawing/2012/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_TargetScreenSz">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="544x376"/>
|
||||
<xsd:enumeration value="640x480"/>
|
||||
<xsd:enumeration value="720x512"/>
|
||||
<xsd:enumeration value="800x600"/>
|
||||
<xsd:enumeration value="1024x768"/>
|
||||
<xsd:enumeration value="1152x882"/>
|
||||
<xsd:enumeration value="1152x900"/>
|
||||
<xsd:enumeration value="1280x1024"/>
|
||||
<xsd:enumeration value="1600x1200"/>
|
||||
<xsd:enumeration value="1800x1440"/>
|
||||
<xsd:enumeration value="1920x1200"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_BackgroundPr">
|
||||
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode"/>
|
||||
<xsd:attribute name="bwPure" type="a:ST_BlackWhiteMode"/>
|
||||
<xsd:attribute name="bwNormal" type="a:ST_BlackWhiteMode"/>
|
||||
<xsd:attribute name="targetScreenSize" type="ST_TargetScreenSz"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="backgroundPr" type="CT_BackgroundPr"/>
|
||||
<xsd:complexType name="CT_NonVisualGroupProps">
|
||||
<xsd:attribute name="isLegacyGroup" type="xsd:boolean"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="nonVisualGroupProps" type="CT_NonVisualGroupProps"/>
|
||||
<xsd:complexType name="CT_ObjectPr">
|
||||
<xsd:attribute name="objectId" type="xsd:string"/>
|
||||
<xsd:attribute name="isActiveX" type="xsd:boolean"/>
|
||||
<xsd:attribute name="linkType" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="objectPr" type="CT_ObjectPr"/>
|
||||
<xsd:complexType name="CT_SignatureLine">
|
||||
<xsd:attribute name="isSignatureLine" type="xsd:boolean"/>
|
||||
<xsd:attribute name="id" type="s:ST_Guid"/>
|
||||
<xsd:attribute name="provId" type="s:ST_Guid"/>
|
||||
<xsd:attribute name="signingInstructionsSet" type="xsd:boolean"/>
|
||||
<xsd:attribute name="allowComments" type="xsd:boolean"/>
|
||||
<xsd:attribute name="showSignDate" type="xsd:boolean"/>
|
||||
<xsd:attribute name="suggestedSigner" type="xsd:string"/>
|
||||
<xsd:attribute name="suggestedSigner2" type="xsd:string"/>
|
||||
<xsd:attribute name="suggestedSignerEmail" type="xsd:string"/>
|
||||
<xsd:attribute name="signingInstructions" type="xsd:string"/>
|
||||
<xsd:attribute name="addlXml" type="xsd:string"/>
|
||||
<xsd:attribute name="sigProvUrl" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="signatureLine" type="CT_SignatureLine"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,256 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.27, http://schemas.microsoft.com/office/drawing/2013/main/command Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/f01549ab-276f-461a-a9be-c672a5393b1a -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2013/main/command" xmlns="http://schemas.microsoft.com/office/drawing/2013/main/command" xmlns:ac="http://schemas.microsoft.com/office/drawing/2013/main/command" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:inkml="http://www.w3.org/2003/InkML">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:attributeGroup name="AG_DrawingElementId">
|
||||
<xsd:attribute name="id" type="a:ST_DrawingElementId" use="required"/>
|
||||
<xsd:attribute name="creationId" type="s:ST_Guid" use="optional"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:complexType name="CT_ShapeMoniker">
|
||||
<xsd:attributeGroup ref="AG_DrawingElementId"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GroupShapeMoniker">
|
||||
<xsd:attributeGroup ref="AG_DrawingElementId"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GraphicFrameMoniker">
|
||||
<xsd:attributeGroup ref="AG_DrawingElementId"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ConnectorMoniker">
|
||||
<xsd:attributeGroup ref="AG_DrawingElementId"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PictureMoniker">
|
||||
<xsd:attributeGroup ref="AG_DrawingElementId"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_InkMoniker">
|
||||
<xsd:attributeGroup ref="AG_DrawingElementId"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_TextCharRangeContext">
|
||||
<xsd:attribute name="len" type="xsd:unsignedInt" use="optional" default="0"/>
|
||||
<xsd:attribute name="hash" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_TextCharRangeMoniker">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="context" type="CT_TextCharRangeContext" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="cp" type="xsd:int" use="required"/>
|
||||
<xsd:attribute name="len" type="xsd:int" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DrawingElementMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="deMkLst" type="CT_DrawingElementMonikerList"/>
|
||||
<xsd:complexType name="CT_ShapeMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="spMkLst" type="CT_ShapeMonikerList"/>
|
||||
<xsd:complexType name="CT_GroupShapeMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="grpSpMkLst" type="CT_GroupShapeMonikerList"/>
|
||||
<xsd:complexType name="CT_GraphicFrameMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="graphicFrameMkLst" type="CT_GraphicFrameMonikerList"/>
|
||||
<xsd:complexType name="CT_ConnectorMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="cxnSpMkLst" type="CT_ConnectorMonikerList"/>
|
||||
<xsd:complexType name="CT_PictureMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="picMkLst" type="CT_PictureMonikerList"/>
|
||||
<xsd:complexType name="CT_InkMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="inkMkLst" type="CT_InkMonikerList"/>
|
||||
<xsd:complexType name="CT_TextCharRangeMonikerList">
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="txMkLst" type="CT_TextCharRangeMonikerList"/>
|
||||
<xsd:attributeGroup name="AG_ChangesUser">
|
||||
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="userId" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="providerId" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="clId" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="email" type="xsd:string" use="optional"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attributeGroup name="AG_ChangesVersion">
|
||||
<xsd:attribute name="dt" type="xsd:dateTime" use="optional"/>
|
||||
<xsd:attribute name="v" type="xsd:unsignedInt" use="optional"/>
|
||||
<xsd:attribute name="id" type="s:ST_Guid" use="optional"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:complexType name="CT_ChangesData">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attributeGroup ref="AG_ChangesUser"/>
|
||||
<xsd:attributeGroup ref="AG_ChangesVersion"/>
|
||||
<xsd:attribute name="actId" type="xsd:int" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_ShapeChangeBit">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="add"/>
|
||||
<xsd:enumeration value="del"/>
|
||||
<xsd:enumeration value="mod"/>
|
||||
<xsd:enumeration value="ord"/>
|
||||
<xsd:enumeration value="topLvl"/>
|
||||
<xsd:enumeration value="modVis"/>
|
||||
<xsd:enumeration value="replST"/>
|
||||
<xsd:enumeration value="delST"/>
|
||||
<xsd:enumeration value="replId"/>
|
||||
<xsd:enumeration value="modCrop"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ShapeChangesBits">
|
||||
<xsd:list itemType="ST_ShapeChangeBit"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ShapeChanges">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chgData" type="CT_ChangesData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spMkLst" type="CT_ShapeMonikerList" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="chg" type="ST_ShapeChangesBits" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_GroupShapeChangeBit">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="add"/>
|
||||
<xsd:enumeration value="del"/>
|
||||
<xsd:enumeration value="mod"/>
|
||||
<xsd:enumeration value="ord"/>
|
||||
<xsd:enumeration value="topLvl"/>
|
||||
<xsd:enumeration value="modVis"/>
|
||||
<xsd:enumeration value="replST"/>
|
||||
<xsd:enumeration value="delST"/>
|
||||
<xsd:enumeration value="replId"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_GroupShapeChangesBits">
|
||||
<xsd:list itemType="ST_GroupShapeChangeBit"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_GroupShapeChanges">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chgData" type="CT_ChangesData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="grpSpMkLst" type="CT_GroupShapeMonikerList" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="chg" type="ST_GroupShapeChangesBits" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_ConnectorChangeBit">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="add"/>
|
||||
<xsd:enumeration value="del"/>
|
||||
<xsd:enumeration value="mod"/>
|
||||
<xsd:enumeration value="ord"/>
|
||||
<xsd:enumeration value="topLvl"/>
|
||||
<xsd:enumeration value="modVis"/>
|
||||
<xsd:enumeration value="replST"/>
|
||||
<xsd:enumeration value="delST"/>
|
||||
<xsd:enumeration value="replId"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ConnectorChangesBits">
|
||||
<xsd:list itemType="ST_ConnectorChangeBit"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ConnectorChanges">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chgData" type="CT_ChangesData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="cxnSpMkLst" type="CT_ConnectorMonikerList" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="chg" type="ST_ConnectorChangesBits" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_PictureChangeBit">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="add"/>
|
||||
<xsd:enumeration value="del"/>
|
||||
<xsd:enumeration value="mod"/>
|
||||
<xsd:enumeration value="ord"/>
|
||||
<xsd:enumeration value="topLvl"/>
|
||||
<xsd:enumeration value="modVis"/>
|
||||
<xsd:enumeration value="replST"/>
|
||||
<xsd:enumeration value="delST"/>
|
||||
<xsd:enumeration value="replId"/>
|
||||
<xsd:enumeration value="modCrop"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_PictureChangesBits">
|
||||
<xsd:list itemType="ST_PictureChangeBit"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_PictureChanges">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chgData" type="CT_ChangesData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="picMkLst" type="CT_PictureMonikerList" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="chg" type="ST_PictureChangesBits" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_InkChangeBit">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="add"/>
|
||||
<xsd:enumeration value="del"/>
|
||||
<xsd:enumeration value="mod"/>
|
||||
<xsd:enumeration value="ord"/>
|
||||
<xsd:enumeration value="topLvl"/>
|
||||
<xsd:enumeration value="modVis"/>
|
||||
<xsd:enumeration value="replST"/>
|
||||
<xsd:enumeration value="delST"/>
|
||||
<xsd:enumeration value="replId"/>
|
||||
<xsd:enumeration value="reco"/>
|
||||
<xsd:enumeration value="modStrokes"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_InkChangesBits">
|
||||
<xsd:list itemType="ST_InkChangeBit"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_InkChanges">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chgData" type="CT_ChangesData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="inkMkLst" type="CT_InkMonikerList" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="chg" type="ST_InkChangesBits" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_GraphicFrameChangeBit">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="add"/>
|
||||
<xsd:enumeration value="del"/>
|
||||
<xsd:enumeration value="mod"/>
|
||||
<xsd:enumeration value="ord"/>
|
||||
<xsd:enumeration value="topLvl"/>
|
||||
<xsd:enumeration value="modVis"/>
|
||||
<xsd:enumeration value="replST"/>
|
||||
<xsd:enumeration value="delST"/>
|
||||
<xsd:enumeration value="replId"/>
|
||||
<xsd:enumeration value="modGraphic"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_GraphicFrameChangesBits">
|
||||
<xsd:list itemType="ST_GraphicFrameChangeBit"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_GraphicFrameChanges">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chgData" type="CT_ChangesData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="graphicFrameMkLst" type="CT_GraphicFrameMonikerList" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="chg" type="ST_GraphicFrameChangesBits" use="required"/>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.21, http://schemas.microsoft.com/office/drawing/2014/chart/ac Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/5a2048a5-7116-48a9-95b6-9c7b8e70ff44 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2014/chart/ac" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/office/drawing/2014/chart/ac" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chart" schemaLocation="../ISO-IEC29500-4_2016/dml-chart.xsd"/>
|
||||
<xsd:element name="multiLvlStrLit" type="c:CT_MultiLvlStrData"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.20, http://schemas.microsoft.com/office/drawing/2014/chart Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/40b8f1fc-b266-4f1f-90ec-d8ae7bafb140 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2014/chart" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/office/drawing/2014/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:blockDefault="#all">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chart" schemaLocation="../ISO-IEC29500-4_2016/dml-chart.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:complexType name="CT_ChartUniqueID">
|
||||
<xsd:attribute name="val" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ChartDataPointUniqueIDMapEntry">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ptidx" type="xsd:unsignedInt" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="uniqueID" type="CT_ChartUniqueID" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ChartDataPointUniqueIDMap">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ptentry" type="CT_ChartDataPointUniqueIDMapEntry" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="datapointuniqueidmap" type="CT_ChartDataPointUniqueIDMap"/>
|
||||
<xsd:complexType name="CT_BooleanFalse">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties"/>
|
||||
<xsd:element name="explosion" type="c:CT_UnsignedInt"/>
|
||||
<xsd:element name="invertIfNegative" type="c:CT_Boolean"/>
|
||||
<xsd:element name="bubble3D" type="c:CT_Boolean"/>
|
||||
<xsd:element name="marker" type="c:CT_Marker"/>
|
||||
<xsd:element name="dLbl" type="c:CT_DLbl"/>
|
||||
<xsd:complexType name="CT_CategoryFilterException">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="uniqueId" type="CT_ChartUniqueID" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element ref="spPr" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element ref="explosion" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element ref="invertIfNegative" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element ref="bubble3D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element ref="marker" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element ref="dLbl" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_CategoryFilterExceptions">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="categoryFilterException" type="CT_CategoryFilterException" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="categoryFilterExceptions" type="CT_CategoryFilterExceptions"/>
|
||||
<xsd:complexType name="CT_NumFilteredLiteralCache">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="numCache" type="c:CT_NumData" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_StrFilteredLiteralCache">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="strCache" type="c:CT_StrData" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_MultiLvlStrFilteredLiteralCache">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="multiLvlStrCache" type="c:CT_MultiLvlStrData" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_LiteralDataChart">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PivotOptions16">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="showExpandCollapseFieldButtons" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="pivotOptions16" type="CT_PivotOptions16"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,863 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.22, http://schemas.microsoft.com/office/drawing/2014/chartex Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/e2723b0a-9120-42a5-bd11-c252ccb13c1e -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2014/chartex" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:simpleType name="ST_ExtensionDropMode">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="never"/>
|
||||
<xsd:enumeration value="onModelChange"/>
|
||||
<xsd:enumeration value="onDataChange"/>
|
||||
<xsd:enumeration value="always"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_FeatureExtension">
|
||||
<xsd:sequence>
|
||||
<xsd:any processContents="lax"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="feature" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="drop" type="ST_ExtensionDropMode" use="optional" default="never"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Extension">
|
||||
<xsd:sequence>
|
||||
<xsd:any processContents="lax"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="uri" type="xsd:token"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ExtensionList">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ext" type="CT_Extension" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_DoubleOrAutomatic">
|
||||
<xsd:union memberTypes="xsd:double">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="auto"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:union>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_NumberFormat">
|
||||
<xsd:attribute name="formatCode" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="sourceLinked" type="xsd:boolean" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_RelId">
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ValueColors">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="minColor" type="a:CT_SolidColorFillProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="midColor" type="a:CT_SolidColorFillProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="maxColor" type="a:CT_SolidColorFillProperties" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ExternalData">
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
<xsd:attribute name="autoUpdate" type="xsd:boolean" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_FormulaDirection">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="col"/>
|
||||
<xsd:enumeration value="row"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Formula">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute name="dir" type="ST_FormulaDirection" use="optional" default="col"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_DataId">
|
||||
<xsd:restriction base="xsd:unsignedInt"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_DataId">
|
||||
<xsd:attribute name="val" type="ST_DataId" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_StringValue">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_StringLevel">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pt" type="CT_StringValue" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="ptCount" type="xsd:unsignedInt" use="required"/>
|
||||
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_StringDimensionType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="cat"/>
|
||||
<xsd:enumeration value="colorStr"/>
|
||||
<xsd:enumeration value="entityId"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_StringDimension">
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="f" type="CT_Formula" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="nf" type="CT_Formula" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="lvl" type="CT_StringLevel" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:element name="lvl" type="CT_StringLevel" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="type" type="ST_StringDimensionType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_NumericValue">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:double">
|
||||
<xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_NumericLevel">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pt" type="CT_NumericValue" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="ptCount" type="xsd:unsignedInt" use="required"/>
|
||||
<xsd:attribute name="formatCode" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_NumericDimensionType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="val"/>
|
||||
<xsd:enumeration value="x"/>
|
||||
<xsd:enumeration value="y"/>
|
||||
<xsd:enumeration value="size"/>
|
||||
<xsd:enumeration value="colorVal"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_NumericDimension">
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="f" type="CT_Formula" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="nf" type="CT_Formula" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="lvl" type="CT_NumericLevel" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:element name="lvl" type="CT_NumericLevel" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="type" type="ST_NumericDimensionType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Data">
|
||||
<xsd:sequence>
|
||||
<xsd:choice minOccurs="1" maxOccurs="unbounded">
|
||||
<xsd:element name="numDim" type="CT_NumericDimension" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="strDim" type="CT_StringDimension" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="ST_DataId" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ChartData">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="externalData" type="CT_ExternalData" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="data" type="CT_Data" minOccurs="1" maxOccurs="unbounded"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_TextData">
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="f" type="CT_Formula" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="v" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:element name="v" type="xsd:string" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Text">
|
||||
<xsd:sequence>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="txData" type="CT_TextData" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="rich" type="a:CT_TextBody" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_SidePos">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="l"/>
|
||||
<xsd:enumeration value="t"/>
|
||||
<xsd:enumeration value="r"/>
|
||||
<xsd:enumeration value="b"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_PosAlign">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="min"/>
|
||||
<xsd:enumeration value="ctr"/>
|
||||
<xsd:enumeration value="max"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Offset">
|
||||
<xsd:attribute name="top" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="left" type="xsd:double" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ChartTitle">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tx" type="CT_Text" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="offset" type="CT_Offset" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="pos" type="ST_SidePos" use="optional" default="t"/>
|
||||
<xsd:attribute name="align" type="ST_PosAlign" use="optional" default="ctr"/>
|
||||
<xsd:attribute name="overlay" type="xsd:boolean" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_AxisId">
|
||||
<xsd:restriction base="xsd:unsignedInt"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_GapWidthRatio">
|
||||
<xsd:union>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:double">
|
||||
<xsd:minInclusive value="0"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="auto"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:union>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_CategoryAxisScaling">
|
||||
<xsd:attribute name="gapWidth" type="ST_GapWidthRatio" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_ValueAxisUnit">
|
||||
<xsd:union>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:double">
|
||||
<xsd:minExclusive value="0"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="auto"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:union>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ValueAxisScaling">
|
||||
<xsd:attribute name="max" type="ST_DoubleOrAutomatic" use="optional"/>
|
||||
<xsd:attribute name="min" type="ST_DoubleOrAutomatic" use="optional"/>
|
||||
<xsd:attribute name="majorUnit" type="ST_ValueAxisUnit" use="optional"/>
|
||||
<xsd:attribute name="minorUnit" type="ST_ValueAxisUnit" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_AxisTitle">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tx" type="CT_Text" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="offset" type="CT_Offset" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_AxisUnitsLabel">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tx" type="CT_Text" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_AxisUnit">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="hundreds"/>
|
||||
<xsd:enumeration value="thousands"/>
|
||||
<xsd:enumeration value="tenThousands"/>
|
||||
<xsd:enumeration value="hundredThousands"/>
|
||||
<xsd:enumeration value="millions"/>
|
||||
<xsd:enumeration value="tenMillions"/>
|
||||
<xsd:enumeration value="hundredMillions"/>
|
||||
<xsd:enumeration value="billions"/>
|
||||
<xsd:enumeration value="trillions"/>
|
||||
<xsd:enumeration value="percentage"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_AxisUnits">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="unitsLabel" type="CT_AxisUnitsLabel" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="unit" type="ST_AxisUnit" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Gridlines">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_TickMarksType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="in"/>
|
||||
<xsd:enumeration value="out"/>
|
||||
<xsd:enumeration value="cross"/>
|
||||
<xsd:enumeration value="none"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_TickMarks">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="type" type="ST_TickMarksType" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_TickLabels">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Axis">
|
||||
<xsd:sequence>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="catScaling" type="CT_CategoryAxisScaling"/>
|
||||
<xsd:element name="valScaling" type="CT_ValueAxisScaling"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="title" type="CT_AxisTitle" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="units" type="CT_AxisUnits" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="majorGridlines" type="CT_Gridlines" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="minorGridlines" type="CT_Gridlines" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="majorTickMarks" type="CT_TickMarks" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="minorTickMarks" type="CT_TickMarks" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="tickLabels" type="CT_TickLabels" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="numFmt" type="CT_NumberFormat" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="ST_AxisId" use="required"/>
|
||||
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_SeriesLayout">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="boxWhisker"/>
|
||||
<xsd:enumeration value="clusteredColumn"/>
|
||||
<xsd:enumeration value="funnel"/>
|
||||
<xsd:enumeration value="paretoLine"/>
|
||||
<xsd:enumeration value="regionMap"/>
|
||||
<xsd:enumeration value="sunburst"/>
|
||||
<xsd:enumeration value="treemap"/>
|
||||
<xsd:enumeration value="waterfall"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ParentLabelLayout">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="none"/>
|
||||
<xsd:enumeration value="banner"/>
|
||||
<xsd:enumeration value="overlapping"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ParentLabelLayout">
|
||||
<xsd:attribute name="val" type="ST_ParentLabelLayout" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_RegionLabelLayout">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="none"/>
|
||||
<xsd:enumeration value="bestFitOnly"/>
|
||||
<xsd:enumeration value="showAll"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_RegionLabelLayout">
|
||||
<xsd:attribute name="val" type="ST_RegionLabelLayout" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_SeriesElementVisibilities">
|
||||
<xsd:attribute name="connectorLines" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="meanLine" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="meanMarker" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="nonoutliers" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="outliers" type="xsd:boolean" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_IntervalClosedSide">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="l"/>
|
||||
<xsd:enumeration value="r"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Aggregation"/>
|
||||
<xsd:complexType name="CT_Binning">
|
||||
<xsd:choice minOccurs="0" maxOccurs="1">
|
||||
<xsd:element name="binSize" type="xsd:double"/>
|
||||
<xsd:element name="binCount" type="xsd:unsignedInt"/>
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="intervalClosed" type="ST_IntervalClosedSide" use="optional"/>
|
||||
<xsd:attribute name="underflow" type="ST_DoubleOrAutomatic" use="optional"/>
|
||||
<xsd:attribute name="overflow" type="ST_DoubleOrAutomatic" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_EntityType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="Address"/>
|
||||
<xsd:enumeration value="AdminDistrict"/>
|
||||
<xsd:enumeration value="AdminDistrict2"/>
|
||||
<xsd:enumeration value="AdminDistrict3"/>
|
||||
<xsd:enumeration value="Continent"/>
|
||||
<xsd:enumeration value="CountryRegion"/>
|
||||
<xsd:enumeration value="Locality"/>
|
||||
<xsd:enumeration value="Ocean"/>
|
||||
<xsd:enumeration value="Planet"/>
|
||||
<xsd:enumeration value="PostalCode"/>
|
||||
<xsd:enumeration value="Region"/>
|
||||
<xsd:enumeration value="Unsupported"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_GeoLocationQuery">
|
||||
<xsd:attribute name="countryRegion" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="adminDistrict1" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="adminDistrict2" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="postalCode" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Address">
|
||||
<xsd:attribute name="address1" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="countryRegion" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="adminDistrict1" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="adminDistrict2" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="postalCode" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="locality" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="isoCountryCode" type="xsd:string" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoLocation">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="address" type="CT_Address" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="latitude" type="xsd:double" use="optional"/>
|
||||
<xsd:attribute name="longitude" type="xsd:double" use="optional"/>
|
||||
<xsd:attribute name="entityName" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoLocations">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoLocation" type="CT_GeoLocation" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoLocationQueryResult">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoLocationQuery" type="CT_GeoLocationQuery" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoLocations" type="CT_GeoLocations" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoLocationQueryResults">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoLocationQueryResult" type="CT_GeoLocationQueryResult" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoPolygon">
|
||||
<xsd:attribute name="polygonId" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="numPoints" type="xsd:integer" use="required"/>
|
||||
<xsd:attribute name="pcaRings" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoPolygons">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoPolygon" type="CT_GeoPolygon" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Copyrights">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="copyright" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoData">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoPolygons" type="CT_GeoPolygons" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="copyrights" type="CT_Copyrights" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="entityName" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="east" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="west" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="north" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="south" type="xsd:double" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataEntityQuery">
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataEntityQueryResult">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoDataEntityQuery" type="CT_GeoDataEntityQuery" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoData" type="CT_GeoData" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataEntityQueryResults">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoDataEntityQueryResult" type="CT_GeoDataEntityQueryResult" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataPointQuery">
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
<xsd:attribute name="latitude" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="longitude" type="xsd:double" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataPointToEntityQuery">
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataPointToEntityQueryResult">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoDataPointQuery" type="CT_GeoDataPointQuery" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoDataPointToEntityQuery" type="CT_GeoDataPointToEntityQuery" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoDataPointToEntityQueryResults">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoDataPointToEntityQueryResult" type="CT_GeoDataPointToEntityQueryResult" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoChildTypes">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="entityType" type="ST_EntityType" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoChildEntitiesQuery">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoChildTypes" type="CT_GeoChildTypes" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoHierarchyEntity">
|
||||
<xsd:attribute name="entityName" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoChildEntities">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoHierarchyEntity" type="CT_GeoHierarchyEntity" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoChildEntitiesQueryResult">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoChildEntitiesQuery" type="CT_GeoChildEntitiesQuery" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoChildEntities" type="CT_GeoChildEntities" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoChildEntitiesQueryResults">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoChildEntitiesQueryResult" type="CT_GeoChildEntitiesQueryResult" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoParentEntitiesQuery">
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoEntity">
|
||||
<xsd:attribute name="entityName" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="entityType" type="ST_EntityType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoParentEntity">
|
||||
<xsd:attribute name="entityId" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoParentEntitiesQueryResult">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoParentEntitiesQuery" type="CT_GeoParentEntitiesQuery" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="geoEntity" type="CT_GeoEntity" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoParentEntity" type="CT_GeoParentEntity" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoParentEntitiesQueryResults">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoParentEntitiesQueryResult" type="CT_GeoParentEntitiesQueryResult" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Clear">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoLocationQueryResults" type="CT_GeoLocationQueryResults" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoDataEntityQueryResults" type="CT_GeoDataEntityQueryResults" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoDataPointToEntityQueryResults" type="CT_GeoDataPointToEntityQueryResults" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoChildEntitiesQueryResults" type="CT_GeoChildEntitiesQueryResults" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="geoParentEntitiesQueryResults" type="CT_GeoParentEntitiesQueryResults" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_GeoCache">
|
||||
<xsd:choice minOccurs="1" maxOccurs="unbounded">
|
||||
<xsd:element name="binary" type="xsd:base64Binary" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="clear" type="CT_Clear" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="provider" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_GeoProjectionType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="mercator"/>
|
||||
<xsd:enumeration value="miller"/>
|
||||
<xsd:enumeration value="robinson"/>
|
||||
<xsd:enumeration value="albers"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_GeoMappingLevel">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="dataOnly"/>
|
||||
<xsd:enumeration value="postalCode"/>
|
||||
<xsd:enumeration value="county"/>
|
||||
<xsd:enumeration value="state"/>
|
||||
<xsd:enumeration value="countryRegion"/>
|
||||
<xsd:enumeration value="countryRegionList"/>
|
||||
<xsd:enumeration value="world"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Geography">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="geoCache" type="CT_GeoCache" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="projectionType" type="ST_GeoProjectionType" use="optional"/>
|
||||
<xsd:attribute name="viewedRegionType" type="ST_GeoMappingLevel" use="optional"/>
|
||||
<xsd:attribute name="cultureLanguage" type="xsd:language" use="required"/>
|
||||
<xsd:attribute name="cultureRegion" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="attribution" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_QuartileMethod">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="inclusive"/>
|
||||
<xsd:enumeration value="exclusive"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Statistics">
|
||||
<xsd:attribute name="quartileMethod" type="ST_QuartileMethod" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_SubtotalIndex">
|
||||
<xsd:attribute name="val" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Subtotals">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="idx" type="CT_SubtotalIndex" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_SeriesLayoutProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="parentLabelLayout" type="CT_ParentLabelLayout" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="regionLabelLayout" type="CT_RegionLabelLayout" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="visibility" type="CT_SeriesElementVisibilities" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="0" maxOccurs="1">
|
||||
<xsd:element name="aggregation" type="CT_Aggregation" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="binning" type="CT_Binning" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="geography" type="CT_Geography" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="statistics" type="CT_Statistics" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="subtotals" type="CT_Subtotals" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataPoint">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_DataLabelPos">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="bestFit"/>
|
||||
<xsd:enumeration value="b"/>
|
||||
<xsd:enumeration value="ctr"/>
|
||||
<xsd:enumeration value="inBase"/>
|
||||
<xsd:enumeration value="inEnd"/>
|
||||
<xsd:enumeration value="l"/>
|
||||
<xsd:enumeration value="outEnd"/>
|
||||
<xsd:enumeration value="r"/>
|
||||
<xsd:enumeration value="t"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_ValueColorPositionCount">
|
||||
<xsd:restriction base="xsd:int">
|
||||
<xsd:minInclusive value="2"/>
|
||||
<xsd:maxInclusive value="3"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ExtremeValueColorPosition"/>
|
||||
<xsd:complexType name="CT_NumberColorPosition">
|
||||
<xsd:attribute name="val" type="xsd:double" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PercentageColorPosition">
|
||||
<xsd:attribute name="val" type="xsd:double" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ValueColorEndPosition">
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="extremeValue" type="CT_ExtremeValueColorPosition"/>
|
||||
<xsd:element name="number" type="CT_NumberColorPosition"/>
|
||||
<xsd:element name="percent" type="CT_PercentageColorPosition"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ValueColorMiddlePosition">
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="number" type="CT_NumberColorPosition"/>
|
||||
<xsd:element name="percent" type="CT_PercentageColorPosition"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ValueColorPositions">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="min" type="CT_ValueColorEndPosition" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="mid" type="CT_ValueColorMiddlePosition" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="max" type="CT_ValueColorEndPosition" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="count" type="ST_ValueColorPositionCount" use="optional" default="2"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataLabelVisibilities">
|
||||
<xsd:attribute name="seriesName" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="categoryName" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="value" type="xsd:boolean" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataLabel">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="numFmt" type="CT_NumberFormat" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="visibility" type="CT_DataLabelVisibilities" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="separator" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
|
||||
<xsd:attribute name="pos" type="ST_DataLabelPos" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataLabelHidden">
|
||||
<xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataLabels">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="numFmt" type="CT_NumberFormat" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="visibility" type="CT_DataLabelVisibilities" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="separator" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dataLabel" type="CT_DataLabel" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="dataLabelHidden" type="CT_DataLabelHidden" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="pos" type="ST_DataLabelPos" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Series">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tx" type="CT_Text" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="valueColors" type="CT_ValueColors" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="valueColorPositions" type="CT_ValueColorPositions" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dataPt" type="CT_DataPoint" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="dataLabels" type="CT_DataLabels" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="dataId" type="CT_DataId" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="layoutPr" type="CT_SeriesLayoutProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="axisId" type="ST_AxisId" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="layoutId" type="ST_SeriesLayout" use="required"/>
|
||||
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="0"/>
|
||||
<xsd:attribute name="ownerIdx" type="xsd:unsignedInt" use="optional"/>
|
||||
<xsd:attribute name="uniqueId" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="formatIdx" type="xsd:unsignedInt" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Legend">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="offset" type="CT_Offset" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="pos" type="ST_SidePos" use="optional" default="r"/>
|
||||
<xsd:attribute name="align" type="ST_PosAlign" use="optional" default="ctr"/>
|
||||
<xsd:attribute name="overlay" type="xsd:boolean" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PlotSurface">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PlotAreaRegion">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="plotSurface" type="CT_PlotSurface" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="series" type="CT_Series" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PlotArea">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="plotAreaRegion" type="CT_PlotAreaRegion" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="axis" type="CT_Axis" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Chart">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="title" type="CT_ChartTitle" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="plotArea" type="CT_PlotArea" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="legend" type="CT_Legend" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FormatOverride">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_FormatOverrides">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="fmtOvr" type="CT_FormatOverride" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_HeaderFooter">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="oddHeader" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="oddFooter" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="evenHeader" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="evenFooter" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="firstHeader" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="firstFooter" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="alignWithMargins" type="xsd:boolean" use="optional" default="true"/>
|
||||
<xsd:attribute name="differentOddEven" type="xsd:boolean" use="optional" default="false"/>
|
||||
<xsd:attribute name="differentFirst" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PageMargins">
|
||||
<xsd:attribute name="l" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="r" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="t" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="b" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="header" type="xsd:double" use="required"/>
|
||||
<xsd:attribute name="footer" type="xsd:double" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_PageOrientation">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="default"/>
|
||||
<xsd:enumeration value="portrait"/>
|
||||
<xsd:enumeration value="landscape"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_PageSetup">
|
||||
<xsd:attribute name="paperSize" type="xsd:unsignedInt" use="optional" default="1"/>
|
||||
<xsd:attribute name="firstPageNumber" type="xsd:unsignedInt" use="optional" default="1"/>
|
||||
<xsd:attribute name="orientation" type="ST_PageOrientation" use="optional" default="default"/>
|
||||
<xsd:attribute name="blackAndWhite" type="xsd:boolean" use="optional" default="false"/>
|
||||
<xsd:attribute name="draft" type="xsd:boolean" use="optional" default="false"/>
|
||||
<xsd:attribute name="useFirstPageNumber" type="xsd:boolean" use="optional" default="false"/>
|
||||
<xsd:attribute name="horizontalDpi" type="xsd:int" use="optional" default="600"/>
|
||||
<xsd:attribute name="verticalDpi" type="xsd:int" use="optional" default="600"/>
|
||||
<xsd:attribute name="copies" type="xsd:unsignedInt" use="optional" default="1"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PrintSettings">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="headerFooter" type="CT_HeaderFooter" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="pageMargins" type="CT_PageMargins" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="pageSetup" type="CT_PageSetup" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ChartSpace">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="chartData" type="CT_ChartData" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="chart" type="CT_Chart" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="clrMapOvr" type="a:CT_ColorMapping" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="fmtOvrs" type="CT_FormatOverrides" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="printSettings" type="CT_PrintSettings" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="version" type="xsd:string" use="optional" default="0.0"/>
|
||||
<xsd:attribute name="featureList" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="fallbackImg" type="xsd:string" use="optional" default=""/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="chartSpace" type="CT_ChartSpace"/>
|
||||
<xsd:element name="chart" type="CT_RelId"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.23, http://schemas.microsoft.com/office/drawing/2014/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/55a2958e-599f-46a0-8812-029155d485cb -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" targetNamespace="http://schemas.microsoft.com/office/drawing/2014/main" xmlns="http://schemas.microsoft.com/office/drawing/2014/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:complexType name="CT_CreationId">
|
||||
<xsd:attribute name="id" type="s:ST_Guid" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PredecessorDrawingElementReference">
|
||||
<xsd:attribute name="pred" type="s:ST_Guid" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ConnectableReferences">
|
||||
<xsd:attribute name="st" type="s:ST_Guid" use="optional"/>
|
||||
<xsd:attribute name="end" type="s:ST_Guid" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="creationId" type="CT_CreationId"/>
|
||||
<xsd:element name="predDERef" type="CT_PredecessorDrawingElementReference"/>
|
||||
<xsd:element name="cxnDERefs" type="CT_ConnectableReferences"/>
|
||||
<xsd:complexType name="CT_Identifier">
|
||||
<xsd:attribute name="val" type="xsd:unsignedInt" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="rowId" type="CT_Identifier"/>
|
||||
<xsd:element name="colId" type="CT_Identifier"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.42, http://schemas.microsoft.com/office/drawing/2015/06/chart Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/4a7a3cd6-1782-4b99-b223-5a811e505d73 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" targetNamespace="http://schemas.microsoft.com/office/drawing/2015/06/chart" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns="http://schemas.microsoft.com/office/drawing/2015/06/chart" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chart" schemaLocation="../ISO-IEC29500-4_2016/dml-chart.xsd"/>
|
||||
<xsd:attribute name="formatcode2" type="s:ST_Xstring"/>
|
||||
<xsd:element name="formatcode2" type="s:ST_Xstring"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.26, http://schemas.microsoft.com/office/drawing/2016/11/diagram Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/8607d4b7-2dc8-45e7-9317-808373935e47 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2016/11/diagram" xmlns="http://schemas.microsoft.com/office/drawing/2016/11/diagram" xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/diagram" schemaLocation="../ISO-IEC29500-4_2016/dml-diagram.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_STorageType">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="sibTrans"/>
|
||||
<xsd:enumeration value="parTrans"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_DiagramAutoBullet">
|
||||
<xsd:group ref="a:EG_TextBullet" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:attribute name="prefix" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="leadZeros" type="xsd:boolean" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_NumberDiagramInfo">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="buPr" type="CT_DiagramAutoBullet" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="lvl" type="xsd:unsignedInt" use="required"/>
|
||||
<xsd:attribute name="ptType" type="ST_STorageType" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_NumberDiagramInfoList">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="autoBuNodeInfo" type="CT_NumberDiagramInfo" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="autoBuNodeInfoLst" type="CT_NumberDiagramInfoList"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.25, http://schemas.microsoft.com/office/drawing/2016/11/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/96e8cdeb-7774-461b-957e-09b7ec8e2765 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2016/11/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns="http://schemas.microsoft.com/office/drawing/2016/11/main">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_PictureAttributionSourceURL">
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="picAttrSrcUrl" type="CT_PictureAttributionSourceURL"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.30, http://schemas.microsoft.com/office/drawing/2016/12/diagram Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/e2d5dcbc-cb93-40b9-896d-46033bc2711c -->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/office/drawing/2016/12/diagram" xmlns="http://schemas.microsoft.com/office/drawing/2016/12/diagram" elementFormDefault="qualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties"/>
|
||||
<xsd:element name="lstStyle" type="a:CT_TextListStyle"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.24, http://schemas.microsoft.com/office/drawing/2016/SVG/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/cc083f6d-bc38-4ff4-b32a-5bc97df8addc -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2016/SVG/main" elementFormDefault="qualified" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/drawing/2016/SVG/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_SVGBlip">
|
||||
<xsd:attributeGroup ref="a:AG_Blob"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="svgBlip" type="CT_SVGBlip"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.28, http://schemas.microsoft.com/office/drawing/2016/ink Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/9fb2d49d-0881-4e7d-8b38-95373d76302c -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:simpleType name="ST_ExtendedBrushPropertyName">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="inkEffects"/>
|
||||
<xsd:enumeration value="anchorX"/>
|
||||
<xsd:enumeration value="anchorY"/>
|
||||
<xsd:enumeration value="scaleFactor"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_InkEffectsType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="none"/>
|
||||
<xsd:enumeration value="pencil"/>
|
||||
<xsd:enumeration value="rainbow"/>
|
||||
<xsd:enumeration value="galaxy"/>
|
||||
<xsd:enumeration value="gold"/>
|
||||
<xsd:enumeration value="silver"/>
|
||||
<xsd:enumeration value="lava"/>
|
||||
<xsd:enumeration value="ocean"/>
|
||||
<xsd:enumeration value="rosegold"/>
|
||||
<xsd:enumeration value="bronze"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.31, http://schemas.microsoft.com/office/drawing/2017/03/chart Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/07ad9d54-eb9e-4d52-831e-aa6487b295c2 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2017/03/chart" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns="http://schemas.microsoft.com/office/drawing/2017/03/chart" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/chart" schemaLocation="../ISO-IEC29500-4_2016/dml-chart.xsd"/>
|
||||
<xsd:complexType name="CT_BooleanFalse">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_DataDisplayOptions16">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="dispNaAsBlank" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="dataDisplayOptions16" type="CT_DataDisplayOptions16"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.32, http://schemas.microsoft.com/office/drawing/2017/decorative Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/6146d89f-9146-415b-99e2-39e694b5a980 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2017/decorative" xmlns="http://schemas.microsoft.com/office/drawing/2017/decorative" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:complexType name="CT_Decorative">
|
||||
<xsd:attribute name="val" type="xsd:boolean" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="decorative" type="CT_Decorative"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,148 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.29, http://schemas.microsoft.com/office/drawing/2017/model3d Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/6c414e62-4825-4100-9ca1-88fefc5fb699 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2017/model3d" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:a1611="http://schemas.microsoft.com/office/drawing/2016/11/main" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:a3danim="http://schemas.microsoft.com/office/drawing/2018/animation/model3d" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2016/11/main" schemaLocation="drawing-2016-11-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2018/animation/model3d" schemaLocation="drawing-2018-animation-model3d.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_PositiveRatio">
|
||||
<xsd:attribute name="n" type="xsd:unsignedLong" use="required"/>
|
||||
<xsd:attribute name="d" type="xsd:unsignedLong" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Rotate3D">
|
||||
<xsd:attribute name="ax" type="a:ST_Angle" use="optional" default="0"/>
|
||||
<xsd:attribute name="ay" type="a:ST_Angle" use="optional" default="0"/>
|
||||
<xsd:attribute name="az" type="a:ST_Angle" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Scale3D">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="sx" type="a:CT_Ratio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="sy" type="a:CT_Ratio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="sz" type="a:CT_Ratio" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Model3DTransform">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="meterPerModelUnit" type="CT_PositiveRatio" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="preTrans" type="a:CT_Vector3D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="scale" type="CT_Scale3D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="rot" type="CT_Rotate3D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="postTrans" type="a:CT_Vector3D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_OrthographicProjection">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="sz" type="CT_PositiveRatio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PerspectiveProjection">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="fov" type="a:ST_FOVAngle" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Model3DCamera">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pos" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="up" type="a:CT_Vector3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="lookAt" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="orthographic" type="CT_OrthographicProjection"/>
|
||||
<xsd:element name="perspective" type="CT_PerspectiveProjection"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Model3DRaster">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="blip" type="a:CT_Blip" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="rName" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="rVer" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ObjectViewport">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="viewportSz" type="a:ST_PositiveCoordinate" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_WindowViewport">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_AmbientLight">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="clr" type="a:CT_Color" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="illuminance" type="CT_PositiveRatio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PointLight">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="clr" type="a:CT_Color" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="intensity" type="CT_PositiveRatio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="pos" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/>
|
||||
<xsd:attribute name="rad" type="a:ST_PositiveCoordinate" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_SpotLight">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="clr" type="a:CT_Color" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="intensity" type="CT_PositiveRatio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="pos" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="lookAt" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/>
|
||||
<xsd:attribute name="rad" type="a:ST_PositiveCoordinate" use="required"/>
|
||||
<xsd:attribute name="spotAng" type="a:ST_FOVAngle" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="ST_AngularRadius">
|
||||
<xsd:restriction base="a:ST_Angle">
|
||||
<xsd:minInclusive value="0"/>
|
||||
<xsd:maxInclusive value="5400000"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_DirectionalLight">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="clr" type="a:CT_Color" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="illuminance" type="CT_PositiveRatio" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="pos" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="lookAt" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/>
|
||||
<xsd:attribute name="angularRad" type="ST_AngularRadius" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_UnknownLight"/>
|
||||
<xsd:complexType name="CT_Model3D">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="camera" type="CT_Model3DCamera" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="trans" type="CT_Model3DTransform" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="attrSrcUrl" type="a1611:CT_PictureAttributionSourceURL" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="raster" type="CT_Model3DRaster" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="objViewport" type="CT_ObjectViewport"/>
|
||||
<xsd:element name="winViewport" type="CT_WindowViewport"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="ambientLight" type="CT_AmbientLight" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:element name="ptLight" type="CT_PointLight"/>
|
||||
<xsd:element name="spotLight" type="CT_SpotLight"/>
|
||||
<xsd:element name="dirLight" type="CT_DirectionalLight"/>
|
||||
<xsd:element name="unkLight" type="CT_UnknownLight"/>
|
||||
</xsd:choice>
|
||||
</xsd:sequence>
|
||||
<xsd:attributeGroup ref="a:AG_Blob"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="model3d" type="CT_Model3D"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.34, http://schemas.microsoft.com/office/drawing/2018/animation/model3d Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/c939a613-ae17-423a-9d33-7fb2e07b7b7f -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2018/animation/model3d" xmlns="http://schemas.microsoft.com/office/drawing/2018/animation/model3d" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:aanim="http://schemas.microsoft.com/office/drawing/2018/animation" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2018/animation" schemaLocation="drawing-2018-animation.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_EmbeddedAnimationID">
|
||||
<xsd:restriction base="xsd:unsignedInt"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_EmbeddedAnimation">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="animPr" type="aanim:CT_AnimationProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="animId" type="ST_EmbeddedAnimationID" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_PosterFrame">
|
||||
<xsd:attribute name="animId" use="required" type="ST_EmbeddedAnimationID"/>
|
||||
<xsd:attribute name="frame" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="embedAnim" type="CT_EmbeddedAnimation"/>
|
||||
<xsd:element name="posterFrame" type="CT_PosterFrame"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.35, http://schemas.microsoft.com/office/drawing/2018/animation Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/901a7e62-aa4a-48a0-9ecb-cf2401a2b47a -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2018/animation" xmlns="http://schemas.microsoft.com/office/drawing/2018/animation" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_AnimationName">
|
||||
<xsd:restriction base="xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_Indefinite">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="indefinite"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_PlayCount">
|
||||
<xsd:union memberTypes="xsd:unsignedInt ST_Indefinite"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_UniversalTimeOffset">
|
||||
<xsd:restriction base="xsd:string"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_AnimationProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="optional" default="" type="ST_AnimationName"/>
|
||||
<xsd:attribute name="length" use="required" type="ST_UniversalTimeOffset"/>
|
||||
<xsd:attribute name="count" type="ST_PlayCount" use="optional" default="1"/>
|
||||
<xsd:attribute name="auto" type="xsd:boolean" use="optional" default="true"/>
|
||||
<xsd:attribute name="offset" type="ST_UniversalTimeOffset" use="optional" default="0"/>
|
||||
<xsd:attribute name="st" type="ST_UniversalTimeOffset" use="optional" default="0"/>
|
||||
<xsd:attribute name="end" type="ST_UniversalTimeOffset" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="animPr" type="CT_AnimationProperties"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.33, http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/014fbc20-3705-4812-b8cd-93f5af05b504 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" xmlns="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:simpleType name="ST_HyperlinkColor">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="hlink"/>
|
||||
<xsd:enumeration value="tx"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_HyperlinkColor">
|
||||
<xsd:attribute name="val" type="ST_HyperlinkColor" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="hlinkClr" type="CT_HyperlinkColor"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.36, http://schemas.microsoft.com/office/drawing/2018/sketchyshapes Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/8d84ecec-8b42-42d7-a51a-ca81862b0dd3 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2018/sketchyshapes" xmlns="http://schemas.microsoft.com/office/drawing/2018/sketchyshapes" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:complexType name="CT_Empty"/>
|
||||
<xsd:simpleType name="ST_LineSketchSeed">
|
||||
<xsd:restriction base="xsd:unsignedInt"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:group name="EG_LineSketchType">
|
||||
<xsd:choice>
|
||||
<xsd:element name="lineSketchNone" type="CT_Empty"/>
|
||||
<xsd:element name="lineSketchCurved" type="CT_Empty"/>
|
||||
<xsd:element name="lineSketchFreehand" type="CT_Empty"/>
|
||||
<xsd:element name="lineSketchScribble" type="CT_Empty"/>
|
||||
</xsd:choice>
|
||||
</xsd:group>
|
||||
<xsd:complexType name="CT_LineSketchTypeProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="EG_LineSketchType" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_LineSketchStyleProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="a:EG_Geometry" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element type="CT_LineSketchTypeProperties" name="type" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="seed" type="ST_LineSketchSeed" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="sd" type="ST_LineSketchSeed" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="lineSketchStyleProps" type="CT_LineSketchStyleProperties"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.37, http://schemas.microsoft.com/office/drawing/2020/classificationShape Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1f3ad775-d46f-4c60-8457-04121d909fe3 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2020/classificationShape" xmlns="http://schemas.microsoft.com/office/drawing/2020/classificationShape" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_ClassificationOutcomeType">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="none"/>
|
||||
<xsd:enumeration value="hdr"/>
|
||||
<xsd:enumeration value="ftr"/>
|
||||
<xsd:enumeration value="watermark"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_ClassificationOutcome">
|
||||
<xsd:attribute name="classificationOutcomeType" type="ST_ClassificationOutcomeType" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="classification" type="CT_ClassificationOutcome"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.40, http://schemas.microsoft.com/office/drawing/2021/livefeed Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/2084bd49-c84a-4779-b7b6-331902b88dfe -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2021/livefeed" xmlns="http://schemas.microsoft.com/office/drawing/2021/livefeed" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:complexType name="CT_BackgroundNormalProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_BackgroundRemovedProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_BackgroundBlurProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_BackgroundCustomProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:group name="EG_LiveFeedBackgrounds">
|
||||
<xsd:choice>
|
||||
<xsd:element name="Normal" type="CT_BackgroundNormalProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="Removed" type="CT_BackgroundRemovedProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="Blur" type="CT_BackgroundBlurProperties" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="Custom" type="CT_BackgroundCustomProperties" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
</xsd:group>
|
||||
<xsd:complexType name="CT_LiveFeedBackgroundProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:group ref="EG_LiveFeedBackgrounds" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_LiveFeedProperties">
|
||||
<xsd:sequence>
|
||||
<xsd:element type="CT_LiveFeedBackgroundProperties" name="backgroundProps" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="liveFeedProps" type="CT_LiveFeedProperties"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.39, http://schemas.microsoft.com/office/drawing/2021/scriptlink Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/f830ed7e-a16f-4863-9112-711c02e00269 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2021/scriptlink" xmlns="http://schemas.microsoft.com/office/drawing/2021/scriptlink" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:complexType name="CT_ScriptLink">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="val" type="xsd:string" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="scriptLink" type="CT_ScriptLink"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.41, http://schemas.microsoft.com/office/drawing/2022/imageformula Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/0c47e53f-d2a7-457d-b7a0-26c7544dd7b2 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/drawing/2022/imageformula" xmlns="http://schemas.microsoft.com/office/drawing/2022/imageformula" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:complexType name="CT_ImageFormula">
|
||||
<xsd:attribute name="formula" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="imageFormula" type="CT_ImageFormula"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.9, http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/ec810aeb-26c0-4f32-a6a4-59abb9a0398f -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" xmlns="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:xdr14="http://xldr14SchemaUri" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main" schemaLocation="drawing-2010-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_ApplicationNonVisualDrawingProps">
|
||||
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ContentPartNonVisual">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvContentPartPr" type="a14:CT_NonVisualInkContentPartProperties" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_ContentPart">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="nvContentPartPr" type="CT_ContentPartNonVisual" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="nvPr" type="CT_ApplicationNonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional" default="auto"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="contentPart" type="CT_ContentPart"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.7, http://schemas.microsoft.com/ink/2010/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/b0e5b36b-68a8-4fd4-874c-e5e187ba574f -->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/ink/2010/main" xmlns="http://schemas.microsoft.com/ink/2010/main" xmlns:msink="http://schemas.microsoft.com/ink/2010/main">
|
||||
<xsd:simpleType name="ST_KnownCtxNodeType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="root"/>
|
||||
<xsd:enumeration value="unclassifiedInk"/>
|
||||
<xsd:enumeration value="writingRegion"/>
|
||||
<xsd:enumeration value="analysisHint"/>
|
||||
<xsd:enumeration value="object"/>
|
||||
<xsd:enumeration value="inkDrawing"/>
|
||||
<xsd:enumeration value="image"/>
|
||||
<xsd:enumeration value="paragraph"/>
|
||||
<xsd:enumeration value="line"/>
|
||||
<xsd:enumeration value="inkBullet"/>
|
||||
<xsd:enumeration value="inkWord"/>
|
||||
<xsd:enumeration value="textWord"/>
|
||||
<xsd:enumeration value="customRecognizer"/>
|
||||
<xsd:enumeration value="mathRegion"/>
|
||||
<xsd:enumeration value="mathEquation"/>
|
||||
<xsd:enumeration value="mathStruct"/>
|
||||
<xsd:enumeration value="mathSymbol"/>
|
||||
<xsd:enumeration value="mathIdentifier"/>
|
||||
<xsd:enumeration value="mathOperator"/>
|
||||
<xsd:enumeration value="mathNumber"/>
|
||||
<xsd:enumeration value="nonInkDrawing"/>
|
||||
<xsd:enumeration value="groupNode"/>
|
||||
<xsd:enumeration value="mixedDrawing"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_Guid">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:pattern value="\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_Ref">
|
||||
<xsd:union memberTypes="msink:ST_Guid xsd:unsignedInt"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_CtxNodeType">
|
||||
<xsd:union memberTypes="msink:ST_KnownCtxNodeType msink:ST_Guid"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_Dir">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="to"/>
|
||||
<xsd:enumeration value="from"/>
|
||||
<xsd:enumeration value="with"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_KnownSemanticType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="none"/>
|
||||
<xsd:enumeration value="underline"/>
|
||||
<xsd:enumeration value="strikethrough"/>
|
||||
<xsd:enumeration value="highlight"/>
|
||||
<xsd:enumeration value="scratchOut"/>
|
||||
<xsd:enumeration value="verticalRange"/>
|
||||
<xsd:enumeration value="callout"/>
|
||||
<xsd:enumeration value="enclosure"/>
|
||||
<xsd:enumeration value="comment"/>
|
||||
<xsd:enumeration value="container"/>
|
||||
<xsd:enumeration value="connector"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_SemanticType">
|
||||
<xsd:union memberTypes="ST_KnownSemanticType xsd:unsignedInt"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_Point">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern value="-?[0-9]+,-?[0-9]+"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_Points">
|
||||
<xsd:list itemType="msink:ST_Point"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_Property">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:hexBinary">
|
||||
<xsd:attribute name="type" type="ST_Guid"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_CtxLink">
|
||||
<xsd:attribute name="direction" type="ST_Dir"/>
|
||||
<xsd:attribute name="ref" type="ST_Ref"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_CtxNode">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="property" type="CT_Property" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="sourceLink" type="CT_CtxLink" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="destinationLink" type="CT_CtxLink" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="ST_Guid" use="optional"/>
|
||||
<xsd:attribute name="type" type="ST_CtxNodeType" use="required"/>
|
||||
<xsd:attribute name="rotatedBoundingBox" type="ST_Points" use="optional"/>
|
||||
<xsd:attribute name="alignmentLevel" type="xsd:int" use="optional" default="0"/>
|
||||
<xsd:attribute name="contentType" type="xsd:int" use="optional" default="0"/>
|
||||
<xsd:attribute name="ascender" type="ST_Points" use="optional" default="0,0"/>
|
||||
<xsd:attribute name="descender" type="ST_Points" use="optional" default="0,0"/>
|
||||
<xsd:attribute name="baseline" type="ST_Points" use="optional" default="0,0"/>
|
||||
<xsd:attribute name="midline" type="ST_Points" use="optional" default="0,0"/>
|
||||
<xsd:attribute name="customRecognizerId" type="ST_Guid" use="optional"/>
|
||||
<xsd:attribute name="mathML" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="mathStruct" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="mathSymbol" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="beginModifierType" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="endModifierType" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="rotationAngle" type="xsd:int" use="optional" default="0"/>
|
||||
<xsd:attribute name="hotPoints" type="ST_Points" use="optional"/>
|
||||
<xsd:attribute name="centroid" type="ST_Point" use="optional"/>
|
||||
<xsd:attribute name="semanticType" type="ST_SemanticType" use="optional" default="none"/>
|
||||
<xsd:attribute name="shapeName" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="shapeGeometry" type="ST_Points" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="context" type="CT_CtxNode"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.17, http://schemas.microsoft.com/office/thememl/2012/main Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/de6e746a-c9e3-48ad-884a-774aac2ad80d -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" targetNamespace="http://schemas.microsoft.com/office/thememl/2012/main" elementFormDefault="qualified" xmlns="http://schemas.microsoft.com/office/thememl/2012/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_ThemeFamily">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="id" type="s:ST_Guid" use="required"/>
|
||||
<xsd:attribute name="vid" type="s:ST_Guid" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="themeFamily" type="CT_ThemeFamily"/>
|
||||
<xsd:attribute name="id" type="s:ST_Guid"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-OFFMACRO2] 5.1, http://schemas.microsoft.com/office/word/2006/wordml Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-offmacro2/230e441a-0a5b-4c4c-8239-0a446f235101 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" elementFormDefault="qualified"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns="http://schemas.microsoft.com/office/word/2006/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2006/wordml">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:import id="rel" namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:element name="vbaSuppData" type="CT_VbaSuppData"/>
|
||||
<!-- Not in [MS-OFFMACRO2]: the wordprocessingShape schema refers to it, from a schema Microsoft hasn't published -->
|
||||
<xsd:element name="txbxContent" type="w:CT_TxbxContent"/>
|
||||
<xsd:complexType name="CT_DocEvents">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="eventDocNew" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocOpen" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocClose" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocSync" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocXmlAfterInsert" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocXmlBeforeDelete" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocContentControlAfterInsert" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocContentControlBeforeDelete" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocContentControlOnExit" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocContentControlOnEnter" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocStoreUpdate" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocContentControlContentUpdate" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="eventDocBuildingBlockAfterInsert" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Mcd">
|
||||
<xsd:attribute name="macroName" type="s:ST_String" use="optional"/>
|
||||
<xsd:attribute name="name" type="s:ST_String" use="optional"/>
|
||||
<xsd:attribute name="menuHelp" type="s:ST_String" use="optional"/>
|
||||
<xsd:attribute name="bEncrypt" type="w:ST_UcharHexNumber"/>
|
||||
<xsd:attribute name="cmg" type="w:ST_UcharHexNumber"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_Mcds">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="mcd" type="CT_Mcd" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_VbaSuppData">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="docEvents" type="CT_DocEvents" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="mcds" type="CT_Mcds" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.3, http://schemas.microsoft.com/office/word/2010/wordml Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/20b04a8a-b93e-4ecd-9522-96d4bb1847c8 -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/word/2010/wordml" xmlns="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main" schemaLocation="drawing-2010-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_WordContentPartNonVisual">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="cNvContentPartPr" type="a14:CT_NonVisualInkContentPartProperties" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_WordContentPart">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="nvContentPartPr" type="CT_WordContentPartNonVisual" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional"/>
|
||||
<xsd:attribute ref="r:id" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="contentPart" type="CT_WordContentPart"/>
|
||||
</xsd:schema>
|
||||
@@ -1,8 +1,13 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns="http://schemas.microsoft.com/office/word/2010/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2010/wordml">
|
||||
<!-- <xsd:import id="rel" namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="orel.xsd"/> -->
|
||||
<xsd:import id="w" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<!-- <xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="oartbasetypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="oartsplineproperties.xsd"/> -->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.1, http://schemas.microsoft.com/office/word/2010/wordml Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/9704b59f-bc49-4618-ac66-41beb82a0d7f -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" attributeFormDefault="qualified" blockDefault="#all" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/word/2010/wordml">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import id="rel" namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:import id="w" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<!-- The rest of this namespace, from [MS-ODRAWXML] 5.3 -->
|
||||
<xsd:include schemaLocation="wml-2010-contentPart.xsd"/>
|
||||
<xsd:complexType name="CT_LongHexNumber">
|
||||
<xsd:attribute name="val" type="w:ST_LongHexNumber" use="required"/>
|
||||
</xsd:complexType>
|
||||
@@ -24,7 +29,7 @@
|
||||
<xsd:attribute name="textId" type="w:ST_LongHexNumber"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attribute name="anchorId" type="w:ST_LongHexNumber"/>
|
||||
<xsd:attribute name="noSpellErr" type="ST_OnOff"/>
|
||||
<xsd:attribute name="noSpellErr" type="s:ST_OnOff"/>
|
||||
<xsd:element name="customXmlConflictInsRangeStart" type="w:CT_TrackChange"/>
|
||||
<xsd:element name="customXmlConflictInsRangeEnd" type="w:CT_Markup"/>
|
||||
<xsd:element name="customXmlConflictDelRangeStart" type="w:CT_TrackChange"/>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2012/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2012/wordml">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.2, http://schemas.microsoft.com/office/word/2012/wordml Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/d416013d-c112-44fa-8bef-7819b8898117 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2012/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2012/wordml">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:element name="color" type="w12:CT_Color"/>
|
||||
<xsd:simpleType name="ST_SdtAppearance">
|
||||
<xsd:restriction base="xsd:string">
|
||||
@@ -21,7 +24,7 @@
|
||||
<xsd:complexType name="CT_CommentEx">
|
||||
<xsd:attribute name="paraId" type="w12:ST_LongHexNumber" use="required"/>
|
||||
<xsd:attribute name="paraIdParent" type="w12:ST_LongHexNumber" use="optional"/>
|
||||
<xsd:attribute name="done" type="w12:ST_OnOff" use="optional"/>
|
||||
<xsd:attribute name="done" type="s:ST_OnOff" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="commentsEx" type="CT_CommentsEx"/>
|
||||
<xsd:complexType name="CT_People">
|
||||
@@ -37,7 +40,7 @@
|
||||
<xsd:sequence>
|
||||
<xsd:element name="presenceInfo" type="CT_PresenceInfo" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="author" type="w12:ST_String" use="required"/>
|
||||
<xsd:attribute name="author" type="s:ST_String" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="people" type="CT_People"/>
|
||||
<xsd:complexType name="CT_SdtRepeatedSection">
|
||||
@@ -62,5 +65,5 @@
|
||||
<xsd:element name="footnoteColumns" type="w12:CT_DecimalNumber"/>
|
||||
<xsd:element name="webExtensionLinked" type="w12:CT_OnOff"/>
|
||||
<xsd:element name="webExtensionCreated" type="w12:CT_OnOff"/>
|
||||
<xsd:attribute name="restartNumberingAfterBreak" type="w12:ST_OnOff"/>
|
||||
<xsd:attribute name="restartNumberingAfterBreak" type="s:ST_OnOff"/>
|
||||
</xsd:schema>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2018/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2018/wordml">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.5, http://schemas.microsoft.com/office/word/2018/wordml Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/6970e332-57ff-4ab5-a9a4-3b8834bbc477 -->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2018/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2018/wordml">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:complexType name="CT_Extension">
|
||||
<xsd:sequence>
|
||||
<xsd:any processContents="lax"/>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.10, http://schemas.microsoft.com/office/word/2026/wordml/cei Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/4c5c0c9a-50e6-4d50-a387-9e5aceecd2f9 -->
|
||||
<xsd:schema xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2026/wordml/cei" targetNamespace="http://schemas.microsoft.com/office/word/2026/wordml/cei" elementFormDefault="qualified" attributeFormDefault="qualified">
|
||||
<xsd:import id="w16" namespace="http://schemas.microsoft.com/office/word/2018/wordml" schemaLocation="wml-2018.xsd"/>
|
||||
<xsd:complexType name="CT_CommentEntityInfo">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="w16:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="entityType" type="xsd:unsignedInt" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="commentEntityInfo" type="CT_CommentEntityInfo"/>
|
||||
</xsd:schema>
|
||||
@@ -1,6 +1,9 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2018/wordml/cex" targetNamespace="http://schemas.microsoft.com/office/word/2018/wordml/cex">
|
||||
<xsd:import id="w16" namespace="http://schemas.microsoft.com/office/word/2018/wordml" schemaLocation="word16.xsd"/>
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.6, http://schemas.microsoft.com/office/word/2018/wordml/cex Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/0df7c115-b22a-4e09-bab7-4f24fbb8e6f5 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2018/wordml/cex" targetNamespace="http://schemas.microsoft.com/office/word/2018/wordml/cex">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import id="w16" namespace="http://schemas.microsoft.com/office/word/2018/wordml" schemaLocation="wml-2018.xsd"/>
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:complexType name="CT_CommentsExtensible">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="commentExtensible" type="CT_CommentExtensible" minOccurs="0" maxOccurs="unbounded"/>
|
||||
@@ -13,7 +16,7 @@
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="durableId" type="w12:ST_LongHexNumber" use="required"/>
|
||||
<xsd:attribute name="dateUtc" type="w12:ST_DateTime" use="optional"/>
|
||||
<xsd:attribute name="intelligentPlaceholder" type="w12:ST_OnOff" use="optional"/>
|
||||
<xsd:attribute name="intelligentPlaceholder" type="s:ST_OnOff" use="optional"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="commentsExtensible" type="CT_CommentsExtensible"/>
|
||||
</xsd:schema>
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2016/wordml/cid" targetNamespace="http://schemas.microsoft.com/office/word/2016/wordml/cid">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.4, http://schemas.microsoft.com/office/word/2016/wordml/cid Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/8e395dbe-ff70-43c3-b9fe-e758c8f69683 -->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2016/wordml/cid" targetNamespace="http://schemas.microsoft.com/office/word/2016/wordml/cid">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:attributeGroup name="decimaldurableId">
|
||||
<xsd:attribute name="durableId" type="w12:ST_DecimalNumber" use="optional"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attribute name="durableId" type="w12:ST_LongHexNumber"/>
|
||||
<xsd:complexType name="CT_CommentsIds">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="commentId" type="CT_CommentId" minOccurs="0" maxOccurs="unbounded"/>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.8, http://schemas.microsoft.com/office/word/2023/wordml/word16du Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/e5d0aa0c-4ecc-40d9-a0e0-aac8655a8316 -->
|
||||
<xsd:schema xmlns="http://schemas.microsoft.com/office/word/2023/wordml/word16du" xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" attributeFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/word/2023/wordml/word16du">
|
||||
<xsd:attribute name="dateUtc" type="xsd:dateTime"/>
|
||||
</xsd:schema>
|
||||
@@ -1,4 +1,7 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" targetNamespace="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<xsd:attribute name="storeItemChecksum" type="w12:ST_String"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.7, http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/c865ba38-51df-45bc-91ae-f6beaffeb264 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" targetNamespace="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:attribute name="storeItemChecksum" type="s:ST_String"/>
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.9, http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/14bc8126-7c6e-41a8-b042-c199036e2339 -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock" targetNamespace="http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:attribute name="formattingAllowed" type="s:ST_OnOff"/>
|
||||
</xsd:schema>
|
||||
@@ -1,7 +1,10 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2015/wordml/symex" targetNamespace="http://schemas.microsoft.com/office/word/2015/wordml/symex">
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="word12.xsd"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-DOCX] 5.3, http://schemas.microsoft.com/office/word/2015/wordml/symex Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/372b619f-f0f4-463f-9d59-02ebb1c8956d -->
|
||||
<xsd:schema xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2015/wordml/symex" targetNamespace="http://schemas.microsoft.com/office/word/2015/wordml/symex">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
||||
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:complexType name="CT_SymEx">
|
||||
<xsd:attribute name="font" type="w12:ST_String"/>
|
||||
<xsd:attribute name="font" type="s:ST_String"/>
|
||||
<xsd:attribute name="char" type="w12:ST_LongHexNumber"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="symEx" type="CT_SymEx"/>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.5, http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/0af4dfe1-b07b-41eb-a48b-87aadd16b51b -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/word/2010/wordml" schemaLocation="wml-2010.xsd"/>
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" schemaLocation="word-2010-wordprocessingGroup.xsd"/>
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" schemaLocation="word-2010-wordprocessingShape.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/picture" schemaLocation="../ISO-IEC29500-4_2016/dml-picture.xsd"/>
|
||||
<xsd:complexType name="CT_WordprocessingCanvas">
|
||||
<xsd:sequence minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="bg" type="a:CT_BackgroundFormatting" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="whole" type="a:CT_WholeE2oFormatting" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:element ref="wps:wsp"/>
|
||||
<xsd:element ref="pic:pic"/>
|
||||
<xsd:element ref="w14:contentPart"/>
|
||||
<xsd:element ref="wpg:wgp"/>
|
||||
<xsd:element name="graphicFrame" type="wpg:CT_GraphicFrame"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="wpc" type="CT_WordprocessingCanvas"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.11, http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1a38a99a-16ae-420d-8c79-23dc2e922717 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:simpleType name="ST_SizeRelFromH">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="margin"/>
|
||||
<xsd:enumeration value="page"/>
|
||||
<xsd:enumeration value="leftMargin"/>
|
||||
<xsd:enumeration value="rightMargin"/>
|
||||
<xsd:enumeration value="insideMargin"/>
|
||||
<xsd:enumeration value="outsideMargin"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_SizeRelFromV">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="margin"/>
|
||||
<xsd:enumeration value="page"/>
|
||||
<xsd:enumeration value="topMargin"/>
|
||||
<xsd:enumeration value="bottomMargin"/>
|
||||
<xsd:enumeration value="insideMargin"/>
|
||||
<xsd:enumeration value="outsideMargin"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_SizeRelH">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pctWidth" type="a:ST_PositivePercentage" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="relativeFrom" type="ST_SizeRelFromH" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_SizeRelV">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pctHeight" type="a:ST_PositivePercentage" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="relativeFrom" type="ST_SizeRelFromV" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="pctPosHOffset" type="a:ST_Percentage"/>
|
||||
<xsd:element name="pctPosVOffset" type="a:ST_Percentage"/>
|
||||
<xsd:element name="sizeRelH" type="CT_SizeRelH"/>
|
||||
<xsd:element name="sizeRelV" type="CT_SizeRelV"/>
|
||||
<xsd:simpleType name="ST_EditId">
|
||||
<xsd:restriction base="xsd:hexBinary">
|
||||
<xsd:length value="4"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:attribute name="anchorId" type="ST_EditId"/>
|
||||
<xsd:attribute name="editId" type="ST_EditId"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.4, http://schemas.microsoft.com/office/word/2010/wordprocessingGroup Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/fbe733bf-85e2-46f9-b548-9292b44670ce -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" schemaLocation="word-2010-wordprocessingShape.xsd"/>
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/word/2010/wordml" schemaLocation="wml-2010.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/picture" schemaLocation="../ISO-IEC29500-4_2016/dml-picture.xsd"/>
|
||||
<xsd:complexType name="CT_GraphicFrame">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvFrPr" type="a:CT_NonVisualGraphicFrameProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_WordprocessingGroup">
|
||||
<xsd:sequence minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:element ref="wps:wsp"/>
|
||||
<xsd:element name="grpSp" type="CT_WordprocessingGroup"/>
|
||||
<xsd:element name="graphicFrame" type="CT_GraphicFrame"/>
|
||||
<xsd:element ref="pic:pic"/>
|
||||
<xsd:element ref="w14:contentPart"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="wgp" type="CT_WordprocessingGroup"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.2, http://schemas.microsoft.com/office/word/2010/wordprocessingShape Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/f73ea06d-4749-4611-b20b-755df087eb21 -->
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:rel="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
<xsd:import namespace="http://schemas.microsoft.com/office/word/2006/wordml" schemaLocation="wml-2006.xsd"/>
|
||||
<xsd:complexType name="CT_TextboxInfo">
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="w12:txbxContent" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element ref="wne:txbxContent" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="xsd:unsignedShort" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_LinkedTextboxInformation">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="xsd:unsignedShort" use="required"/>
|
||||
<xsd:attribute name="seq" type="xsd:unsignedShort" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_WordprocessingShape">
|
||||
<xsd:sequence minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="cNvCnPr" type="a:CT_NonVisualConnectorProperties" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:choice minOccurs="0" maxOccurs="1">
|
||||
<xsd:element name="txbx" type="CT_TextboxInfo" minOccurs="1" maxOccurs="1"/>
|
||||
<xsd:element name="linkedTxbx" type="CT_LinkedTextboxInformation" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:choice>
|
||||
<xsd:element name="bodyPr" type="a:CT_TextBodyProperties" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="normalEastAsianFlow" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="wsp" type="CT_WordprocessingShape"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.18, http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/44351d27-cd96-461b-89ae-3be25ed82425 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing" elementFormDefault="qualified" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/dml-main.xsd"/>
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="../ISO-IEC29500-4_2016/shared-relationshipReference.xsd"/>
|
||||
<xsd:complexType name="CT_WebVideoPr">
|
||||
<xsd:attribute name="embeddedHtml" type="xsd:string" use="optional" default=""/>
|
||||
<xsd:attribute name="h" type="xsd:unsignedInt" use="optional" default="0"/>
|
||||
<xsd:attribute name="w" type="xsd:unsignedInt" use="optional" default="0"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="webVideoPr" type="CT_WebVideoPr"/>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- [MS-ODRAWXML] 5.38, http://schemas.microsoft.com/office/word/2020/oembed Schema: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/b495a2c4-89bf-47e3-b165-dacb3508bb72 -->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/word/2020/oembed" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/office/word/2020/oembed">
|
||||
<xsd:complexType name="CT_OEmbed">
|
||||
<xsd:attribute name="oEmbedUrl" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="mediaType" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="picLocksAutoForOEmbed" type="xsd:boolean" use="optional" default="false"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="oembed" type="CT_OEmbed"/>
|
||||
</xsd:schema>
|
||||
@@ -1,3 +0,0 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes">
|
||||
<xsd:import namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
||||
</xsd:schema>
|
||||
Generated
+288
-546
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -111,8 +111,8 @@
|
||||
"@types/xml": "^1.0.8",
|
||||
"@typescript-eslint/eslint-plugin": "^8.8.1",
|
||||
"@typescript-eslint/parser": "^8.8.1",
|
||||
"@vitest/coverage-v8": "^4.1.7",
|
||||
"@vitest/ui": "^5.0.1",
|
||||
"@vitest/coverage-v8": "^5.0.2",
|
||||
"@vitest/ui": "^5.0.2",
|
||||
"cspell": "^10.0.0",
|
||||
"docsify-cli": "^5.0.0",
|
||||
"eslint": "^10.11.0",
|
||||
@@ -142,7 +142,7 @@
|
||||
"vite": "^8.0.0",
|
||||
"vite-plugin-dts": "^5.0.1",
|
||||
"vite-plugin-node-polyfills": "^0.28.0",
|
||||
"vitest": "^4.1.7"
|
||||
"vitest": "^5.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Runs the shape demos, checks their XML against the schemas, and draws each page as a PNG with LibreOffice.
|
||||
# Runs the shape demos, checks where their drawings' Word 2010 extensions are and that their drawing ids are unique,
|
||||
# and draws each page as a PNG with LibreOffice. The Demos workflow checks them with the Open XML SDK validator.
|
||||
#
|
||||
# Usage: scripts/render-shape-demos.sh [output directory] [demo ...]
|
||||
#
|
||||
# The output directory (default build/shape-demos) gets each demo's .docx, .pdf and one PNG per page.
|
||||
# Without demo names, all the shape demos are run. Needs the package built (npm run build) and xmllint.
|
||||
# Without demo names, all the shape demos are run. Needs the package built (npm run build) and perl.
|
||||
#
|
||||
# The pages are drawn with LibreOffice (set SOFFICE if soffice isn't on the PATH) and pdftoppm from Poppler.
|
||||
# When SHAPE_RENDER_IMAGE names a Docker image built from scripts/shape-demos/Dockerfile, they are drawn in
|
||||
@@ -13,9 +14,6 @@
|
||||
# docker build --platform linux/amd64 -t docx-shape-renderer scripts/shape-demos
|
||||
# SHAPE_RENDER_IMAGE=docx-shape-renderer scripts/render-shape-demos.sh
|
||||
# npm run run-ts -- scripts/compare-shape-renders.ts
|
||||
#
|
||||
# The bundled Microsoft schemas don't declare the Word 2010 wps/wpg/wpc namespaces, so the document is
|
||||
# checked against the ISO schemas' definitions of the same elements in the wp namespace. Needs perl.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -26,7 +24,6 @@ if [ ${#DEMOS[@]} -eq 0 ]; then
|
||||
DEMOS=(107-inline-shapes 108-shapes 109-shape-groups 110-shape-connectors 111-shape-styles 112-shape-diagrams 113-shape-layout 115-shape-document-styles 116-shape-swimlanes 117-shape-page-layout 118-theme 120-custom-shapes)
|
||||
fi
|
||||
SOFFICE="${SOFFICE:-soffice}"
|
||||
WP="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
||||
|
||||
mkdir -p "$OUT"
|
||||
# Pages left over from an earlier run would be compared as if they were new
|
||||
@@ -38,22 +35,10 @@ for demo in "${DEMOS[@]}"; do
|
||||
npm run --silent run-ts -- "./demo/$demo.ts"
|
||||
cp "My Document.docx" "$OUT/$demo.docx"
|
||||
|
||||
# Check the XML, with the Word 2010 drawing namespaces moved to the wp namespace. Content that has a fallback
|
||||
# (mc:AlternateContent) is checked twice: as read by applications that use the choice, and by those that don't
|
||||
# Where the Word 2010 drawing extensions (wp14) are: a floating drawing's relative sizes come after its graphic, and
|
||||
# a percentage offset is the choice for a position, with its offset in EMUs as the fallback
|
||||
extracted="$(mktemp -d)"
|
||||
unzip -q -o "$OUT/$demo.docx" -d "$extracted"
|
||||
|
||||
# The Word 2010 drawing extensions (wp14), which the ISO schemas don't have, are checked against their own schema,
|
||||
# and where they are: a floating drawing's relative sizes come after its graphic, and a percentage offset is the
|
||||
# choice for a position, with its offset in EMUs as the fallback
|
||||
perl -0ne 'print qq(<wp14:check xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing">);
|
||||
print "$1\n" while /(<wp14:(sizeRel[HV])\b.*?<\/wp14:\2>|<wp14:(pctPos[HV]Offset)>.*?<\/wp14:\3>)/gs;
|
||||
print "</wp14:check>\n"' "$extracted/word/document.xml" > "$extracted/wp14.xml"
|
||||
if ! xmllint --noout --schema scripts/shape-demos/wp14.xsd "$extracted/wp14.xml" 2> "$extracted/errors.txt"; then
|
||||
cat "$extracted/errors.txt"
|
||||
echo "::error::$demo has Word 2010 drawing extensions that don't match their schema"
|
||||
failed=1
|
||||
fi
|
||||
misplaced="$(perl -0ne '$all = () = /<wp14:(?:sizeRel[HV]|pctPos[HV]Offset)\b/g;
|
||||
$placed = () = /<wp:position([HV]) relativeFrom="\w+"><mc:AlternateContent><mc:Choice Requires="wp14"><wp14:pctPos\1Offset>-?\d+<\/wp14:pctPos\1Offset><\/mc:Choice><mc:Fallback><wp:posOffset>-?\d+<\/wp:posOffset><\/mc:Fallback><\/mc:AlternateContent><\/wp:position\1>/g;
|
||||
while (/<\/a:graphic>((?:<wp14:sizeRel[HV]\b.*?<\/wp14:sizeRel[HV]>)+)<\/wp:anchor>/gs) { my $sizes = $1; $placed += () = $sizes =~ /<wp14:sizeRel[HV]\b/g; }
|
||||
@@ -63,35 +48,6 @@ for demo in "${DEMOS[@]}"; do
|
||||
failed=1
|
||||
fi
|
||||
|
||||
for view in choice fallback; do
|
||||
if [ "$view" = choice ]; then
|
||||
keep='s#<mc:Fallback>.*?</mc:Fallback>##g; s#</?mc:(AlternateContent|Choice)[^>]*>##g'
|
||||
else
|
||||
keep='s#<mc:Choice [^>]*>.*?</mc:Choice>##g; s#</?mc:(AlternateContent|Fallback)[^>]*>##g'
|
||||
fi
|
||||
# Without the extensions, which were checked above: a percentage offset becomes an offset
|
||||
keep="$keep; s#<wp14:pctPos[HV]Offset>-?\d+</wp14:pctPos[HV]Offset>#<wp:posOffset>0</wp:posOffset>#g; s#<wp14:sizeRel([HV])\b.*?</wp14:sizeRel\1>##g"
|
||||
perl -pe "$keep" "$extracted/word/document.xml" |
|
||||
sed -e "s#http://schemas.microsoft.com/office/word/2010/wordprocessingShape#$WP#g" \
|
||||
-e "s#http://schemas.microsoft.com/office/word/2010/wordprocessingGroup#$WP#g" \
|
||||
-e "s#http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas#$WP#g" \
|
||||
-e "s#<w:txbxContent#<wps:txbxContent#g" \
|
||||
-e "s#</w:txbxContent>#</wps:txbxContent>#g" \
|
||||
> "$extracted/document-as-wp.xml"
|
||||
if ! xmllint --noout --schema ooxml-schemas/microsoft/wml-2010.xsd "$extracted/document-as-wp.xml" 2> "$extracted/errors.txt"; then
|
||||
cat "$extracted/errors.txt"
|
||||
echo "::error::$demo doesn't match the schema, read with the $view"
|
||||
failed=1
|
||||
fi
|
||||
done
|
||||
|
||||
# The document's theme
|
||||
if ! xmllint --noout --schema ooxml-schemas/ISO-IEC29500-4_2016/dml-main.xsd "$extracted/word/theme/theme1.xml" 2> "$extracted/errors.txt"; then
|
||||
cat "$extracted/errors.txt"
|
||||
echo "::error::$demo has a theme that doesn't match the schema"
|
||||
failed=1
|
||||
fi
|
||||
|
||||
# Drawing ids must be unique across the document
|
||||
repeated="$(grep -ho '\(wp:docPr\|wps:cNvPr\|pic:cNvPr\|wpg:cNvPr\) id="[0-9]*"' "$extracted"/word/*.xml | sed 's/.*id=//' | sort | uniq -d)"
|
||||
if [ -n "$repeated" ]; then
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
The Word 2010 drawing extensions (wp14) that shapes write, from [MS-ODRAWXML] 5.11, with the DrawingML percentages
|
||||
they use (a:ST_Percentage and a:ST_PositivePercentage, in thousandths of a percent), and an element, check, that holds
|
||||
them so render-shape-demos.sh can check them. The ISO schemas don't have them.
|
||||
-->
|
||||
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" elementFormDefault="qualified"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing">
|
||||
<xsd:simpleType name="ST_Percentage">
|
||||
<xsd:restriction base="xsd:int"/>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_PositivePercentage">
|
||||
<xsd:restriction base="ST_Percentage">
|
||||
<xsd:minInclusive value="0"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_SizeRelFromH">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="margin"/>
|
||||
<xsd:enumeration value="page"/>
|
||||
<xsd:enumeration value="leftMargin"/>
|
||||
<xsd:enumeration value="rightMargin"/>
|
||||
<xsd:enumeration value="insideMargin"/>
|
||||
<xsd:enumeration value="outsideMargin"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="ST_SizeRelFromV">
|
||||
<xsd:restriction base="xsd:token">
|
||||
<xsd:enumeration value="margin"/>
|
||||
<xsd:enumeration value="page"/>
|
||||
<xsd:enumeration value="topMargin"/>
|
||||
<xsd:enumeration value="bottomMargin"/>
|
||||
<xsd:enumeration value="insideMargin"/>
|
||||
<xsd:enumeration value="outsideMargin"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="CT_SizeRelH">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pctWidth" type="ST_PositivePercentage" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="relativeFrom" type="ST_SizeRelFromH" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="CT_SizeRelV">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="pctHeight" type="ST_PositivePercentage" minOccurs="1" maxOccurs="1"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="relativeFrom" type="ST_SizeRelFromV" use="required"/>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="pctPosHOffset" type="ST_Percentage"/>
|
||||
<xsd:element name="pctPosVOffset" type="ST_Percentage"/>
|
||||
<xsd:element name="sizeRelH" type="CT_SizeRelH"/>
|
||||
<xsd:element name="sizeRelV" type="CT_SizeRelV"/>
|
||||
<xsd:element name="check">
|
||||
<xsd:complexType>
|
||||
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:element ref="pctPosHOffset"/>
|
||||
<xsd:element ref="pctPosVOffset"/>
|
||||
<xsd:element ref="sizeRelH"/>
|
||||
<xsd:element ref="sizeRelV"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -374,5 +374,18 @@ describe("SectionProperties", () => {
|
||||
"w:textDirection": { _attr: { "w:val": "lrTb" } },
|
||||
});
|
||||
});
|
||||
|
||||
it("should write the previous section properties last, after the document grid, as the schema requires", () => {
|
||||
const properties = new SectionProperties({
|
||||
revision: {
|
||||
id: 1,
|
||||
author: "Firstname Lastname",
|
||||
date: "123",
|
||||
},
|
||||
});
|
||||
const tree = new Formatter().format(properties);
|
||||
const elements = (tree["w:sectPr"] as readonly Record<string, unknown>[]).map((child) => Object.keys(child)[0]);
|
||||
expect(elements.slice(-2)).to.deep.equal(["w:docGrid", "w:sectPrChange"]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -317,11 +317,12 @@ export class SectionProperties extends XmlComponent {
|
||||
this.root.push(new PageTextDirection(textDirection));
|
||||
}
|
||||
|
||||
this.root.push(createDocumentGrid({ linePitch, charSpace, type: gridType }));
|
||||
|
||||
// CT_SectPr puts the previous section properties after all the others
|
||||
if (revision) {
|
||||
this.root.push(new SectionPropertiesChange(revision));
|
||||
}
|
||||
|
||||
this.root.push(createDocumentGrid({ linePitch, charSpace, type: gridType }));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+44
-1
@@ -6,6 +6,7 @@ import { sectionMarginDefaults, sectionPageSizeDefaults } from "./document";
|
||||
import { File } from "./file";
|
||||
import { Footer, Header } from "./header";
|
||||
import { Paragraph, TextRun } from "./paragraph";
|
||||
import { createDefaultStyles } from "./styles/factory";
|
||||
|
||||
const PAGE_SIZE_DEFAULTS = {
|
||||
"w:h": sectionPageSizeDefaults.HEIGHT,
|
||||
@@ -641,6 +642,10 @@ describe("File", () => {
|
||||
<w:style w:type="paragraph" w:styleId="Heading1">
|
||||
<w:name w:val="heading 1"/>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Title">
|
||||
<w:name w:val="Title"/>
|
||||
</w:style>
|
||||
<w:docDefaults><w:rPrDefault/></w:docDefaults>
|
||||
</w:styles>`,
|
||||
styles: {
|
||||
default: {
|
||||
@@ -653,7 +658,45 @@ describe("File", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(doc.Styles).to.not.be.undefined;
|
||||
const tree = new Formatter().format(doc.Styles)["w:styles"];
|
||||
const names = tree.map((child: object) => Object.keys(child)[0]);
|
||||
const ids = tree.map(
|
||||
(child: { readonly "w:style"?: readonly { readonly _attr?: Record<string, string> }[] }) =>
|
||||
child["w:style"]?.find((part) => part._attr)?._attr?.["w:styleId"],
|
||||
);
|
||||
|
||||
// The external document defaults take the place of docx's, and come first
|
||||
expect(names.filter((name: string) => name === "w:docDefaults")).to.have.length(1);
|
||||
expect(tree[1]).to.deep.equal({ "w:docDefaults": [{ "w:rPrDefault": {} }] });
|
||||
// The external Title takes the place of docx's
|
||||
expect(ids.filter((id: string) => id === "Title")).to.have.length(1);
|
||||
expect(tree[ids.indexOf("Title")]).to.deep.equal({
|
||||
"w:style": [{ _attr: { "w:type": "paragraph", "w:styleId": "Title" } }, { "w:name": { _attr: { "w:val": "Title" } } }],
|
||||
});
|
||||
// The Heading1 given in styles.default takes the place of the external one, and docx's styles fill in the rest
|
||||
expect(ids.filter((id: string) => id === "Heading1")).to.have.length(1);
|
||||
expect(tree[ids.indexOf("Heading1")]).to.deep.equal(
|
||||
new Formatter().format(createDefaultStyles({ heading1: { run: { size: 28 } } }).heading1),
|
||||
);
|
||||
expect(ids).to.include("Heading2");
|
||||
});
|
||||
|
||||
it("should replace the external document defaults with those given in styles.default", () => {
|
||||
const doc = new File({
|
||||
sections: [],
|
||||
externalStyles: `
|
||||
<w:styles xmlns:w="main">
|
||||
<w:docDefaults><w:rPrDefault/></w:docDefaults>
|
||||
</w:styles>`,
|
||||
styles: { default: { document: { run: { font: "Arial" } } } },
|
||||
});
|
||||
|
||||
const tree = new Formatter().format(doc.Styles)["w:styles"];
|
||||
const defaults = tree.filter((child: object) => "w:docDefaults" in child);
|
||||
expect(defaults).to.deep.equal([
|
||||
new Formatter().format(createDefaultStyles({ document: { run: { font: "Arial" } } }).document),
|
||||
]);
|
||||
expect(tree[1]).to.deep.equal(defaults[0]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
+12
-4
@@ -27,8 +27,9 @@ import { Relationships } from "./relationships";
|
||||
import { Settings } from "./settings";
|
||||
import { Styles } from "./styles";
|
||||
import { ExternalStylesFactory } from "./styles/external-styles-factory";
|
||||
import { DefaultStylesFactory } from "./styles/factory";
|
||||
import { DefaultStylesFactory, createDefaultStyles } from "./styles/factory";
|
||||
import { Theme } from "./theme";
|
||||
import type { XmlComponent } from "./xml-components";
|
||||
|
||||
/**
|
||||
* Options for a document section.
|
||||
@@ -217,13 +218,20 @@ export class File {
|
||||
this.media = new Media();
|
||||
|
||||
if (options.externalStyles !== undefined) {
|
||||
const defaultFactory = new DefaultStylesFactory();
|
||||
const defaultStyles = defaultFactory.newInstance(options.styles?.default);
|
||||
const given = options.styles?.default ?? {};
|
||||
const defaultStyles = Object.entries(createDefaultStyles(given));
|
||||
const isGiven = ([key]: readonly [string, XmlComponent]): boolean => given[key as keyof typeof given] !== undefined;
|
||||
const externalFactory = new ExternalStylesFactory();
|
||||
const externalStyles = externalFactory.newInstance(options.externalStyles);
|
||||
// A style replaces an earlier one with its id. So the external styles replace docx's default styles, and the
|
||||
// default styles given in styles.default replace the external ones
|
||||
this.styles = new Styles({
|
||||
...externalStyles,
|
||||
importedStyles: [...defaultStyles.importedStyles!, ...externalStyles.importedStyles!],
|
||||
importedStyles: [
|
||||
...defaultStyles.filter((entry) => !isGiven(entry)).map(([, style]) => style),
|
||||
...externalStyles.importedStyles!,
|
||||
...defaultStyles.filter(isGiven).map(([, style]) => style),
|
||||
],
|
||||
});
|
||||
} else if (options.styles) {
|
||||
const stylesFactory = new DefaultStylesFactory();
|
||||
|
||||
@@ -220,4 +220,29 @@ describe("font", () => {
|
||||
]),
|
||||
});
|
||||
});
|
||||
|
||||
it("should write a lower-case font key in upper case, as ST_Guid only allows upper-case hex digits", () => {
|
||||
const tree = new Formatter().format(
|
||||
createFont({
|
||||
name: "Times New Roman",
|
||||
embedRegular: {
|
||||
id: "rId0",
|
||||
fontKey: "8fe2cf26-5e68-f0dc-37a8-b5d5c909da91",
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
expect(tree).toStrictEqual({
|
||||
"w:font": expect.arrayContaining([
|
||||
{
|
||||
"w:embedRegular": {
|
||||
_attr: {
|
||||
"r:id": "rId0",
|
||||
"w:fontKey": "{8FE2CF26-5E68-F0DC-37A8-B5D5C909DA91}",
|
||||
},
|
||||
},
|
||||
},
|
||||
]),
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -121,7 +121,8 @@ const createFontRelationship = ({ id, fontKey, subsetted }: IFontRelationshipOpt
|
||||
name,
|
||||
attributes: {
|
||||
id: { key: "r:id", value: id },
|
||||
...(fontKey ? { fontKey: { key: "w:fontKey", value: `{${fontKey}}` } } : {}),
|
||||
// ST_Guid only allows upper-case hex digits. The obfuscation reads the key's hex digits in either case
|
||||
...(fontKey ? { fontKey: { key: "w:fontKey", value: `{${fontKey.toUpperCase()}}` } } : {}),
|
||||
},
|
||||
children: [...(subsetted ? [new OnOffElement("w:subsetted", subsetted)] : [])],
|
||||
});
|
||||
|
||||
@@ -17,6 +17,11 @@ describe("obfuscate", () => {
|
||||
expect(buffer[0]).toBe(0xff);
|
||||
});
|
||||
|
||||
it("should obfuscate the same way with a lower-case key as with the upper-case key written in the font table", () => {
|
||||
const input = new Uint8Array(64).map((_, i) => i);
|
||||
expect(obfuscate(input, "8fe2cf26-5e68-f0dc-37a8-b5d5c909da91")).toEqual(obfuscate(input, "8FE2CF26-5E68-F0DC-37A8-B5D5C909DA91"));
|
||||
});
|
||||
|
||||
it("should throw error if uuid is not correct", () => {
|
||||
expect(() => obfuscate(Buffer.from(""), "bad-uuid")).toThrowError();
|
||||
});
|
||||
|
||||
@@ -67,13 +67,13 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "end",
|
||||
"w:val": "right",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 3,
|
||||
},
|
||||
},
|
||||
@@ -83,7 +83,7 @@ describe("AbstractNumbering", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("uses 'start' as the default alignment", () => {
|
||||
it("writes the default alignment, start, as left", () => {
|
||||
const abstractNumbering = new AbstractNumbering(1, [
|
||||
{
|
||||
level: 3,
|
||||
@@ -133,13 +133,13 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 3,
|
||||
},
|
||||
},
|
||||
@@ -208,13 +208,13 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "end",
|
||||
"w:val": "right",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 3,
|
||||
},
|
||||
},
|
||||
@@ -281,7 +281,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -298,7 +298,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -363,7 +363,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -381,7 +381,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -446,7 +446,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -463,7 +463,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -528,7 +528,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -545,7 +545,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -610,7 +610,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -627,7 +627,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -692,7 +692,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -709,7 +709,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -774,7 +774,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -798,7 +798,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -863,7 +863,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -885,7 +885,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -950,7 +950,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -972,7 +972,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1037,7 +1037,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1050,7 +1050,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1115,7 +1115,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1128,7 +1128,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1215,7 +1215,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1224,7 +1224,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1290,7 +1290,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1303,7 +1303,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1368,7 +1368,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1381,7 +1381,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1447,7 +1447,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1460,7 +1460,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1525,7 +1525,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1538,7 +1538,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1603,7 +1603,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1612,7 +1612,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1677,7 +1677,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1686,7 +1686,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1751,7 +1751,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1771,7 +1771,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1839,7 +1839,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1857,7 +1857,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -1937,7 +1937,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1946,7 +1946,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2027,7 +2027,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2036,7 +2036,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2047,99 +2047,26 @@ describe("AbstractNumbering", () => {
|
||||
});
|
||||
});
|
||||
|
||||
const highlightTests = [
|
||||
{
|
||||
highlight: HighlightColor.YELLOW,
|
||||
expected: [{ "w:highlight": { _attr: { "w:val": "yellow" } } }, { "w:highlightCs": { _attr: { "w:val": "yellow" } } }],
|
||||
},
|
||||
{
|
||||
highlight: HighlightColor.YELLOW,
|
||||
highlightComplexScript: true,
|
||||
expected: [{ "w:highlight": { _attr: { "w:val": "yellow" } } }, { "w:highlightCs": { _attr: { "w:val": "yellow" } } }],
|
||||
},
|
||||
{
|
||||
highlight: HighlightColor.YELLOW,
|
||||
highlightComplexScript: false,
|
||||
expected: [{ "w:highlight": { _attr: { "w:val": "yellow" } } }],
|
||||
},
|
||||
{
|
||||
highlight: HighlightColor.YELLOW,
|
||||
highlightComplexScript: "550099",
|
||||
expected: [{ "w:highlight": { _attr: { "w:val": "yellow" } } }, { "w:highlightCs": { _attr: { "w:val": "550099" } } }],
|
||||
},
|
||||
];
|
||||
highlightTests.forEach(({ highlight, highlightComplexScript, expected }) => {
|
||||
it(`#highlight ${highlight} cs ${highlightComplexScript}`, () => {
|
||||
const abstractNumbering = new AbstractNumbering(1, [
|
||||
{
|
||||
level: 0,
|
||||
format: LevelFormat.LOWER_ROMAN,
|
||||
text: "%0.",
|
||||
style: {
|
||||
run: { highlight, highlightComplexScript },
|
||||
},
|
||||
it("#highlight isn't written, since Office doesn't allow a level's number to be highlighted", () => {
|
||||
const abstractNumbering = new AbstractNumbering(1, [
|
||||
{
|
||||
level: 0,
|
||||
format: LevelFormat.LOWER_ROMAN,
|
||||
text: "%0.",
|
||||
style: {
|
||||
run: { highlight: HighlightColor.YELLOW, highlightComplexScript: true },
|
||||
},
|
||||
]);
|
||||
const tree = new Formatter().format(abstractNumbering);
|
||||
expect(tree).to.deep.equal({
|
||||
"w:abstractNum": [
|
||||
{
|
||||
_attr: {
|
||||
"w15:restartNumberingAfterBreak": 0,
|
||||
"w:abstractNumId": 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:multiLevelType": {
|
||||
_attr: {
|
||||
"w:val": "hybridMultilevel",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:lvl": [
|
||||
{
|
||||
"w:start": {
|
||||
_attr: {
|
||||
"w:val": 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:numFmt": {
|
||||
_attr: {
|
||||
"w:val": "lowerRoman",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:lvlText": {
|
||||
_attr: {
|
||||
"w:val": "%0.",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:rPr": expected,
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
},
|
||||
]);
|
||||
const tree = new Formatter().format(abstractNumbering);
|
||||
const level = tree["w:abstractNum"].find((child: object) => "w:lvl" in child)["w:lvl"];
|
||||
expect(level.map((child: object) => Object.keys(child)[0])).to.deep.equal([
|
||||
"w:start",
|
||||
"w:numFmt",
|
||||
"w:lvlText",
|
||||
"w:lvlJc",
|
||||
"_attr",
|
||||
]);
|
||||
});
|
||||
|
||||
const shadingTests = [
|
||||
@@ -2214,7 +2141,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2223,7 +2150,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2290,7 +2217,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2299,7 +2226,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2366,7 +2293,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2375,7 +2302,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2443,7 +2370,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2452,7 +2379,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2519,7 +2446,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2528,7 +2455,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2595,7 +2522,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2604,7 +2531,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
@@ -2670,7 +2597,7 @@ describe("AbstractNumbering", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2679,7 +2606,7 @@ describe("AbstractNumbering", () => {
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 0,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -23,6 +23,72 @@ describe("Level", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("writes its children in the schema's order", () => {
|
||||
const tree = new Formatter().format(
|
||||
new Level({
|
||||
level: 0,
|
||||
format: LevelFormat.DECIMAL,
|
||||
text: "%1.",
|
||||
suffix: LevelSuffix.SPACE,
|
||||
isLegalNumberingStyle: true,
|
||||
style: { style: "ListHeading", paragraph: { indent: { left: 720 } }, run: { bold: true } },
|
||||
}),
|
||||
);
|
||||
|
||||
expect(tree["w:lvl"].map((child: object) => Object.keys(child)[0])).to.deep.equal([
|
||||
"w:start",
|
||||
"w:numFmt",
|
||||
"w:pStyle",
|
||||
"w:isLgl",
|
||||
"w:suff",
|
||||
"w:lvlText",
|
||||
"w:lvlJc",
|
||||
"w:pPr",
|
||||
"w:rPr",
|
||||
"_attr",
|
||||
]);
|
||||
});
|
||||
|
||||
it("leaves highlight, math and revision out of its run properties, since Office doesn't allow them for a number", () => {
|
||||
const tree = new Formatter().format(
|
||||
new Level({
|
||||
level: 0,
|
||||
style: {
|
||||
run: {
|
||||
bold: true,
|
||||
highlight: "yellow",
|
||||
math: true,
|
||||
revision: { id: 1, author: "Firstname Lastname", date: "123", bold: false },
|
||||
},
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
expect(tree["w:lvl"].find((child: object) => "w:rPr" in child)).to.deep.equal({ "w:rPr": [{ "w:b": {} }, { "w:bCs": {} }] });
|
||||
});
|
||||
|
||||
describe("alignment", () => {
|
||||
const levelAlignment = (alignment: (typeof AlignmentType)[keyof typeof AlignmentType]): unknown =>
|
||||
new Formatter().format(new Level({ level: 0, alignment }))["w:lvl"].find((child: object) => "w:lvlJc" in child);
|
||||
|
||||
it("writes left, center and right as they are, since they're the only values Office allows for a level", () => {
|
||||
expect(levelAlignment(AlignmentType.LEFT)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "left" } } });
|
||||
expect(levelAlignment(AlignmentType.CENTER)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "center" } } });
|
||||
expect(levelAlignment(AlignmentType.RIGHT)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "right" } } });
|
||||
});
|
||||
|
||||
it("writes start as left and end as right", () => {
|
||||
expect(levelAlignment(AlignmentType.START)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "left" } } });
|
||||
expect(levelAlignment(AlignmentType.END)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "right" } } });
|
||||
});
|
||||
|
||||
it("writes the justified alignments as left", () => {
|
||||
expect(levelAlignment(AlignmentType.JUSTIFIED)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "left" } } });
|
||||
expect(levelAlignment(AlignmentType.DISTRIBUTE)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "left" } } });
|
||||
expect(levelAlignment(AlignmentType.THAI_DISTRIBUTE)).to.deep.equal({ "w:lvlJc": { _attr: { "w:val": "left" } } });
|
||||
});
|
||||
});
|
||||
|
||||
describe("isLegalNumberingStyle", () => {
|
||||
it("should work", () => {
|
||||
const concreteNumbering = new Level({
|
||||
@@ -45,13 +111,13 @@ describe("Level", () => {
|
||||
{
|
||||
"w:lvlJc": {
|
||||
_attr: {
|
||||
"w:val": "start",
|
||||
"w:val": "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
_attr: {
|
||||
"w15:tentative": 1,
|
||||
"w:tentative": 1,
|
||||
"w:ilvl": 9,
|
||||
},
|
||||
},
|
||||
|
||||
+33
-11
@@ -180,7 +180,7 @@ class LevelAttributes extends XmlAttributeComponent<{
|
||||
}> {
|
||||
protected readonly xmlKeys = {
|
||||
ilvl: "w:ilvl",
|
||||
tentative: "w15:tentative",
|
||||
tentative: "w:tentative",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -217,6 +217,20 @@ class LevelText extends XmlComponent {
|
||||
}
|
||||
}
|
||||
|
||||
// Office's schema only allows left, center and right for a level's number, where a paragraph's w:jc takes any
|
||||
// AlignmentType. So START and the justified alignments are written as left, and END as right
|
||||
const levelAlignment = (value: (typeof AlignmentType)[keyof typeof AlignmentType]): "left" | "center" | "right" => {
|
||||
switch (value) {
|
||||
case AlignmentType.CENTER:
|
||||
return "center";
|
||||
case AlignmentType.END:
|
||||
case AlignmentType.RIGHT:
|
||||
return "right";
|
||||
default:
|
||||
return "left";
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Alignment specification for level numbering.
|
||||
*/
|
||||
@@ -225,7 +239,7 @@ class LevelJc extends XmlComponent {
|
||||
super("w:lvlJc");
|
||||
this.root.push(
|
||||
new Attributes({
|
||||
val: value,
|
||||
val: levelAlignment(value),
|
||||
}),
|
||||
);
|
||||
}
|
||||
@@ -278,7 +292,10 @@ export type ILevelsOptions = {
|
||||
readonly format?: (typeof LevelFormat)[keyof typeof LevelFormat];
|
||||
/** Level text template with placeholders like %1, %2. */
|
||||
readonly text?: string;
|
||||
/** Text alignment for the numbering. */
|
||||
/**
|
||||
* Alignment of the level's number: left, center or right. START and the justified alignments are written as left,
|
||||
* and END as right, since Office doesn't allow the others here. Defaults to START.
|
||||
*/
|
||||
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
||||
/** Starting number for this level. */
|
||||
readonly start?: number;
|
||||
@@ -288,7 +305,10 @@ export type ILevelsOptions = {
|
||||
readonly isLegalNumberingStyle?: boolean;
|
||||
/** Run and paragraph style properties. */
|
||||
readonly style?: {
|
||||
/** Run style properties for the numbering text. */
|
||||
/**
|
||||
* Run style properties for the numbering text. Its highlight, math and revision aren't written, since Office
|
||||
* doesn't allow them for a level's number.
|
||||
*/
|
||||
readonly run?: IRunStylePropertiesOptions;
|
||||
/** Paragraph style properties for the level. */
|
||||
readonly paragraph?: ILevelParagraphStylePropertiesOptions;
|
||||
@@ -384,33 +404,35 @@ export class LevelBase extends XmlComponent {
|
||||
}: ILevelsOptions) {
|
||||
super("w:lvl");
|
||||
|
||||
// In CT_Lvl's order
|
||||
this.root.push(new NumberValueElement("w:start", decimalNumber(start)));
|
||||
|
||||
if (format) {
|
||||
this.root.push(new NumberFormat(format));
|
||||
}
|
||||
|
||||
if (suffix) {
|
||||
this.root.push(new Suffix(suffix));
|
||||
if (style?.style) {
|
||||
this.root.push(createParagraphStyle(style.style));
|
||||
}
|
||||
|
||||
if (isLegalNumberingStyle) {
|
||||
this.root.push(new IsLegalNumberingStyle());
|
||||
}
|
||||
|
||||
if (suffix) {
|
||||
this.root.push(new Suffix(suffix));
|
||||
}
|
||||
|
||||
if (text) {
|
||||
this.root.push(new LevelText(text));
|
||||
}
|
||||
|
||||
this.root.push(new LevelJc(alignment));
|
||||
|
||||
if (style?.style) {
|
||||
this.root.push(createParagraphStyle(style.style));
|
||||
}
|
||||
|
||||
// A level's paragraph properties are a definition, so no implicit `ListParagraph` reference belongs here.
|
||||
this.paragraphProperties = new ParagraphProperties(style && style.paragraph, { implicitListParagraphStyle: false });
|
||||
this.runProperties = new RunProperties(style && style.run);
|
||||
// Office's schema has no w:highlight, w:oMath or w:rPrChange in a level's run properties
|
||||
this.runProperties = new RunProperties(style?.run && { ...style.run, highlight: undefined, math: undefined, revision: undefined });
|
||||
|
||||
this.root.push(this.paragraphProperties);
|
||||
this.root.push(this.runProperties);
|
||||
|
||||
@@ -27,7 +27,7 @@ describe("Numbering", () => {
|
||||
expect(Object.keys(el)).to.have.lengthOf(1);
|
||||
expect(Object.keys(el["w:lvl"])).to.deep.equal(["_attr", "w:start", "w:lvlJc", "w:numFmt", "w:pPr", "w:rPr"]);
|
||||
expect(el["w:lvl"]).to.have.deep.members([
|
||||
{ _attr: { "w:ilvl": ix, "w15:tentative": 1 } },
|
||||
{ _attr: { "w:ilvl": ix, "w:tentative": 1 } },
|
||||
{ "w:start": [{ _attr: { "w:val": 1 } }] },
|
||||
{ "w:lvlJc": [{ _attr: { "w:val": "left" } }] },
|
||||
{ "w:numFmt": [{ _attr: { "w:val": "bullet" } }] },
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Border, ThematicBreak } from "./border";
|
||||
|
||||
describe("Border", () => {
|
||||
describe("#constructor", () => {
|
||||
it("should create", () => {
|
||||
it("should write the borders in the schema's order: top, left, bottom, right, between", () => {
|
||||
const border = new Border({
|
||||
top: {
|
||||
color: "FF0000",
|
||||
@@ -55,16 +55,6 @@ describe("Border", () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:bottom": {
|
||||
_attr: {
|
||||
"w:color": "FF0000",
|
||||
"w:space": 3,
|
||||
"w:sz": 4,
|
||||
"w:val": "wave",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:left": {
|
||||
_attr: {
|
||||
@@ -75,6 +65,16 @@ describe("Border", () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:bottom": {
|
||||
_attr: {
|
||||
"w:color": "FF0000",
|
||||
"w:space": 3,
|
||||
"w:sz": 4,
|
||||
"w:val": "wave",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"w:right": {
|
||||
_attr: {
|
||||
|
||||
@@ -70,18 +70,19 @@ export class Border extends IgnoreIfEmptyXmlComponent {
|
||||
public constructor(options: IBordersOptions) {
|
||||
super("w:pBdr");
|
||||
|
||||
// In the schema's order: top, left, bottom, right, between
|
||||
if (options.top) {
|
||||
this.root.push(createBorderElement("w:top", options.top));
|
||||
}
|
||||
|
||||
if (options.bottom) {
|
||||
this.root.push(createBorderElement("w:bottom", options.bottom));
|
||||
}
|
||||
|
||||
if (options.left) {
|
||||
this.root.push(createBorderElement("w:left", options.left));
|
||||
}
|
||||
|
||||
if (options.bottom) {
|
||||
this.root.push(createBorderElement("w:bottom", options.bottom));
|
||||
}
|
||||
|
||||
if (options.right) {
|
||||
this.root.push(createBorderElement("w:right", options.right));
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { LeaderType, TabStopType, createTabStop } from "./tab-stop";
|
||||
import { LeaderType, TabStopPosition, TabStopType, createTabStop } from "./tab-stop";
|
||||
|
||||
describe("LeftTabStop", () => {
|
||||
describe("#createTabStop()", () => {
|
||||
@@ -46,3 +46,19 @@ describe("RightTabStop", () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("TabStop position", () => {
|
||||
it("should write a position worked out as a fraction as whole twips, as ST_SignedTwipsMeasure requires", () => {
|
||||
const tabStop = createTabStop([
|
||||
{ type: TabStopType.RIGHT, position: TabStopPosition.MAX * 0.75 },
|
||||
{ type: TabStopType.LEFT, position: -100.5 },
|
||||
]);
|
||||
const tree = new Formatter().format(tabStop);
|
||||
expect(tree).to.deep.equal({
|
||||
"w:tabs": [
|
||||
{ "w:tab": { _attr: { "w:val": "right", "w:pos": 6769 } } },
|
||||
{ "w:tab": { _attr: { "w:val": "left", "w:pos": -101 } } },
|
||||
],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -8,12 +8,13 @@
|
||||
* @module
|
||||
*/
|
||||
import { BuilderElement, type XmlComponent } from "@file/xml-components";
|
||||
import { signedTwipsMeasureValue } from "@util/values";
|
||||
|
||||
/**
|
||||
* Definition for a single tab stop.
|
||||
*
|
||||
* @property type - The type of tab stop alignment
|
||||
* @property position - The position of the tab stop in twips
|
||||
* @property position - The position of the tab stop in twips. A fraction is rounded down to a whole number of twips
|
||||
* @property leader - Optional leader character to fill space before the tab
|
||||
*
|
||||
* @see {@link TabStop}
|
||||
@@ -21,7 +22,7 @@ import { BuilderElement, type XmlComponent } from "@file/xml-components";
|
||||
export type TabStopDefinition = {
|
||||
/** The type of tab stop alignment */
|
||||
readonly type: (typeof TabStopType)[keyof typeof TabStopType];
|
||||
/** The position of the tab stop in twips */
|
||||
/** The position of the tab stop in twips. A fraction is rounded down to a whole number of twips */
|
||||
readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
|
||||
/** Optional leader character to fill space before the tab */
|
||||
readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
|
||||
@@ -108,7 +109,8 @@ export const createTabStopItem = ({ type, position, leader }: TabStopDefinition)
|
||||
name: "w:tab",
|
||||
attributes: {
|
||||
val: { key: "w:val", value: type },
|
||||
pos: { key: "w:pos", value: position },
|
||||
// A whole number of twips, so a position worked out as a fraction, such as a quarter of the page, is still valid
|
||||
pos: { key: "w:pos", value: signedTwipsMeasureValue(position) },
|
||||
leader: { key: "w:leader", value: leader },
|
||||
},
|
||||
});
|
||||
|
||||
@@ -65,7 +65,7 @@ describe("MathIntegral", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("should create a MathIntegral with correct root key without sub-script and super-scripts", () => {
|
||||
it("should hide both limits, and still write them empty, without sub-script and super-scripts", () => {
|
||||
const mathIntegral = new MathIntegral({
|
||||
children: [new MathRun("1")],
|
||||
});
|
||||
@@ -82,13 +82,6 @@ describe("MathIntegral", () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"m:supHide": {
|
||||
_attr: {
|
||||
"m:val": 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"m:subHide": {
|
||||
_attr: {
|
||||
@@ -96,8 +89,21 @@ describe("MathIntegral", () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"m:supHide": {
|
||||
_attr: {
|
||||
"m:val": 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"m:sub": {},
|
||||
},
|
||||
{
|
||||
"m:sup": {},
|
||||
},
|
||||
{
|
||||
"m:e": [
|
||||
{
|
||||
|
||||
@@ -73,13 +73,9 @@ export class MathIntegral extends XmlComponent {
|
||||
}),
|
||||
);
|
||||
|
||||
if (!!options.subScript) {
|
||||
this.root.push(createMathSubScriptElement({ children: options.subScript }));
|
||||
}
|
||||
|
||||
if (!!options.superScript) {
|
||||
this.root.push(createMathSuperScriptElement({ children: options.superScript }));
|
||||
}
|
||||
// The schema needs both limits, so a hidden one is written empty
|
||||
this.root.push(createMathSubScriptElement({ children: options.subScript ?? [] }));
|
||||
this.root.push(createMathSuperScriptElement({ children: options.superScript ?? [] }));
|
||||
|
||||
this.root.push(createMathBase({ children: options.children }));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user