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
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
DetectSoftHyphens
OutputType - WordML - Rtf - Txt - Doc - DocX
SetWordOutputFormat - N/A - e_wof_rtf - e_wof_txt - e_wof_doc - e_wof_docx
Password
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
DetectSoftHyphens
KeepLineBreaks
Password
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
KeepNonTableContent, TablesFromContent
Password
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
Password
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
DetectSoftHyphens
ExactMode - False - True
Images - Default - Link - Ignore - Embed
SetEmbedImages - False - False - N/A - True
Password
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?