UNPKG

node-webodf

Version:

WebODF - JavaScript Document Engine http://webodf.org/

86 lines (85 loc) 6.21 kB
<!-- * Copyright (C) 2014 KO GmbH <copyright@kogmbh.com> * * @licstart * This file is part of WebODF. * * WebODF is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License (GNU AGPL) * as published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * WebODF is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with WebODF. If not, see <http://www.gnu.org/licenses/>. * @licend * * @source: http://www.webodf.org/ * @source: https://github.com/kogmbh/WebODF/ --> <layouttests xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" > <test name="simple_slide"> <input> <office:document-styles> <office:styles> <style:style style:name="Default-title" style:family="presentation"> <style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle"/> <style:paragraph-properties fo:text-align="center"/> <style:text-properties style:use-window-font-color="true" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Liberation Sans" fo:font-family="'Liberation Sans'" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="44pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" style:font-name-asian="WenQuanYi Zen Hei Sharp" style:font-family-asian="'WenQuanYi Zen Hei Sharp'" style:font-family-generic-asian="system" style:font-pitch-asian="variable" style:font-size-asian="44pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-name-complex="Lohit Devanagari" style:font-family-complex="'Lohit Devanagari'" style:font-family-generic-complex="system" style:font-pitch-complex="variable" style:font-size-complex="44pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/> </style:style> <style:style style:name="Default-subtitle" style:family="presentation"> <style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle"/> <style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-align="center" fo:text-indent="0cm"/> <style:text-properties style:use-window-font-color="true" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Liberation Sans" fo:font-family="'Liberation Sans'" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" style:font-name-asian="WenQuanYi Zen Hei Sharp" style:font-family-asian="'WenQuanYi Zen Hei Sharp'" style:font-family-generic-asian="system" style:font-pitch-asian="variable" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-name-complex="Lohit Devanagari" style:font-family-complex="'Lohit Devanagari'" style:font-family-generic-complex="system" style:font-pitch-complex="variable" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/> </style:style> </office:styles> <office:automatic-styles> <style:page-layout style:name="PM1"> <style:page-layout-properties fo:margin-top="0cm" fo:margin-bottom="0cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:page-width="28cm" fo:page-height="21cm" style:print-orientation="landscape"/> </style:page-layout> <style:style style:name="pr1" style:family="presentation" style:parent-style-name="Default-title"> <style:graphic-properties fo:min-height="3.506cm"/> </style:style> <style:style style:name="pr2" style:family="presentation" style:parent-style-name="Default-subtitle"> <style:graphic-properties draw:fill-color="#ffffff" fo:min-height="12.179cm"/> </style:style> <style:style style:name="Mdp1" style:family="drawing-page"> <style:drawing-page-properties draw:background-size="border" draw:fill="none"/> </style:style> </office:automatic-styles> <office:master-styles> <style:master-page style:name="Default" style:page-layout-name="PM1" draw:style-name="Mdp1"> </style:master-page> </office:master-styles> </office:document-styles> <office:presentation> <draw:page draw:name="page1" draw:master-page-name="Default"> <draw:frame presentation:style-name="pr1" draw:layer="layout" svg:width="25.199cm" svg:height="3.506cm" svg:x="1.4cm" svg:y="0.837cm" presentation:class="title"> <draw:text-box> <text:p>title</text:p> </draw:text-box> </draw:frame> <draw:frame presentation:style-name="pr2" draw:layer="layout" svg:width="25.199cm" svg:height="12.179cm" svg:x="1.4cm" svg:y="4.914cm" presentation:class="subtitle"> <draw:text-box> <text:p>text</text:p> </draw:text-box> </draw:frame> </draw:page> </office:presentation> </input> <layoutchecks> </layoutchecks> </test> </layouttests>