# Import documents This section describes how to embed documents into Word, Excel, PowerPoint and Visio documents as OLE objects, and how to attach files to a PDF document, using GroupDocs.Merger for Python via .NET. GroupDocs.Merger for Python via .NET can put a whole file into another document: as an OLE object in a Word processing document, a spreadsheet, a presentation or a Visio diagram, or as an attachment of a PDF document. The file travels with the document, and the application that opens the document can open it. Every import follows the same three steps: 1. Create a `Merger` with the path to the target document. 2. Call `merger.import_document()` with the options for the target format, which name the file to embed. 3. Call `merger.save()` with the path of the result. ## Import guides - [Add attachment to a PDF document]({{< ref "merger/python-net/developer-guide/import-documents/how-to-add-attachment-to-pdf-document.md" >}}) — attach a file to a PDF document with `PdfAttachmentOptions`. - [Add document to Word processing via OLE]({{< ref "merger/python-net/developer-guide/import-documents/add-document-to-word-processing-via-ole.md" >}}) — embed a file into a Word processing document with `OleWordProcessingOptions`. - [Add document to Presentation via OLE]({{< ref "merger/python-net/developer-guide/import-documents/add-document-to-presentation-via-ole.md" >}}) — embed a file into a slide with `OlePresentationOptions`. - [Add document to Spreadsheet via OLE]({{< ref "merger/python-net/developer-guide/import-documents/add-document-to-spreadsheet-via-ole.md" >}}) — embed a file into a worksheet with `OleSpreadsheetOptions`. - [Add document to Diagram via OLE]({{< ref "merger/python-net/developer-guide/import-documents/add-document-to-diagram-via-ole.md" >}}) — embed a file into a Visio diagram page with `OleDiagramOptions`. ## API reference - [`Merger.import_document`](https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/import_document/) — imports a document into the loaded one. - [`ImportDocumentOptions`](https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/importdocumentoptions/) — the base class of the import options. ## See also - [Merge files]({{< ref "merger/python-net/developer-guide/merge/_index.md" >}}) - [Skip loading of external resources]({{< ref "merger/python-net/developer-guide/loading-documents/skip-external-resources.md" >}}) ## Contents - [How to add attachment to PDF document](https://docs.groupdocs.com/merger/python-net/how-to-add-attachment-to-pdf-document.md) - [Add document to Word processing via OLE](https://docs.groupdocs.com/merger/python-net/add-document-to-word-processing-via-ole.md) - [Add document to Presentation via OLE](https://docs.groupdocs.com/merger/python-net/add-document-to-presentation-via-ole.md) - [Add document to Spreadsheet via OLE](https://docs.groupdocs.com/merger/python-net/add-document-to-spreadsheet-via-ole.md) - [Add document to Diagram via OLE](https://docs.groupdocs.com/merger/python-net/add-document-to-diagram-via-ole.md)