TinyButStrong - the PHP Template Engine
Categories > OpenTBS general MsOffice >

XPS files (XPS is a PDF competitor provided by Microsoft)

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Michal Tiller
Date: 2016-04-29
Time: 09:01

XPS files (XPS is a PDF competitor provided by Microsoft)

The subject is from OpenTBS documentation :) But how to use XPS as template?

I thing, OpenTBS does not autommatically reconize extension XPS. What I have to do?

XPS file structure is described here: http://www.codeproject.com/Articles/25376/Introduction-to-XPS-Part-of-n-of-too-many#XPSInternalStructure

Thank you.
By: Skrol29
Date: 2016-05-11
Time: 01:12

Re: XPS files (XPS is a PDF competitor provided by Microsoft)

I'm afraid is is quite impossible to us XPS as template, even if the content is XML.

Just like PDF, the XPS formats defines a contents by the commands to send to the printer.
Such commands are far away from the syntax of a content that can be edited by human approach.
For example, a piece of text is defined by its absolute position in the page, the name of the font, and where to stop if a picture covers a part of it.