Code Monkey home page Code Monkey logo

pdfrendering's Introduction

PDFRendering

Features • Specific device to design the PDF rendering • Configuration to set up the style, button image etc • Sub layout to render the content in PDF based on the configuration. Considerations: • The markup should be XHTML so that the pdf can be rendered. • CSS should be specifically written for PDF including the basic elements such as H1, H2 etc Usages: • Export product\recipe in specific format other than the web page. • Use the export feature in multiple devices • Server side processing.

Installation: Install the package using sitecore package installer. Configuration: • Set Configuration o Create a configuration item using the template (Template -> PDFView -> PDFConfiguration) o Set the export button image (This will be showed in the web page ) o Select the PDF style that will be applied o Select the device which is used for adding the PDF rendering. (Recommended to use PDF device which comes as part of this package) • Rendering Configuration o Select the page which has to be exported to PDF. It can be header if it’s applicable for all the pages. o Drop the sub layout from in the appropriate placeholder • Export Content o Browse the page o Onclick of the export button the content of the current page will be rendered as PDF o The styles will be included from the configuration. Tips: • Check the source code and integrate the control to any of the existing projects • Refer the iTextSharp documentation for more customization

pdfrendering's People

Contributors

premsriram avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.