Public Types | Static Public Member Functions | List of all members
pdftron::PDF::Redactor Class Reference

#include <Redactor.h>

Public Types

typedef pdftron::PDF::Redaction Redaction
 
typedef pdftron::PDF::Appearance Appearance
 

Static Public Member Functions

static void Redact (PDFDoc &doc, const std::vector< Redaction > &red_arr, const Appearance &app, bool ext_neg_mode, bool page_coord_sys)
 
static void Redact (PDFDoc &doc, const std::vector< Redaction > &red_arr, const Appearance &app, bool ext_neg_mode)
 
static void Redact (PDFDoc &doc, const std::vector< Redaction > &red_arr, const Appearance &app)
 
static void Redact (PDFDoc &doc, const std::vector< Redaction > &red_arr)
 

Detailed Description

Definition at line 50 of file Redactor.h.

Member Typedef Documentation

Definition at line 54 of file Redactor.h.

Definition at line 53 of file Redactor.h.

Member Function Documentation

static void pdftron::PDF::Redactor::Redact ( PDFDoc doc,
const std::vector< Redaction > &  red_arr,
const Appearance app,
bool  ext_neg_mode,
bool  page_coord_sys 
)
static

Apply the redactions specified in red_array to the PDFDoc doc.

Parameters
doc- the document to redact
red_arr- an array of redaction regions.
app- optional parameter used to customize the appearance of the redaction overlay.
ext_neg_mode- if true, negative redactions expand beyond the page to remove content from other pages in the document. if false, the redaction will be localized to the given page.
page_coord_sys- if true, redaction coordinates are relative to the lower-left corner of the page, otherwise the redaction coordinates are defined in PDF user coordinate system (which may or may not coincide with page coordinates).
static void pdftron::PDF::Redactor::Redact ( PDFDoc doc,
const std::vector< Redaction > &  red_arr,
const Appearance app,
bool  ext_neg_mode 
)
static
static void pdftron::PDF::Redactor::Redact ( PDFDoc doc,
const std::vector< Redaction > &  red_arr,
const Appearance app 
)
static
static void pdftron::PDF::Redactor::Redact ( PDFDoc doc,
const std::vector< Redaction > &  red_arr 
)
static

The documentation for this class was generated from the following file:

© 2001-2019 PDFTron Systems Inc.