If the generation process ends in the following error: Error[{"exceptionType":"System.LimitException","isUserDefinedException":false,"message":"mmdoc:Too many query rows: 50001","stackTrace":"(mmdoc)"}], the described solution fixes it as well.
Go to the Query Builder tab and click Add Query.
For the Object, select "ContentDocumentLink".
For the Field, start writing down Content and click on ContentDocument ContentDocument ID.
In the "Select Field" field, start writing down Latest and select LatestPublishedVersion.LatestPublishedVersion.ID.
In the "Select Field" field, write down Version and select the VersionData field.
Save the Query.

Go to the document in which you want to insert the Image element and run the Maven Add-in.
Select the Image element and in the Source field select the added field from the Query.

After you insert the element and generate the template, the uploaded image will be shown in the generated file.

<mdoc:include name="The Name of the element" sourceType="documentTemplate" source="The name of the original Document Template"/>.It allows you to maintain the content of the Initial Document Template just in your original file. The new template adds the Watermark and includes the whole content from the original template. This means you make changes to the template in one place only.
We've already mentioned in our Documentation that, because of the Microsoft limitations, the Restrict Editing feature is only available in the desktop version.
With that in mind, there are two requirements to meet that allow you to edit the "restricted" file in Preview:
Once you click edit on the file in Preview, you'll be prompted to open it in the desktop version of Microsoft Word.

After you agree, the file from Preview is open, and the Autosave toggle is switched.

That means all the changes you make in the file are saved in its copy in OneDrive, and you will find them in the generated document.
Yes, you can. Depending on how you are generating the document, you can:
All you need to do is put the needed locale value into the field and generate the document. In the screenshot below, we displayed how it could look on a Document Template. In our case, the Danish locale is used.

This can happen in some scenarios. Different applications that support the DOCX format have their own internal document processing. Because of that, they can show the file with a different number of pages.
Similar is in Maven Documents: when we process the DOCX file, we calculate its pages, which in some cases can be different from the page count you'll see when you open that document in your Word application.
This scenario is possible. We've included some additional theoretical information in the response to help you understand the full context.
Please check if you have Google Drawings embedded in your template. Generation might fail when drawings are created directly in the Google Docs you work on.
But you can use the following instructions as a workaround:
With that sequence, Google Docs is going to be generated without issues, showing the inserted Drawing.
Please make sure you’ve reviewed the respective article in our Documentation, where we describe common use cases and highlight possible obstacles to keep in mind.
In some cases, a single Microsoft Word file may be edited by users from different countries. When this happens, the formatting of the document can be affected. For example, editing a header might reset its formatting, and the generated document may display that header with the default style.
This is not an issue with Maven Documents itself, but rather a limitation of Microsoft Word. Styles and their styleIDs in a Word document depend on the system language of Microsoft Word.
For instance:
Workaround
To avoid this problem, we recommend using custom styles. Unlike default Word styles, custom styles keep the same styleID and formatting regardless of the system language. This ensures consistent formatting across Word users with different language settings.
When you place a Microsoft Word table inside a Repeater, Word may merge the resulting tables in the generated document into a single long table if they are not separated from the Repeater’s opening or closing tags by a paragraph or line break.
This happens because of how Word handles consecutive tables — it automatically combines them into one unless something (like a line break or empty paragraph) separates them.
How to fix it:
Add a line break or empty paragraph between the table and the opening or closing tag of the Repeater in your template.
This ensures that each table is generated separately and prevents large blank spaces from appearing in your document.
When a Sandbox Org is refreshed, certain settings are reset or reconfigured. This can affect document generation.
The actions required depend on the Maven Documents version you are using.
The first thing to do is to contact Maven Mule support. There some custom settings in your Org that needs to be changed and only the support team can modify those.
After custom settings are changed, follow the instructions below to reauthorize the Google and Azure accounts.
To successfully connect the account, the user who performs authorization should have either ModifyAllData or ModifyMetadata permissions in Salesforce.
Follow the steps below to authorize the account:
In the "Maven Documents Setup Assistant" tab, click Revoke Google Permissions.
Once permissions are revoked, click on the "Authorize Google Account" section.
Then click the "Sign in with Google" button.

Select the needed account and choose what parts of your Google data Maven Documents can access.

Mark needed checkboxes or just select all and click Continue.
Be aware that our app needs these permissions to deliver its capabilities. If some of the permissions are not given, some core features might not work as expected. To make sure that you'll get all of the app's capabilities, give the app all the requested permissions.
The page with Setup Assistant will be refreshed and you will see that the icon next to the section name is marked and painted green. The same thing happened to the icon next to the corresponding setting inside the section. The Sign in with Google button in the section is changed to Revoke Access.
Maven Documents uses the authorized account to access the Google Docs template and generate new documents. All Google templates created by Maven Documents will be initially owned by this Google account.
To successfully connect the account, the user who performs authorization should have either ModifyAllData or ModifyMetadata permissions in Salesforce.
Follow the steps below to connect the account:
In the "Maven Documents Setup Assistant" tab, click Revoke Microsoft Permissions and then Revoke Access from App in the corresponding section.
Once permissions and access are revoked, click the "Sign in with Microsoft" button.
Select the needed account and allow the requested access. When the account has been connected successfully, you'll see the green ribbon message.

The page with Setup Assistant will be refreshed, the icon next to the section name is half circled with the blue line. The Sign in with Microsoft button in the section is changed to Revoke Microsoft Permissions.
In the "Authorize Microsoft Account" section, click the Grant Access to App button and select the needed account.
Once you are connected successfully, you'll see the success message in the new browser tab.

The page with Setup Assistant will be refreshed and you will see that the icon next to the section name is marked and painted green. he Grant Access to App button in the section is changed to Revoke Access from App.

Maven Documents is connected to a Microsoft Azure account associated with the service you signed in with and to the OneDrive service of the corresponding Microsoft Account. It means that you can use DOCX or XLSX files and upload them to Document Templates in Maven Documents.
For Maven Documents version 6.0 and above, you’ll need to reconfigure all Headless Settings in the Setup Assistant.
In the Setup Assistant, open the Maven Headless Settings and click the "Open Application Settings" button.
In the open "Application Settings" page, lick "Edit" and clear the value from the "AMP Subscription Id" field.

In the "Quick Find" box, search for and open the "Named Credentials" settings.
Delete the "Maven Headless" entries under both the "Named Credentials" and "External Credentials" tabs.

In the Quick Find, enter "Auth" and open the "Auth. Providers" settings.
Delete the "Maven Headless" provider.

In the search results on the left pane, click on the "Connected Apps OAuth Usage" setting.
Uninstall the "Maven Headless" connected app.

Unassign the "Maven Documents Extended" permission set from affected users and delete the permission set.

Configure the "Maven Headless" settings from scratch, using the following instructions.