5 #ifndef PDFTRON_H_CPPPDFConvert
6 #define PDFTRON_H_CPPPDFConvert
18 #include <C/PDF/TRN_Convert.h>
182 static void FromXps(
PDFDoc & in_pdfdoc,
const char* buf,
size_t buf_sz);
1730 void SetPages(
int page_from,
int page_to);
1873 void SetPages(
int page_from,
int page_to);
1975 void SetPages(
int page_from,
int page_to);
2081 void SetPages(
int page_from,
int page_to);
2356 void SetClip(
double x1,
double y1,
double x2,
double y2);
2363 void SetPages(
const char* page_desc);
2513 static void Install(
const UString & in_printerName =
"PDFTron PDFNet");
2593 #include <Impl/Convert.inl>
2598 #endif // PDFTRON_H_CPPPDFConvert
StructuredOutputOptions::SectionConversionSetting GetHeadersAndFootersSetting()
void SetThumbnailSize(UInt32 size)
void SetSearchableImageSetting(SearchableImageSetting setting)
void SetSearchableImageSetting(SearchableImageSetting setting)
StructuredOutputOptions::SectionConversionSetting GetFootnotesSetting()
void SetFootnotesSetting(StructuredOutputOptions::SectionConversionSetting option)
void SetExternalLinks(bool enable)
void SetExternalParts(bool generate)
StructuredOutputOptions::SectionConversionSetting GetFootnotesSetting()
void SetPDFPassword(const UString &password)
void SetEmbedFonts(bool embed_fonts)
void SetPreferredOCREngine(OutputOptionsOCR::PreferredOCREngine engine)
void SetFlattenContent(enum Convert::FlattenFlag flatten)
void SetAnnots(bool enable)
static TemplateDocument CreateOfficeTemplate(const UString &in_filename, ConversionOptions *options)
void SetPages(const char *page_desc)
static void FromCAD(PDFDoc &in_pdfdoc, const UString &in_filename, CADConvertOptions *opts=0)
void SetCustomOCRLanguage(const UString &ocrlang)
void SetCreateXmlWrapper(bool xml)
void SetPreferredOCREngine(OutputOptionsOCR::PreferredOCREngine engine)
void SetFlattenThreshold(enum Convert::FlattenThresholdFlag threshold)
void SetGray(bool enable)
static void SetPrinterName(const UString &in_printerName="PDFTron PDFNet")
void SetExtractUsingZorder(bool use_zorder)
void SetRotate(enum Page::Rotate rotation)
void SetPages(int page_from, int page_to)
void SetFlattenMaximumImagePixels(UInt32 max_pixels)
void SetNonTableContent(bool non_tables)
static DocumentConversion StreamingPDFConversion(PDFDoc &in_pdfdoc, const UString &in_filename, ConversionOptions *options)
pdftron::PDF::ExcelOutputOptions ExcelOutputOptions
void SetSingleSheet(bool single_sheet)
void SetSimpleLists(bool enable)
void SetOpacityMaskWorkaround(bool opacity_render)
pdftron::PDF::HTMLOutputOptions HTMLOutputOptions
pdftron::PDF::WordOutputOptions WordOutputOptions
pdftron::PDF::XODOutputOptions XODOutputOptions
void SetSmooth(bool enable)
StructuredOutputOptions::SectionConversionSetting GetFootnotesSetting()
static void ToEmf(PDFDoc &in_pdfdoc, const UString &in_filename)
void SetPages(int page_from, int page_to)
static void FromXps(PDFDoc &in_pdfdoc, const UString &in_filename)
void SetPrioritizeVisualAppearance(bool replica)
void SetMaximumImagePixels(UInt32 max_pixels)
void SetThumbnailSize(UInt32 size)
void SetFootnotesSetting(StructuredOutputOptions::SectionConversionSetting option)
void SetRemoveCharPlacement(bool remove_char_placement)
void SetConnectHyphens(bool connect)
void SetPDFPassword(const UString &password)
static Reflow CreateReflow(Page &in_page, const UString &json_zones)
ConversionMonitor & operator=(const ConversionMonitor &other)
pdftron::PDF::XPSOutputOptions XPSOutputOptions
void SetCustomOCRLanguage(const UString &ocrlang)
void SetReportFile(const UString &path)
TRN_ConversionMonitor mp_impl
void SetCustomOCRLanguage(const UString &ocrlang)
static const UString GetPrinterName()
pdftron::PDF::Printer Printer
void SetPages(int page_from, int page_to)
void SetSearchableImageSetting(SearchableImageSetting setting)
static void FromEmf(PDFDoc &in_pdfdoc, const UString &in_filename)
void SetWordOutputFormat(WordOutputFormat format)
void SetOutputThumbnails(bool include_thumbs)
static UString PreferredOCRChoiceToString(PreferredOCREngine engine)
void SetMono(bool enable)
void SetScale(double scale)
static void ToPowerPoint(const UString &in_filename, const UString &out_path, const PowerPointOutputOptions &options)
void SetThickenLines(bool thicken)
static ConversionMonitor ToXodWithMonitor(PDFDoc &in_pdfdoc, const XODOutputOptions &options)
static void FromDICOM(PDFDoc &in_pdfdoc, const UString &in_filename, AdvancedImagingConvertOptions *opts=0)
void SetMaximumImagePixels(UInt32 max_pixels)
static void ToXod(const UString &in_filename, const UString &out_filename, const XODOutputOptions &options)
void SetTitle(const UString &title)
void SetFlattenDPI(UInt32 dpi)
pdftron::PDF::EPUBOutputOptions EPUBOutputOptions
void SetPDFPassword(const UString &password)
static void ToHtml(const UString &in_filename, const UString &out_path, const HTMLOutputOptions &options)
void SetImageDPI(UInt32 dpi)
StructuredOutputOptions::SectionConversionSetting GetHeadersAndFootersSetting()
void SetOverprint(PDFRasterizer::OverprintPreviewMode mode)
void SetDisableVerticalSplit(bool disable)
void SetPageSingleSheet(bool page_single)
void SetLanguage(OutputOptionsOCR::LanguageChoice language)
void SetLanguage(OutputOptionsOCR::LanguageChoice language)
void SetIndividualCharPlacement(bool individual_char_placement)
void SetFootnotesSetting(StructuredOutputOptions::SectionConversionSetting option)
void SetPrintMode(bool print_mode)
static void FromText(PDFDoc &in_pdfdoc, const UString &in_filename, const SDF::Obj &in_options=SDF::Obj())
void SetRenderPages(bool render)
void SetPalettized(bool enable)
static UString PageToHtmlZoned(const Page &page, const UString &json_zones)
void SetJPGQuality(UInt32 quality)
void SetHeadersAndFootersSetting(StructuredOutputOptions::SectionConversionSetting option)
void SetConnectHyphens(bool connect)
static void FromSVG(PDFDoc &in_pdfdoc, const UString &in_filename, SVGConvertOptions *opts=0)
static void ToSvg(PDFDoc &in_pdfdoc, const UString &in_filename, const SVGOutputOptions &in_options)
static DocumentConversion WordToPDFConversion(PDFDoc &in_pdfdoc, const UString &in_filename, WordToPDFOptions *options)
StructuredOutputOptions::SectionConversionSetting GetHeadersAndFootersSetting()
void SetSilverlightTextWorkaround(bool workaround)
void SetTransparentPage(bool enable)
void SetOverprint(enum OverprintPreviewMode mode)
void SetPDFPassword(const UString &password)
void SetHeadersAndFootersSetting(StructuredOutputOptions::SectionConversionSetting option)
pdftron::PDF::TiffOutputOptions TiffOutputOptions
void SetEmbedImages(bool embed_images)
void GenerateURLLinks(bool generate)
void SetPreferJPG(bool prefer_jpg)
static StructuredOutputOptions::SectionConversionSetting SectionConversionSettingFromOption(TRN_Obj &obj)
void SetSimplifyText(bool enable)
void SetHeadersAndFootersSetting(StructuredOutputOptions::SectionConversionSetting option)
pdftron::PDF::SVGOutputOptions SVGOutputOptions
void UseSilverlightFlashCompatible(bool compatible)
void SetEmbedImages(bool embed)
static bool IsInstalled(const UString &in_printerName="PDFTron PDFNet")
void SetExpanded(bool expanded)
static void ToPdf(PDFDoc &in_pdfdoc, const UString &in_filename)
static void SetMode(Mode mode)
void SetFlattenThreshold(enum Convert::FlattenThresholdFlag threshold)
void SetPrintmode(bool enable)
void SetLanguage(OutputOptionsOCR::LanguageChoice language)
void SetClip(double x1, double y1, double x2, double y2)
void SetHeadersAndFootersSetting(StructuredOutputOptions::SectionConversionSetting option)
void SetCompress(bool svgz)
void SetPreferJPG(bool prefer_jpg)
void SetInternalLinks(bool enable)
static void ToXps(PDFDoc &in_pdfdoc, const UString &in_filename, const XPSOutputOptions &options)
static bool RequiresPrinter(const UString &in_filename)
void SetPreferredOCREngine(OutputOptionsOCR::PreferredOCREngine engine)
static UString LanguageChoiceToString(LanguageChoice language)
StructuredOutputOptions::SectionConversionSetting GetHeadersAndFootersSetting()
void SetFootnotesSetting(StructuredOutputOptions::SectionConversionSetting option)
void SetSvgFonts(bool svg_fonts)
void SetLanguage(OutputOptionsOCR::LanguageChoice language)
void SetNoFonts(bool no_fonts)
void SetFileConversionTimeoutSeconds(int seconds)
void SetOutputThumbnails(bool include_thumbs)
void SetReuseCover(bool reuse)
void SetDither(bool enable)
void SetNoPageWidth(bool enable)
void SetOverprint(enum PDFRasterizer::OverprintPreviewMode mode)
void SetAnnotationOutput(enum AnnotationOutputFlag annot_output)
PowerPointOutputOptions()
void SetSearchableImageSetting(SearchableImageSetting setting)
void SetGamma(double gamma)
void SetAnnots(bool annots)
void SetPreferredOCREngine(OutputOptionsOCR::PreferredOCREngine engine)
void SetJPGQuality(UInt32 quality)
static void WordToPDF(PDFDoc &in_pdfdoc, const UString &in_filename, WordToPDFOptions *options)
void SetPages(int page_from, int page_to)
static void ToWord(const UString &in_filename, const UString &out_path, const WordOutputOptions &options)
static void ToEpub(const UString &in_filename, const UString &out_path, const HTMLOutputOptions &html_options, const EPUBOutputOptions &epub_options)
static void ToExcel(const UString &in_filename, const UString &out_path, const ExcelOutputOptions &options)
StructuredOutputOptions::SectionConversionSetting GetFootnotesSetting()
void SetCMYK(bool enable)
void SetContentReflowSetting(ContentReflowSetting reflow)
void SetBox(enum Page::Box type)
void SetNoUnicode(bool no_unicode)
void SetEncryptPassword(const char *pass)
static void Install(const UString &in_printerName="PDFTron PDFNet")
static void ToTiff(const UString &in_filename, const UString &out_path, const TiffOutputOptions &options)
static void FromTiff(PDFDoc &in_pdfdoc, Filters::Filter in_data)
void SetFlattenContent(enum Convert::FlattenFlag flatten)
void SetElementLimit(UInt32 element_limit)
pdftron::PDF::PowerPointOutputOptions PowerPointOutputOptions
static void OfficeToPDF(PDFDoc &in_pdfdoc, const UString &in_filename, ConversionOptions *options)
static UString PageToHtml(const Page &page)
void SetOpenXps(bool openxps)