From d5f8c24b5560aea20cc117695bdf5fd905c25993 Mon Sep 17 00:00:00 2001 From: venkateshwaransf5013 Date: Fri, 18 Sep 2026 12:26:19 +0530 Subject: [PATCH] 1054581: Reverted the Volume 3 feature changes in Data Extraction UG --- Document-Processing-toc.html | 3 - .../NET/Assemblies-required.md | 6 - .../NET/conversions/pdf-to-word.md | 112 ------------------ .../Data-Extraction/NET/overview.md | 41 ------- .../NET/working-with-data-extraction.md | 48 -------- 5 files changed, 210 deletions(-) delete mode 100644 Document-Processing/Data-Extraction/NET/conversions/pdf-to-word.md diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index 0a57aa68b1..0335bbbf48 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -296,9 +296,6 @@
  • PDF or Image to Markdown
  • -
  • - PDF or Image to Word -
  • diff --git a/Document-Processing/Data-Extraction/NET/Assemblies-required.md b/Document-Processing/Data-Extraction/NET/Assemblies-required.md index ead8213dfa..f1e3011290 100644 --- a/Document-Processing/Data-Extraction/NET/Assemblies-required.md +++ b/Document-Processing/Data-Extraction/NET/Assemblies-required.md @@ -27,9 +27,7 @@ The following assemblies need to be referenced in your application to extract da Syncfusion.SmartDataExtractor.Base
    - Syncfusion.DocIO.Base
    Syncfusion.Compression.Base
    - Syncfusion.OfficeChart.Base
    Syncfusion.ImagePreProcessor.Base
    Syncfusion.OCRProcessor.Base
    Syncfusion.Pdf.Base
    @@ -47,9 +45,7 @@ The following assemblies need to be referenced in your application to extract da Syncfusion.SmartDataExtractor.Portable
    - Syncfusion.DocIO.Portable
    Syncfusion.Compression.Portable
    - Syncfusion.OfficeChart.Portable
    Syncfusion.ImagePreProcessor.Portable
    Syncfusion.OCRProcessor.Portable
    Syncfusion.Pdf.Imaging.Portable
    @@ -67,9 +63,7 @@ The following assemblies need to be referenced in your application to extract da Syncfusion.SmartDataExtractor.NET
    - Syncfusion.DocIO.NET
    Syncfusion.Compression.NET
    - Syncfusion.OfficeChart.NET
    Syncfusion.ImagePreProcessor.NET
    Syncfusion.OCRProcessor.NET
    Syncfusion.Pdf.Imaging.NET
    diff --git a/Document-Processing/Data-Extraction/NET/conversions/pdf-to-word.md b/Document-Processing/Data-Extraction/NET/conversions/pdf-to-word.md deleted file mode 100644 index 92f40f66ba..0000000000 --- a/Document-Processing/Data-Extraction/NET/conversions/pdf-to-word.md +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: Convert PDF to Word in .NET Smart Data Extractor | Syncfusion -description: Convert PDF documents to Word using Smart Data Extractor. Transform PDF content into editable, structured Word documents in .NET. -platform: document-processing -control: SmartDataExtractor -documentation: UG -keywords: Assemblies ---- - -# Convert PDF to Word in .NET Smart Data Extractor - -Word (DOCX) is a widely used format for creating and editing professional documents. The Syncfusion® Smart Data Extractor library supports PDF to Word conversion in .NET, enabling seamless transformation of PDF files into fully editable Word documents while preserving the original layout, tables and images. This feature makes it easier to reuse content, improve accessibility, and integrate document data into downstream applications and business workflows. - -## Assemblies and NuGet packages required - -Refer to the following links for the assemblies and NuGet packages required based on your target platform to extract data as a Word file using the Syncfusion® Smart Data Extractor library. - -* [PDF to Word Conversion assemblies](/document-processing/data-extraction/net/Assemblies-required) -* [PDF to Word Conversion NuGet packages](/document-processing/data-extraction/net/Nuget-packages-required) - -## Convert PDF or Image to Word Document - -To convert a PDF document or image into a Word using the **ExtractDataAsWordDocument** method of the [DataExtractor](https://help.syncfusion.com/cr/document-processing/Syncfusion.SmartDataExtractor.DataExtractor.html) class, refer to the following code example: - -{% tabs %} - -{% highlight c# tabtitle="C# [Cross-platform]" %} - -using Syncfusion.SmartDataExtractor; -using Syncfusion.DocIO.DLS; - -//Open the input PDF file as a stream. -using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read)) -{ - //Initialize the Data Extractor. - DataExtractor extractor = new DataExtractor(); - //Extract data as WordDocument. - WordDocument word = extractor.ExtractDataAsWordDocument(stream); - //Save the extracted Word data into an output file. - word.Save("Output.docx"); - word.Close(); -} - -{% endhighlight %} - -{% highlight c# tabtitle="C# [Windows-specific]" %} - -using Syncfusion.SmartDataExtractor; -using Syncfusion.DocIO.DLS; - -//Open the input PDF file as a stream. -using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read)) -{ - //Initialize the Data Extractor. - DataExtractor extractor = new DataExtractor(); - //Extract data as WordDocument. - WordDocument word = extractor.ExtractDataAsWordDocument(stream); - //Save the extracted Word data into an output file. - word.Save("Output.docx"); - word.Close(); -} - -{% endhighlight %} - -{% endtabs %} - -N> If you want to convert an image instead of a PDF, replace the input stream with the image file (for example, Input.jpg or Input.png). The rest of the code remains unchanged. - -## Convert PDF or Image to HTML Document - -To convert a PDF document or image into HTML output using the **ExtractDataAsHtml** method of the [DataExtractor](https://help.syncfusion.com/cr/document-processing/Syncfusion.SmartDataExtractor.DataExtractor.html) class, refer to the following code example: - -{% tabs %} - -{% highlight c# tabtitle="C# [Cross-platform]" %} - -using Syncfusion.SmartDataExtractor; - -//Open the input PDF file as a stream. -using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read)) -{ - //Initialize the Data Extractor. - DataExtractor extractor = new DataExtractor(); - //Extract data as HTML. - string htmlContent = extractor.ExtractDataAsHtml(stream); - //Save the extracted HTML data into an output file. - File.WriteAllText("Output.html", htmlContent); -} - -{% endhighlight %} - -{% highlight c# tabtitle="C# [Windows-specific]" %} - -using Syncfusion.SmartDataExtractor; - -//Open the input PDF file as a stream. -using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read)) -{ - //Initialize the Data Extractor. - DataExtractor extractor = new DataExtractor(); - //Extract data as HTML. - string htmlContent = extractor.ExtractDataAsHtml(stream); - //Save the extracted HTML data into an output file. - File.WriteAllText("Output.html", htmlContent); -} - -{% endhighlight %} - -{% endtabs %} - -N> If you want to convert an image instead of a PDF, replace the input stream with the image file (for example, Input.jpg or Input.png). The rest of the code remains unchanged. - diff --git a/Document-Processing/Data-Extraction/NET/overview.md b/Document-Processing/Data-Extraction/NET/overview.md index fb36daaaba..33202286ff 100644 --- a/Document-Processing/Data-Extraction/NET/overview.md +++ b/Document-Processing/Data-Extraction/NET/overview.md @@ -255,47 +255,6 @@ FormObjects represent interactive form fields detected on the page, such as text N> The **FormObjects** structure is not available in the Smart Table Extractor output. -### BarcodeObjects - -BarcodeObjects represent barcodes detected on a page by the Smart Data Extractor. They contain information about the barcode value, barcode type, location on the page, and the confidence score of the detection. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    AttributeTypeDescription
    TypeStringDefines the kind of object detected on the page (Barcode).
    BoundsArray of FloatsThe bounding box coordinates [X, Y, Width, Height] representing the barcode's position and size on the page.
    ContentStringThe decoded value extracted from the barcode.
    BarcodeTypeStringSpecifies the barcode symbology detected, such as RSS_14, QR_CODE, CODE_128, EAN_13, etc.
    ConfidenceFloatConfidence score (0–1) indicating the accuracy of the barcode detection.
    - ### Text Attribute Represents the text formatting attributes (font family, font style, font size) applied to the extracted text. diff --git a/Document-Processing/Data-Extraction/NET/working-with-data-extraction.md b/Document-Processing/Data-Extraction/NET/working-with-data-extraction.md index b6223ac15f..cd243fe57f 100644 --- a/Document-Processing/Data-Extraction/NET/working-with-data-extraction.md +++ b/Document-Processing/Data-Extraction/NET/working-with-data-extraction.md @@ -794,51 +794,3 @@ using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess {% endtabs %} -## Barcode recognition - -The Syncfusion® Smart Data Extractor library enables barcode extraction from PDF documents and scanned images. The extracted barcode information is returned in JSON format, including properties such as Type, BarcodeType, Content, Threshold, and Bounds. - -Additionally, when the output is extracted in Markdown format, barcodes are returned as Base64‑encoded image values, enabling easy rendering and storage of barcode images. - -To recognize barcodes, use the following code snippet: - -{% tabs %} - -{% highlight c# tabtitle="C# [Cross-platform]" %} - -using System.Text; -using Syncfusion.SmartDataExtractor; - -//Open the input PDF file as a stream. -using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read)) -{ - //Initialize the Data Extractor. - DataExtractor extractor = new DataExtractor(); - //Extract data as JSON. - string data = extractor.ExtractDataAsJson(stream); - //Save the extracted JSON data into an output file. - File.WriteAllText("Output.json", data, Encoding.UTF8); -} - -{% endhighlight %} - -{% highlight c# tabtitle="C# [Windows-specific]" %} - -using System.Text; -using Syncfusion.SmartDataExtractor; - -//Open the input PDF file as a stream. -using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read)) -{ - //Initialize the Data Extractor. - DataExtractor extractor = new DataExtractor(); - //Extract data as JSON. - string data = extractor.ExtractDataAsJson(stream); - //Save the extracted JSON data into an output file. - File.WriteAllText("Output.json", data, Encoding.UTF8); -} - -{% endhighlight %} - -{% endtabs %} -