> For the complete documentation index, see [llms.txt](https://docs.itsaffinity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itsaffinity.com/product-guides/lms-authoring/editor-overview/pdf-and-docx-support.md).

# PDF and DOCX Support

### Adding Files To Trainings

You can add PDFs, Word documents, and other files to your trainings in a few ways, depending on how you want learners to use them.

#### Embed A Document

<figure><img src="/files/qZBnqVjYxKYCjws8m2cA" alt=""><figcaption></figcaption></figure>

Use Document Viewer when you want learners to read a PDF or Word document directly inside the training page.

This is best for handbooks, guides, policies, worksheets, or reference documents that should feel like part of the course experience.

Supported files:

* PDF
* DOCX

Authors can:

* Upload a document
* Preview it in the training editor
* Replace the document later
* Rename the learner-facing document name
* Allow learners to download the document
* Delete the document from the page

The learner-facing name lets you show a clean title, like Employee Handbook, instead of the original uploaded file name.

<div data-with-frame="true"><figure><img src="/files/vmnugb4LZ8eU65HmuaK3" alt=""><figcaption></figcaption></figure></div>

<p align="center"><em>Add a document viewer using the slash menu.</em></p>

<div data-with-frame="true"><figure><img src="/files/DBkNgVp7le1Mo0dSq5AL" alt=""><figcaption></figcaption></figure></div>

<p align="center"><em>Add a document viewer using the Design Elements.</em></p>

<div data-with-frame="true"><figure><img src="/files/F7yDfhuhzbG93XOXyP6J" alt=""><figcaption></figcaption></figure></div>

<p align="center"><em>Click to upload a PDF or DOCX.</em></p>

<div data-with-frame="true"><figure><img src="/files/JGGQoAxIqQhsCTiacbKd" alt=""><figcaption></figcaption></figure></div>

<p align="center"><em>At the bottom, a settings menu, let's you download, replace, set a name, or delete the document viewer.</em></p>

#### Add A Downloadable File

<figure><img src="/files/NKEmPYcNbEhRPjtxAVSP" alt=""><figcaption></figcaption></figure>

Use File/Document when you want to attach a file as a downloadable resource rather than embedding it directly on the page.

This is best for supplemental materials, templates, forms, checklists, or files learners should download and use outside the course.

#### Which Should I Use?

Use Document Viewer when the file is core training content and should be read in the flow of the lesson.

Use File/Document when the file is a supporting resource that learners only need to download.

#### Learner Experience

Learners can view embedded PDFs and Word documents directly in the training. They can also download the file when they need a local copy.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.itsaffinity.com/product-guides/lms-authoring/editor-overview/pdf-and-docx-support.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
