For the complete documentation index, see llms.txt. This page is also available as Markdown.

Solid Framework to PDFNet Migration

Solid Framework to PDFNet Migration

SolidFramework to PDFNet

The PDFNet Structured Output Module is based on SolidFramework version 10.0.13386. Therefore, if you are running an older version of SolidFramework then you should review the following Changelog for any important changes between your current version and SolidFramework 10.0.13386. Once completed, you can continue with the rest of this guide.

If you are new to PDFNet, please check out our PDF2Office sample application.

API Translation

The following translation tables can be used to map Solid Framework APIs to PDFNet APIs.

Common

Methods

Solid Framework
PDFNet

Convert() ConvertTo() AddSourceFile() AddSourceFiles() ClearSourceFiles() GetResultAsStream()

PDFNet only supports converting one file at a time. No overwrite warning. File conversions only, no in-memory streams or byte arrays. No progress callbacks or cancel mechanism.

PdfToWordConverter

Settings

Solid Framework
PDFNet

DetectSoftHyphens

OutputType - WordML - Rtf - Txt - Doc - DocX

PageRange

ReconstructionMode - Flowing - Exact - Continuous - PlainText - NoColumns

SetPrioritizeVisualAppearance - False - True - N/A - N/A - N/A

TextRecoveryLanguage - "au" - "ca" - "da" - "de" - "en" - "es" - "fi" - "fr" - "it" - "nl" - "no" - "pl" - "pt" - "ro" - "ru" - "sl" - "sv" - "tr" - "zh" - "zt" - "ja" - "ko"

SetCustomOCRLanguage - "au" (default) - "ca" or "cat" - "da" or "dan" - "de" or "deu" - "en" or "eng" - "es" or "spa" - "fi" or "fin" - "fr" or "fra" - "it" or "ita" - "nl" or "nld" - "no" or "nor" - "pl" or "pol" - "pt" or "por" - "ro" or "ron" - "ru" or "rus" - "sl" or "slv" - "sv" or "swe" - "tr" or "tur" - "zh" or "chi_sim" - "zt" or "chi_tra" - "ja" or "jpn" - "ko" or "kor"

TextRecoveryType - Automatic - Always - Never - Default

Defaults

PdfToTextConverter

Note: Please switch WordOutputOptions to text mode using SetWordOutputFormat(Convert.WordOutputOptions.WordOutputFormat.e_wof_txt);

Settings

Solid Framework
PDFNet

DetectSoftHyphens

PageRange

TextRecoveryLanguage - "au" - "ca" - "da" - "de" - "en" - "es" - "fi" - "fr" - "it" - "nl" - "no" - "pl" - "pt" - "ro" - "ru" - "sl" - "sv" - "tr" - "zh" - "zt" - "ja" - "ko"

SetCustomOCRLanguage - "au" (default) - "ca" or "cat" - "da" or "dan" - "de" or "deu" - "en" or "eng" - "es" or "spa" - "fi" or "fin" - "fr" or "fra" - "it" or "ita" - "nl" or "nld" - "no" or "nor" - "pl" or "pol" - "pt" or "por" - "ro" or "ron" - "ru" or "rus" - "sl" or "slv" - "sv" or "swe" - "tr" or "tur" - "zh" or "chi_sim" - "zt" or "chi_tra" - "ja" or "jpn" - "ko" or "kor"

TextRecoveryType - Automatic - Always - Never - Default

Defaults

PdfToExcelConverter

Settings

Solid Framework
PDFNet

KeepNonTableContent, TablesFromContent

PageRange

SingleTable - PlaceEachTableOnOwnSheet - PlaceAllTablesOnSingleSheet - PlaceTablesForEachPageOnSingleSheet

SetSingleSheet, SetPageSingleSheet - SetSingleSheet(False) - SetSingleSheet(True) - SetPageSingleSheet(True)

TextRecoveryLanguage - "au" - "ca" - "da" - "de" - "en" - "es" - "fi" - "fr" - "it" - "nl" - "no" - "pl" - "pt" - "ro" - "ru" - "sl" - "sv" - "tr" - "zh" - "zt" - "ja" - "ko"

SetCustomOCRLanguage - "au" (default) - "ca" or "cat" - "da" or "dan" - "de" or "deu" - "en" or "eng" - "es" or "spa" - "fi" or "fin" - "fr" or "fra" - "it" or "ita" - "nl" or "nld" - "no" or "nor" - "pl" or "pol" - "pt" or "por" - "ro" or "ron" - "ru" or "rus" - "sl" or "slv" - "sv" or "swe" - "tr" or "tur" - "zh" or "chi_sim" - "zt" or "chi_tra" - "ja" or "jpn" - "ko" or "kor"

TextRecoveryType - Automatic - Always - Never - Default

Defaults

PdfToPowerPointConverter

Settings

Solid Framework
PDFNet

PageRange

TextRecoveryLanguage - "au" - "ca" - "da" - "de" - "en" - "es" - "fi" - "fr" - "it" - "nl" - "no" - "pt" - "pl" - "ro" - "ru" - "sl" - "sv" - "tr" - "zh" - "zt" - "ja" - "ko"

SetCustomOCRLanguage - "au" (default) - "ca" or "cat" - "da" or "dan" - "de" or "deu" - "en" or "eng" - "es" or "spa" - "fi" or "fin" - "fr" or "fra" - "it" or "ita" - "nl" or "nld" - "no" or "nor" - "pl" or "pol" - "pt" or "por" - "ro" or "ron" - "ru" or "rus" - "sl" or "slv" - "sv" or "swe" - "tr" or "tur" - "zh" or "chi_sim" - "zt" or "chi_tra" - "ja" or "jpn" - "ko" or "kor"

TextRecoveryType - Automatic - Always - Never - Default

Defaults

PdfToHtmlConverter

Note: The default PDF-to-HTML engine in PDFNet is not Solid Framework. To enable Solid Framework, please call options.SetContentReflowSetting(Convert.HTMLOutputOptions.e_reflow_full);

Settings

Solid Framework
PDFNet

DetectSoftHyphens

Images - Default - Link - Ignore - Embed

SetEmbedImages - False - False - N/A - True

PageRange

TextRecoveryLanguage - "au" - "ca" - "da" - "de" - "en" - "es" - "fi" - "fr" - "it" - "nl" - "no" - "pl" - "pt" - "ro" - "ru" - "sl" - "sv" - "tr"

Convert.OutputOptionsOCR.LanguageChoice - e_lang_auto (default) - e_lang_catalan - e_lang_danish - e_lang_german - e_lang_english - e_lang_spanish - e_lang_finnish - e_lang_french - e_lang_italian - e_lang_dutch - e_lang_norwegian - e_lang_portuguese - e_lang_polish - e_lang_romanian - e_lang_russian - e_lang_slovenian - e_lang_swedish - e_lang_turkish

TextRecoveryType - Automatic - Always - Never - Default

Defaults

Note: The default PDF to HTML engine in PDFNet is not Solid Framework.

Dependencies

It is expected that whatever instance you were running SolidFramework.dll on will also run the Structured Output Module (StructuredOutput.exe) just fine.

Last updated

Was this helpful?