Using Xps Common Scenarios in Xps. Overview PrintingLoadingSerializingManipulating.

Slides:



Advertisements
Similar presentations
Sunday Business Systems Using Access More Efficiently Tips and tricks to make things easy.
Advertisements

SpreadsheetML Basics.
GO! with Microsoft® Excel e
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
With Microsoft ® Excel e © 2013 Pearson Education, Inc. Publishing as Prentice Hall1 Excel 2010 Chapter 9 Creating a Worksheet and Charting Data.
Module 10 WPF 2-D Graphics, Multimedia, and Printing.
 PowerPoint is a presentation graphics program that lets you create slide shows you can present by showing the slides on a computer or projection screen.
Introduction to PowerPoint
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Developing Rich Web Applications with Silverlight Mike Ormond Developer & Platform Group Microsoft Ltd
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
1 Computing for Todays Lecture 20 Yumei Huo Fall 2006.
1 of 6 Parts of Your Notebook Below is a graphic overview of the different parts of a OneNote 2007 notebook. Microsoft ® OneNote ® 2007 notebooks are digital.
1 of 3 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Microsoft Office Open XML Formats Brian Jones Lead Program Manager Microsoft Corporation.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
FIRST COURSE PowerPoint. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is PowerPoint? PowerPoint is a powerful presentation graphics.
Optimised Desktop Paul Butterworth Enterprise Technology Strategist Microsoft Corporation.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
Translator Module Overview The new Translator Module for WebIEP offers a means for producing high quality IEP forms printed in Spanish. The module is.
Adrian Ford Program Manager Microsoft Corporation PC15.
PYP002 Intro.to Computer Science Microsoft Word1 Lab 07 Creating Documents with Efficiency and Consistency.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
PowerPoint Lesson 4 Expanding on PowerPoint Basics
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication.
Feng Yuan Principal Software Development Engineer Microsoft Corporation.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
XP New Perspectives on Microsoft Office PowerPoint 2003 Tutorial 2 1 Microsoft Office PowerPoint 2003 Tutorial 2 – Applying and Modifying Text and Graphic.
Microsoft Confidential Gregg Brown| Lead Program Manager Windows Digital Documents Team | Microsoft Corporation XPS Overview and Demonstration.
 View Ribbon, Document Views group, click “Print Layout”  Standard working view for print documents  Default view in Word 2010  Shows you how your.
1 Sandcastle Documentation Compilers For Managed Class Libraries common) Enabling managed class library developers throughout the world to easily create.
Threat Management Gateway 2010 Questo sconosciuto? …ancora per poco! Manuela Polcaro Security Advisor.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 9 User Productivity Tools.
Creating Professional Looking Windows Forms Applications.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Microsoft FrontPage 2003 Illustrated Complete Working with Pictures.
Reporting in Microsoft Dynamics NAV 2009 NAMECOMPANY REPORTING.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Word Lesson 13 Sharing Documents Microsoft Office 2010 Advanced Cable / Morrison 1.
XPS Rasterization Service in Windows 7
Jennifer Stepler WDK Program Manager. Agenda Catalog signing vs. embedded signing. How to embed-sign: Getting Started Preparing your signing certificate.
Chapter 4: Create, Edit, and Perform Calculations in Reports Exploring Microsoft Office Access 2007.
Advanced Windows 8 Apps Using JavaScript Jump Start Exam Prep M5: Data, Files, and Encryption Michael Palermo Microsoft Technical Evangelist Jeremy.
XP New Perspectives on Microsoft PowerPoint 2002 Tutorial 2 1 Microsoft PowerPoint 2002 Tutorial 2 – Applying and Modifying Text and Graphic Objects.
Overview of Silverlight Mike Taulty Developer & Platform Group Microsoft Ltd
Microsoft Dynamics NAV 2009 and Architecture Overview Name Title Microsoft Corporation.
1 ADVANCED MICROSOFT POWERPOINT Lesson 9 – Importing and Exporting Information Microsoft Office 2003: Advanced.
PLACING AND LINKING GRAPHICS
Microsoft PowerPoint 2007 Part 5. Agenda Editing Presentation Masters Editing Notes and Handout Masters Exporting Outlines and Slides Presenting to a.
Task 2 Create Your Competition Entry Guidance Notes.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
CBA Unit 5 Presentations Definitions. Animation adding sound or special effects to the way text and objects move on and off a slide during a slide show.
Microsoft® Access Generate forms quickly 1 Modify controls in Layout View 2 Work with form sections 3 Modify controls in Design View 4 Add calculated.
Package! Publish! Print! Brian Adelberg Digital Document Solutions Software Development Lead Microsoft Corporation.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Details On The Longhorn Spool File Format. Outline Metro Packages Reach Package Structure Reach Markup Other Topics.
SharePoint lösningsområden Collaboration BusinessIntelligence Portal Business Processes Search ContentManagement PlatformServices.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Office 2010 Vol. 1, 2e PowerPoint Lecture to Accompany.
5/2/2018 1:53 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
5/25/2018 2:39 AM © 2006 Microsoft Corporation. All rights reserved.
Build /24/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Customizing your device experience with assigned access
ITEC 1001 Test 5 Review.
DAT381 Team Development with SQL Server 2005
4/20/2019 Share © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Make it real: Help your customers comply with the GDPR
Presentation transcript:

Using Xps Common Scenarios in Xps

Overview PrintingLoadingSerializingManipulating

Session Goals Outline Common Scenarios Highlight Developer Choices Warn of Common Mistakes

Printing PrintDialogXpsDocumentWriter SimpleControlled/Advanced SynchronousAsynchronous Works in Partial Trust Special Case for Partial Trust No Access to Print Tickets Access to Print Tickets

Print Queue Entry point to advanced printing Can be accessed from the Print Dialog Access to Print Capabilities Access to Status Access to default Print Ticket

Asynchronous Printing Progress call backs Cancel call backs Completion callbacks

Print Ticket Reading user settings from Print Tickets Associating print tickets during printing Acquiring default Print tickets No Print Ticket in Partial Trust De-serialization does not maintain print tickets

Orientation and Layout Objects may need to be translated to fit in the visible area. XPS Serialization does not re-layout based on orientation The drawing is clipped to the union of the viewable area and the rectangle defined by the fixed page size. Some Options Transform the Fixed Page Re-Layout the Fixed Page

Loading Xps Deferred Loading Using the Package Store Using Xaml Parser

Deferred Loading Documents and Pages are loaded on access The Fixed Class maintain only weak references

Package Store The Package Store prevents the need to continually re-open the Package to access the internal parts. Keep documents open until though displaying them. Creating an Xps Document with a stream requires the user to manage the Package Store Loading Xps Documents with out the package in the Package store works but is very slow.

Serialization Write once Fixed content Fonts are sub-set Some Fonts are restricted Documents can be interleaved for simultaneous production and consumption

Font Subsetting All the needed fonts are stored in the document. Only the needed glyphs are stored in the fonts. Printing might need different levels of granularity on sub-setting

Restricted Fonts Licensing Right Intent Installable embedding Restricted license embedding – Relationship Preview and print embedding - Obfuscated Editable embedding No subsetting Bitmap embedding only – glyphs converted to images

Interleaving Triggered by opening document with Write access. Used for simultaneous generation and consumption. Image Last option designed for Web consumption Image Last option designed for Web consumption

Processing Xps Documents DisplayingSigningMerging Generating Thumbnails

Displaying Xps Components Simple – DocumentViewer Pages are Visuals that can be displayed through visual brushes

Signing Acquiring a certificate Iterating the Signature Definitions Effectively using IsSignable Testing if a signature is valid

Merging New documents can be created from other documents This technique only works if the source documents are serialized (not formed in memory)

Generating Thumbnails Create a bitmap of a page by render to target Encode the bitmap to a jpeg using encoders Write the stream to an Xps Thumbnail © 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.