Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
GroupDocsGists / README.md
Last active July 1, 2025 11:44
How to merge Word documents in Node.js

Merge Word Documents in Node.js

If you need to merge Word documents, this example shows how, complete with commentary and best practices to help you accomplish your document management tasks effectively. This guide covers the essentials of using Node.js to operate with various file formats, including DOCX and DOC.

📦 Prerequisites

  • Install the GroupDocs.Merger package in your Node.js environment.
  • Activate your GroupDocs license key to utilize all features without restrictions.
  • You can get a free trial of GroupDocs.Merger and use a temporary license for unlimited access to our library.
  • This works seamlessly for DOCX and DOC files.
@GroupDocsGists
GroupDocsGists / README.md
Last active July 1, 2025 11:30
How to merge Word documents in Python

Merge Word Documents in Python

In this snippet, you’ll discover how to merge Word documents, leveraging a concise Python example to simplify your document management process. This guide will walk you through the essential steps required to combine multiple DOCX files into a single document, a fundamental task often needed in various applications.

📦 Prerequisites

  • Ensure you have installed the GroupDocs.Merger library.
  • Activate your GroupDocs license key for unrestricted access to features.
  • You can also get a free trial of GroupDocs.Merger to explore its capabilities with a temporary license.
  • This example works for formats such as DOC and DOCX.
@GroupDocsGists
GroupDocsGists / MergeDocx.java
Last active July 1, 2025 11:50
How to merge Word documents in Java
import com.groupdocs.merger.Merger;
import com.groupdocs.merger.examples.Constants;
import java.io.File;
/**
* This example demonstrates how to merge multiple DOCX files into single file.
* For more details about merging Microsoft Word Open XML Document (.docx) files please check this documentation article
* https://docs.groupdocs.com/merger/java/merge/word/
*/
@GroupDocsGists
GroupDocsGists / MergeDocx.cs
Last active July 1, 2025 11:47
How to merge Word documents in C#
using System;
using System.IO;
namespace GroupDocs.Merger.Examples.CSharp.BasicUsage
{
/// <summary>
/// This example demonstrates how to merge multiple DOCX files into single file.
/// For more details about merging Microsoft Word Open XML Document (.docx) files please check this documentation article
/// https://docs.groupdocs.com/merger/net/merge/word/
/// </summary>
@GroupDocsGists
GroupDocsGists / MergePdf.java
Last active June 25, 2025 14:08
How to merge PDF Files in Java
import com.groupdocs.merger.Merger;
import com.groupdocs.merger.examples.Constants;
import java.io.File;
/**
* This example demonstrates how to merge multiple PDF files into single file.
* For more details about merging Portable Document (.pdf) files please check this documentation article
* https://docs.groupdocs.com/merger/net/merge/pdf
*/
@GroupDocsGists
GroupDocsGists / README.md
Last active July 1, 2025 11:11
How to merge PDF Files in Node.js

Merge PDF Files in Node.js

Looking for a quick way to merge PDF files? This Gist shows how to efficiently combine multiple PDF documents into a single file using Node.js.

📦 Prerequisites

To get started, ensure that you have Node.js installed on your machine. Additionally, you'll need to install the GroupDocs.Merger package. You can download a free trial of GroupDocs.Merger and use a temporary license for unrestricted usage of our library. This library supports file types like PDF, DOCX, and XLSX, among others.

🧩 Key Capabilities

  • Effortlessly merge multiple PDF files into a single document for better organization.
  • Handle various file formats, not just PDFs, which includes Word, Excel, and images.
@GroupDocsGists
GroupDocsGists / MergePdf.cs
Last active June 25, 2025 13:14
How to merge PDF files in C#
using System;
using System.IO;
namespace GroupDocs.Merger.Examples.CSharp.BasicUsage
{
/// <summary>
/// This example demonstrates how to merge multiple PDF files into single file.
/// For more details about merging Portable Document (.pdf) files please check this documentation article
/// https://docs.groupdocs.com/merger/net/merge/pdf
/// </summary>
@GroupDocsGists
GroupDocsGists / README.md
Last active June 25, 2025 13:18
How to merge PDF files in Python

Merge PDF Files in Python

In this snippet, you’ll discover how to merge PDF files, leveraging a concise Python example to combine documents effortlessly. This guide will help you streamline merging PDFs along with various other document types like Word and Excel, enhancing your workflow.

📦 Prerequisites

To get started, you need to install the GroupDocs.Merger SDK. Make sure you have an active GroupDocs license and Python installed on your system. You can download a free trial of GroupDocs.Merger for Python via .NET and use a temporary license for unrestricted usage of our library. This works for various file types including PDF, DOCX, PPTX, and XLSX.

🧩 Key Capabilities

  • Combine multiple PDF files into a single document seamlessly.
  • Utilize bookmark features when merging PDF files to maintain navigation.
@GroupDocsGists
GroupDocsGists / ViewPresentation.cs
Last active June 21, 2025 15:48
How to Open PowerPoint PPT/PPTX Presentations
// How to View PPT/PPTX Presentations using C#
using GroupDocs.Viewer.Options;
using (Viewer viewer = new Viewer("path/presentation.pptx"))
{
PdfViewOptions options = new PdfViewOptions("path/presentation.pdf");
viewer.View(options);
}
@GroupDocsGists
GroupDocsGists / ViewWordDocument.cs
Last active March 25, 2025 07:40
How to Open Word Documents Programmatically
// View Word Documents using C#
using GroupDocs.Viewer.Options;
...
using (Viewer viewer = new Viewer("path/document.docx"))
{
PdfViewOptions options = new PdfViewOptions("path/Word-Document.pdf");
viewer.View(options);
}