Some test text!

Search
Hamburger Icon

Nodejs / Guides

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.

https://solidframework.net/release-notes/

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 FrameworkPDFNet
Convert()
ConvertTo()
AddSourceFile()
AddSourceFiles()
ClearSourceFiles()
GetResultAsStream()
Convert.ToWord()
Convert.ToExcel()
Convert.ToPowerPoint()
Convert.ToHtml()

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

Solid FrameworkPDFNet
Class PdfToWordConverterClass Convert.WordOutputOptions
Convert.ToWord()

Settings

Solid FrameworkPDFNet
DetectSoftHyphensSetConnectHyphens
OutputType
- WordML
- Rtf
- Txt
- Doc
- DocX
SetWordOutputFormat
- N/A
- e_wof_rtf
- e_wof_txt
- N/A
- e_wof_docx
PasswordSetPDFPassword
PageRangeSetPages
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"
- "pt"
- "pl"
- "ro"
- "ru"
- "sl"
- "sv"
- "tr"
SetLanguage
- 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
SetSearchableImageSetting
- e_ocr_text
- N/A
- e_ocr_off
- e_ocr_text

Defaults

DetectSoftHyphens = False;
OutputType = DocX;
Password = None;
PageRange = All Pages;
ReconstructionMode = Flowing;
DetectToc = True;
DetectLists = True
DetectTables = True;
DetectTaggedTables = True;
DetectStyles = True;
DetectLanguage = True;
KeepCharacterSpacing = True;
AverageCharacterScaling = True;
SupportRightToLeftWritingDirection = True;
ImageAnchoringMode = Automatic;
HeaderAndFooterMode = Detect;
FootnotesMode = FootnotesMode;
MarkupAnnotConversionType = TextBox;
TargetWordFormat = Automatic;
AutoRotate = True;
TextRecoveryType = Automatic;
TextRecoveryLanguage = Automatic;
TextRecoveryNseType = Automatic;
TextRecoveryEngine = Automatic;
TextRecoveryEngineNse = Automatic;
GraphicsAsImages = False;
KeepInvisibleText = False;
KeepBackgroundColorText = False;

PdfToTextConverter

Solid FrameworkPDFNet
Class PdfToTextConverterClass Convert.WordOutputOptions
Convert.ToWord()

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

Settings

Solid FrameworkPDFNet
DetectSoftHyphensSetConnectHyphens
KeepLineBreaksSetPrioritizeVisualAppearance
PasswordSetPDFPassword
PageRangeSetPages
TextRecoveryLanguage
- "au"
- "ca"
- "da"
- "de"
- "en"
- "es"
- "fi"
- "fr"
- "it"
- "nl"
- "no"
- "pt"
- "pl"
- "ro"
- "ru"
- "sl"
- "sv"
- "tr"
SetLanguage
- 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
SetSearchableImageSetting
- e_ocr_text
- N/A
- e_ocr_off
- e_ocr_text

Defaults

DetectSoftHyphens = False;
KeepLineBreaks = False;
Password = None;
PageRange = All Pages;
LineLength = 100;
DetectAndRemoveHeadersAndFooters = True;
DetectAndRemoveFootnotes = True;
LineTerminator = Platform;
KeepLineBreaks = False;
AutoRotate = True;
TextRecoveryType = Automatic;
TextRecoveryLanguage = Automatic;
TextRecoveryNseType = Automatic;
TextRecoveryEngine = Automatic;
TextRecoveryEngineNse = Automatic;
GraphicsAsImages = False;
KeepInvisibleText = False;
KeepBackgroundColorText = False;

PdfToExcelConverter

Solid FrameworkPDFNet
Class PdfToExcelConverterClass Convert.ExcelOutputOptions
Convert.ToExcel()

Settings

Solid FrameworkPDFNet
KeepNonTableContent, TablesFromContentSetNonTableContent
PasswordSetPDFPassword
PageRangeSetPages
SingleTable
- PlaceEachTableOnOwnSheet
- PlaceAllTablesOnSingleSheet
- PlaceTablesForEachPageOnSingleSheet
SetSingleSheet
- False
- True
- N/A
TextRecoveryLanguage
- "au"
- "ca"
- "da"
- "de"
- "en"
- "es"
- "fi"
- "fr"
- "it"
- "nl"
- "no"
- "pt"
- "pl"
- "ro"
- "ru"
- "sl"
- "sv"
- "tr"
SetLanguage
- 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

Defaults

KeepNonTableContent = False;
Password = None;
PageRange = All Pages;
SingleTable = PlaceEachTableOnOwnSheet;
AutoDetectSeparators = True;
DetectTiledPages = True;
OutputType = XlsX;
HeaderAndFooterMode = Remove;
FootnotesMode = Ignore;
TextAnnotationsAsContent = False;
AutoRotate = True;
TextRecoveryType = Automatic;
TextRecoveryLanguage = Automatic;
TextRecoveryNseType = Automatic;
TextRecoveryEngine = Automatic;
TextRecoveryEngineNse = Automatic;
GraphicsAsImages = False;
KeepInvisibleText = False;
KeepBackgroundColorText = False;

PdfToPowerPointConverter

Solid FrameworkPDFNet
Class PdfToPowerPointConverterClass Convert.PowerPointOutputOptions
Convert.ToPowerPoint()

Settings

Solid FrameworkPDFNet
PasswordSetPDFPassword
PageRangeSetPages
TextRecoveryLanguage
- "au"
- "ca"
- "da"
- "de"
- "en"
- "es"
- "fi"
- "fr"
- "it"
- "nl"
- "no"
- "pt"
- "pl"
- "ro"
- "ru"
- "sl"
- "sv"
- "tr"
SetLanguage
- 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

Defaults

Password = None;
PageRange = All Pages;
EmbedFontsMode = NoFontEmbedding;
AutoRotate = True;
TextRecoveryType = Automatic;
TextRecoveryLanguage = Automatic;
TextRecoveryNseType = Automatic;
TextRecoveryEngine = Automatic;
TextRecoveryEngineNse = Automatic;
GraphicsAsImages = False;
KeepInvisibleText = False;
KeepBackgroundColorText = False;

PdfToHtmlConverter

Solid FrameworkPDFNet
Class PdfToHtmlConverterClass Convert.HTMLOutputOptions
Convert.ToHtml()

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 FrameworkPDFNet
DetectSoftHyphensSetConnectHyphens
ExactMode
- False
- True
SetContentReflowSetting
- e_reflow_full
- e_fixed_position
Images
- Default
- Link
- Ignore
- Embed
SetEmbedImages
- False
- False
- N/A
- True
PasswordSetPDFPassword
PageRangeSetPages
TextRecoveryLanguage
- "au"
- "ca"
- "da"
- "de"
- "en"
- "es"
- "fi"
- "fr"
- "it"
- "nl"
- "no"
- "pt"
- "pl"
- "ro"
- "ru"
- "sl"
- "sv"
- "tr"
SetLanguage
- 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
SetSearchableImageSetting
- e_ocr_text
- N/A
- e_ocr_off
- e_ocr_text

Defaults

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

DetectSoftHyphens = False;
Images = Embed;
Password = None;
PageRange = All Pages;
WidthLimit = 0;
DetectLanguage = True;
ImageType = Default;
KeepLineBreaks = False;
HeaderAndFooterMode = Remove;
AutoRotate = True;
TextRecoveryType = Automatic;
TextRecoveryLanguage = Automatic;
TextRecoveryNseType = Automatic;
TextRecoveryEngine = Automatic;
TextRecoveryEngineNse = Automatic;
GraphicsAsImages = False
KeepInvisibleText = False;
KeepBackgroundColorText = False;

Dependencies

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

Get the answers you need: Chat with us