Skip to content

surveyjs/survey-pdf

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SurveyJS PDF Export

Build Status Issues Closed issues

SurveyJS PDF Export is a client-side extension over the SurveyJS Library that enables users to save surveys as PDF documents.

Survey PDF Export

Features

  • Support for all built-in SurveyJS Library question types
  • Export of survey results
  • Interactive PDF documents that allow users to fill them
  • Automatic page breaks
  • Markdown support
  • Customizable page format and font
  • Header and footer support
  • An API to save a PDF document on the user's computer or get raw PDF content

Get Started

Resources

Build SurveyJS PDF Export from Sources

  1. Clone the repo

    git clone https://github.com/surveyjs/survey-pdf.git
    cd survey-pdf
    
  2. Install dependencies
    Make sure that you have Node.js v6.0.0 or later and npm v2.7.0 or later installed.

    npm install
    
  3. Build the library

    npm run build_prod
    

    You can find the built scripts and style sheets in the survey-pdf folder under the packages directory.

  4. Run test examples

    npm start
    

    This command runs a local HTTP server at http://localhost:7777/.

  5. Run unit tests

    npm test
    

Licensing

SurveyJS PDF Export is not available for free commercial usage. If you want to integrate it into your application, you must purchase a commercial license.