Visual Paradigm Doc. Composer is a document generation and composition tool built into Visual Paradigm Desktop. It enables users to create structured project documentation by combining manually written content with information retrieved directly from project models, diagrams, and model elements.
Instead of manually copying diagram images, element names, descriptions, and design specifications into separate documents, Doc. Composer allows users to incorporate project information through reusable element templates, configurable content blocks, and document fields. It supports both creating documents from a blank starting point and inserting model information into an existing document template.
Doc. Composer is particularly useful for producing software requirements specifications, system design documents, UML documentation, database specifications, business process documentation, technical reports, and other project deliverables that need to remain consistent with the underlying Visual Paradigm project.
What Is Visual Paradigm Doc. Composer?
Doc. Composer is a document builder in Visual Paradigm Desktop that connects project documentation with the actual design information maintained in a Visual Paradigm project. It allows users to retrieve project data, organize it into document sections, customize its presentation, and export the resulting document.
The central idea behind Doc. Composer is model-driven documentation: instead of treating a document as an isolated collection of manually entered text, users can generate portions of the document from existing project information.
For example, a software development team may maintain use case diagrams, class diagrams, sequence diagrams, and database models in Visual Paradigm. Doc. Composer can retrieve relevant information from these models and incorporate it into a structured software specification.
What Does Doc. Composer Help You Produce?
- Software Requirements Specifications (SRS): Document project requirements, use cases, actors, and supporting design information.
- System Design Documents: Present UML diagrams, model element descriptions, relationships, and structural details.
- Database Design Specifications: Document entities, attributes, database structures, and related model information.
- Business Process Documentation: Present business process diagrams and associated process information.
- Technical Reports: Combine project data with explanatory text, tables, and other document content.
- Project Deliverables: Produce consistent documentation for internal reviews, customers, stakeholders, and project teams.
How Does Doc. Composer Work?
Doc. Composer works by connecting document content to project information through templates and document fields. Depending on the selected workflow, users can either insert model-driven content into a newly created document or populate predefined locations in an existing document.
Its general workflow can be summarized as follows:
- Create or open a Visual Paradigm project containing the diagrams and model elements to document.
- Open Doc. Composer from the Tools menu.
- Choose Build from Scratch or Fill-in Doc.
- Select the relevant project data, templates, or document fields.
- Organize and customize the document content.
- Preview and export the completed document.
Why Is Doc. Composer Important?
Doc. Composer reduces the manual work involved in creating and maintaining project documentation by connecting documents directly to the models that describe the system.
Reduce Manual Documentation Work
Traditional documentation often requires users to manually copy information from modeling tools into Word documents. This can be time-consuming, particularly when a project contains many diagrams and model elements.
Doc. Composer automates the retrieval and presentation of project information through element templates and document fields, reducing repetitive copying and formatting work.
Keep Documentation Consistent with Project Models
Because document content can be linked to the underlying project data, users can refresh generated content when the project changes. This helps reduce discrepancies between the latest system design and previously generated documentation.
Standardize Documentation Across Projects
Reusable element templates, document templates, and style configurations help teams establish consistent documentation structures and presentation standards.
Combine Explanatory Text with Technical Information
Project documentation usually contains more than diagrams. It also includes objectives, assumptions, business context, scope, constraints, explanations, and conclusions.
Doc. Composer supports combining custom text with model-generated content, allowing users to create complete documents rather than simply exporting individual diagrams.
Reuse Existing Document Structures
With Fill-in Doc, users can retain an existing document’s structure and insert Visual Paradigm project information into predefined locations. This is particularly valuable when working with established organizational templates, customer deliverable formats, or document standards.
Edition and Availability
Doc. Composer is available in Visual Paradigm Desktop Standard Edition and higher. The supported editions are Standard, Professional, and Enterprise.
| Visual Paradigm Desktop Edition | Doc. Composer Availability |
|---|---|
| Community | Not included |
| Modeler | Not included |
| Standard | Included |
| Professional | Included |
| Enterprise | Included |
The supported document production capabilities include:
- Ad-hoc document development using Doc. Composer.
- Document composition through the Doc. Composer editor.
- Customizable document templates.
- Sharing document templates, XML templates, and styles in a team environment.
- Integrating project contents into existing documents using Fill-in Doc.
- Automatic document updating when exporting documents.
Important: If Doc. Composer is not visible in the application, first check whether you are using Standard Edition or higher. The official user guide also specifies that the Sleek user interface style should be selected.
Two Ways to Create Documents with Doc. Composer
Doc. Composer provides two main working modes: Build from Scratch and Fill-in Doc. Both modes retrieve information from Visual Paradigm projects, but they are designed for different documentation workflows.
Build from Scratch
Build from Scratch is designed for creating a document directly inside Doc. Composer, starting with a blank document and adding content as needed.
Users select project data from the Diagram Navigator or Model Explorer, choose suitable element templates, and insert the generated content into the document. They can then organize content blocks, add explanatory text, insert images and tables, configure sections, and customize the document layout.
This mode is suitable when:
- You want to create a new document without relying on an existing Word document.
- You need to document selected diagrams or model elements.
- You want to control the structure and order of generated content.
- You need reusable templates for recurring documentation tasks.
- You want to create a report containing multiple types of project information.
Typical examples include creating a use case specification, class diagram reference document, database design report, or complete project design document.
Fill-in Doc
Fill-in Doc is designed to insert project information into an existing document structure.
Rather than building the entire document inside Doc. Composer, users prepare a document base containing predefined Doc Fields. These fields act as placeholders that tell Doc. Composer what project information to retrieve and where to insert it.
When the document is generated, Doc. Composer processes the fields and replaces them with the corresponding diagram images, model information, element descriptions, tables, or other requested content.
This mode is suitable when:
- You already have a Microsoft Word document template.
- Your organization requires a standardized document structure.
- You want to preserve manually written sections while inserting model-generated information.
- You need to produce multiple project documents using the same document format.
- You want to integrate Visual Paradigm design information into an existing report.
For example, a company may have a standard software requirements specification template containing sections for project background, objectives, scope, assumptions, functional requirements, and system design. Fill-in Doc can populate the technical sections using information from a Visual Paradigm project while preserving the surrounding document structure.
Build from Scratch vs. Fill-in Doc
| Aspect | Build from Scratch | Fill-in Doc |
|---|---|---|
| Starting point | A new blank document | An existing document base |
| Main purpose | Compose a document from project information and custom content | Insert project information into an existing document structure |
| Content integration | Drag and drop element templates and other document components | Use Doc Fields as placeholders for project information |
| Document structure | Created and organized inside Doc. Composer | Defined primarily by the existing document base |
| Custom text | Added through text boxes | Retained in the document base and supplemented with fields such as ${TEXT} |
| Typical use case | Creating a new project specification or design report | Filling an organizational Word template with project details |
Which mode should you choose? Choose Build from Scratch when you want to compose a new document using Visual Paradigm’s document editor. Choose Fill-in Doc when you already have a document structure and want to populate it with information from your project.
Doc. Composer Functionality Breakdown
Doc. Composer provides several capabilities for retrieving project information, composing document content, customizing layouts, and generating deliverables. The following sections explain its major functions.
Project Data Navigation
The Diagram Navigator and Model Explorer provide access to the information stored in a Visual Paradigm project. They allow users to select the source of the information they want to include in a document.
Depending on the selected project item, the available element templates will change to reflect the type of information being documented.
Users can navigate and select:
- Project: Access project-level information and elements contained in the project.
- Diagrams: Select a particular diagram as the source of document content.
- Diagram Elements: Work with shapes and other elements contained in a diagram.
- Model Elements: Select elements stored in the model repository.
For example, selecting a use case diagram in the Diagram Navigator displays the element templates applicable to that diagram. Selecting a class or another model element may present a different collection of templates.
Element Templates
Element templates define how selected project information is presented in a document. They determine what information is retrieved from an element and how that information is structured.
Different project data types have different available templates. A template for a use case diagram may present diagram details, while a template for a class may present its name, description, attributes, and operations.
In Build from Scratch, users create document content by selecting an appropriate project item and dragging its element template into the document.
Element templates provide the following benefits:
- Reusable content structures: Apply the same presentation format to similar project elements.
- Consistent output: Present information using standardized structures.
- Flexible information selection: Choose different templates according to the type of content required.
- Customization: Modify existing templates or write custom templates to retrieve and present project data differently.
- Team reuse: Share templates in a team environment where supported.
Content Blocks
A content block is a piece of document content produced from a project element or template. Content blocks form the building blocks of a document in Build from Scratch.
Users can manage content blocks after inserting them into the document.
Available content block operations include:
- Open the underlying element: Right-click a content block and select the corresponding Open command to open its source element in the project.
- Open the element specification: Access the source element’s specification to review or edit its properties.
- Move content blocks: Select one or multiple blocks and use Move Up or Move Down to change their order.
- Delete content blocks: Select unwanted blocks and press Delete.
- Save a loop-generated block as a template: Reuse and further customize content generated through the Loop tool.
Multiple content blocks can be selected using Shift or Ctrl, allowing users to rearrange several blocks together.
One important advantage of content blocks is that they retain their relationship with the underlying project information. This makes it possible to navigate from a generated document section back to its source model element.
Loop Tool
The Loop tool allows users to generate document content for multiple child elements of a selected project item. Instead of manually inserting an element template for every individual element, users can configure a loop to process a collection of elements automatically.
For example, when documenting a use case diagram, a loop can retrieve the diagram’s child elements and generate content for each selected element.
How the Loop tool works:
- Select the relevant project item in the Diagram Navigator or Model Explorer.
- Open the Element Template pane.
- Drag the Loop tool into the document.
- Configure the loop using the available tabs.
- Review the elements returned by the loop.
- Choose the appropriate element template for each element type.
- Exclude elements or types that should not appear in the output.
- Configure the sorting order and confirm the loop.
Loop configuration includes:
- Elements tab: Displays the child elements returned by the loop.
- Element Types tab: Displays the types of elements found and allows users to select the template used for each type.
- Excluded tab: Lists excluded elements and element types, allowing users to include them again.
- Sorting: Controls the order in which the elements are processed.
By default, the Basic template is selected for each element type. Users can change the template assigned to a particular element type.
Element exclusion: Users can exclude individual elements when they do not want certain items included in the generated document. They can also exclude an entire element type. For example, when documenting use cases, a user may choose to exclude actors from the loop output.
Loop sorting options:
| Sorting Method | Description |
|---|---|
| System | Sort elements according to the system’s default ordering. |
| Name | Sort elements alphabetically by name. |
| Model Type | Sort elements according to their element types. The type order can be customized in the Element Types tab. |
| Manual | Allow users to arrange the elements themselves. |
Saving a Loop as a reusable template: After generating content using a loop, right-click a content block produced by the Loop tool and select Save as Loop Template. Enter a name to create a reusable template. The resulting template appears in the Element Templates pane and can be customized further by editing its XML definition.
Custom Text and Text Boxes
Doc. Composer allows users to add their own explanatory text to a document through text boxes.
Unlike a conventional word processor, users do not type directly into the document canvas. Instead, they insert text boxes into the document and enter the required content inside them.
How to add custom text:
- Select the location in the document where the text should appear.
- Click the Text Box button on the document toolbar.
- Enter the desired text inside the text box.
- Use the pop-up formatting toolbar to apply rich-text formatting where needed.
Text boxes allow users to combine manually written explanations with automatically generated model information. They are useful for adding introductions, descriptions, notes, assumptions, conclusions, and other contextual information.
Adding Images
Doc. Composer supports inserting images into documents. Images can be used for visual elements that are not generated directly from the selected project data.
Typical applications include:
- Company logos.
- Project branding.
- Supporting illustrations.
- Other pictures required in a document.
Images can complement model-generated diagrams and textual descriptions, helping users create more complete and presentable deliverables.
Adding Tables
Doc. Composer supports tables for organizing document information into rows and columns.
Tables are useful for presenting structured information such as requirement lists, design specifications, element properties, and comparison data.
In Build from Scratch, users can insert tables through the document editor. In Fill-in Doc, users can also define tables using Doc Fields to retrieve project information dynamically.
Page Breaks
Page breaks allow users to control where a new page begins in the generated document.
This is useful when creating formal reports that require specific sections or major topics to start on separate pages.
For example, users may insert page breaks before a major diagram specification, an appendix, or a new document chapter.
Sections
Sections allow users to divide a document into separate page-layout regions. They provide additional control over how different parts of the document are presented.
Sections are useful when a report requires different page presentation settings for different parts of the document, such as a cover page, main content, and appendices.
Table of Contents
Doc. Composer supports adding a table of contents to a document. A table of contents provides readers with an organized overview of the document’s major sections and helps them locate information more easily.
This is especially useful for lengthy specifications and technical reports containing multiple chapters or sections.
Revision Log
The Revision Log component allows users to record document revision information.
It can include information such as:
- Document version.
- Date and time of the revision.
- Person responsible for the change.
- Remarks describing the revision.
A revision log helps readers understand the document’s change history and supports document management practices.
Cover Page
Doc. Composer supports adding a cover page at the beginning of a document.
A cover page can be used to introduce the document and present identifying information such as the document title and other project-related details.
Page Display Options
Doc. Composer provides four page display modes to help users view and work with document layouts.
| Display Mode | Description |
|---|---|
| Single Page | Displays one page at a time. |
| Single Page Continuous | Displays pages vertically in a continuous sequence. |
| Two-up | Displays two pages side by side. |
| Two-up Continuous | Displays two pages side by side in a continuous sequence. |
These options make it easier to inspect individual pages or review the overall layout of a multi-page document.
Document and Format Configuration
The document toolbar provides access to configuration tools, including formatting and report configuration options. Users can configure the document’s presentation and layout through the available editor controls.
These settings work alongside element templates, text boxes, tables, page breaks, and sections to help produce a structured document.
Keeping Documents Updated
One of the important capabilities of Doc. Composer is its ability to maintain a relationship between document content and the underlying project data.
When project information changes, users can refresh the document content so that it reflects the latest project information. This helps reduce the risk of delivering documentation containing outdated model details.
The official feature comparison also lists automatic document updating when exporting documents as a supported document production capability.
Important distinction: Updating model-derived content does not mean that all manually written explanations are automatically revised. Users should still review custom text, assumptions, conclusions, and other manually maintained information after significant project changes.
Custom Element Templates
Doc. Composer includes built-in element templates, but users are not restricted to those predefined templates.
Users can create their own element templates or modify existing ones to retrieve and present project information according to their documentation requirements.
Custom templates are useful when the built-in templates do not provide the exact information or formatting required by a project.
For example, a team may create a custom template that presents a class name, its description, attributes, operations, and related information in a particular specification format.
Custom element templates are written using the Doc. Composer Template Language, which is based on XML.
Sharing Templates and Styles in a Team Environment
Doc. Composer supports sharing document-related resources in a team environment, helping team members use consistent documentation structures and styles.
Supported shared resources include:
- Element templates: Share reusable content-generation templates.
- XML templates: Share customized template definitions.
- Styles: Share style configurations used for document presentation.
- Fill-in Doc templates: Share document templates so team members can generate documents using a common structure.
This is particularly valuable for teams that need to produce standardized project deliverables across multiple projects or contributors.
Understanding Fill-in Doc in Detail
Fill-in Doc is a document-generation workflow that inserts Visual Paradigm project information into an existing document base. Its main components are Doc Base and Doc Fields.
What Is a Doc Base?
A Doc Base is the source document used as the structural foundation for a Fill-in Doc operation. It contains the document content, formatting, and placeholders that define where project information should be inserted.
For example, a Word document can contain headings, paragraphs, tables, and predefined Doc Fields. Doc. Composer processes the fields and fills them with information retrieved from the selected Visual Paradigm project.
The Doc Base helps separate document presentation from the project data being inserted.
What Are Doc Fields?
Doc Fields are special placeholders embedded in a Doc Base. They instruct Doc. Composer to retrieve and insert particular types of information from a Visual Paradigm project.
Instead of manually copying a diagram image or model specification into the document, users define a Doc Field that describes the information to retrieve.
When the document is generated, Doc. Composer processes the field and replaces it with the corresponding project information.
Examples of information that Doc Fields can retrieve include:
- Diagram images and diagram names.
- Diagram elements and their properties.
- Model element names and descriptions.
- Class attributes and operations.
- Entity columns and other member elements.
- Custom text supplied during document generation.
- Structured information presented in tables.
Types of Information Retrieved by Doc Fields
Diagram Information
Doc Fields can retrieve diagrams from a Visual Paradigm project. Depending on the field configuration, the document can include a diagram image, diagram name, or information about elements contained in the diagram.
Model Element Information
Doc Fields can retrieve model elements and their properties, including names, descriptions, and member information.
For example, a class element can be queried to obtain its attributes and operations. An entity can be queried to obtain its columns.
Diagram Element Information
Doc Fields can also retrieve individual shapes or elements from diagrams. This allows users to document selected diagram content rather than always retrieving the entire diagram.
Custom Text
The ${TEXT} Doc Field acts as a placeholder for content supplied when generating a document.
For example, users can use custom text fields to provide information such as a project name, author name, or other manually supplied details that are not necessarily stored in the project model.
Table Information
Doc Fields can be used to construct tables containing retrieved project information. This makes it possible to create structured specifications and reports while retaining the layout of the original document base.
Doc Field Syntax
Doc Fields use a special field syntax to identify the information to retrieve. The exact syntax depends on the type of information being queried and the options specified.
For example, a diagram field can specify the diagram type, model scope, and selection behavior. A simplified example of a diagram field is:
${DIAGRAM, "Business Process Diagram", "BusinessProcessDiagram", ONE, "Basic"}
This example illustrates a diagram field configured to retrieve one Business Process Diagram using the Basic template. The actual field syntax and available parameters depend on the Doc Field type.
Users who need to customize document generation beyond the available predefined fields should consult the Doc. Composer user guide for the complete Doc Field reference.
How to Create a Fill-in Doc
- Prepare an existing document to serve as the Doc Base.
- Insert the appropriate Doc Fields into the document at the locations where project information should appear.
- Save the document base in the supported format.
- Open Visual Paradigm Desktop and load the project containing the required diagrams and model elements.
- Open Tools > Doc. Composer.
- Choose the Fill-in Doc workflow.
- Select the document base and configure the required project information.
- Provide any custom text values requested by the document fields.
- Review the generated document using the preview function.
- Make any necessary adjustments using the document touch-up workflow.
- Generate the final document.
The resulting document combines the original document structure with information retrieved from the Visual Paradigm project.
Previewing a Fill-in Doc
Doc. Composer provides a preview workflow that allows users to inspect the document with the selected Doc Base and applied project information before generating the final deliverable.
Previewing is useful for checking whether the correct diagrams and model information have been selected and whether the document layout is suitable.
Touching Up a Generated Document
Doc. Composer provides a touch-up stage for making adjustments to the document before exporting it.
This allows users to review the populated document and make necessary presentation or content adjustments rather than treating the initial generated output as the final deliverable.
Generating the Final Document
After configuring the Doc Base, selecting the required project information, and reviewing the preview, users can generate the completed document.
The generated output combines the predefined document content with the information retrieved from the Visual Paradigm project.
Doc. Composer Template Language (DCTL)
Doc. Composer Template Language, commonly referred to as DCTL, is the template language used to define how project information is retrieved and presented in custom element templates.
DCTL is based on XML and allows users to customize document-generation behavior beyond the built-in element templates.
It is intended for users who need more control over the structure, content, and presentation of generated documentation.
What Can DCTL Do?
The Doc. Composer template language documentation covers the following capabilities:
- Template root: Defines the root structure of an element template.
- Text and properties: Outputs text and project element properties.
- Non-connector looping: Iterates through collections of related project elements.
- Connector looping: Retrieves information through model relationships and connectors.
- Sorting in loops: Controls the order in which retrieved elements are presented.
- Conditional expressions: Controls content generation based on specified conditions.
- Tables: Structures retrieved information into tabular output.
- Images: Incorporates image content into generated documents.
- Breaks: Controls document breaks within template output.
- Other DCTL constructs: Provides additional mechanisms for controlling document generation.
- Template reuse: Supports reusing templates through inline or reference-based approaches.
- Variables: Allows variables to be used within Doc. Composer templates.
When Should You Create Custom Templates?
Custom templates are particularly useful when the default templates do not meet your documentation requirements.
For example, you may need to:
- Present model elements in a company-specific format.
- Generate a table containing selected element properties.
- Include only elements that meet particular conditions.
- Control the ordering of model elements.
- Include information from related model elements.
- Reuse a particular document structure across multiple diagrams or projects.
Users who want to develop advanced templates should refer to the official Doc. Composer Template Language documentation.
Exporting Documents from Doc. Composer
Doc. Composer supports exporting documents in three formats: HTML, PDF, and Microsoft Word.
| Export Format | Typical Usage |
|---|---|
| HTML | Publishing documentation as web content or using it in HTML-based workflows. |
| Distributing finalized reports and specifications in a portable document format. | |
| Word | Creating editable documents for further review, editing, and collaboration. |
HTML Export
HTML export produces an HTML document that can be used in web-based documentation workflows.
PDF Export
PDF export is useful when the document is ready for distribution or review and users want to provide a portable, fixed-layout deliverable.
Microsoft Word Export
Word export is useful when users need an editable document that can be reviewed, revised, or incorporated into other Word-based documentation workflows.
Updating Content During Export
Doc. Composer supports updating document content based on changes to the underlying Visual Paradigm project. This helps users generate documentation that reflects the latest available project information.
For documents that include model-generated information, users should review the exported result to ensure that the retrieved data, formatting, and manually maintained sections remain correct.
How to Use Doc. Composer in Visual Paradigm Desktop
Opening Doc. Composer
To open Doc. Composer:
- Open your Visual Paradigm Desktop project.
- Select Tools > Doc. Composer from the application toolbar.
- Choose the document creation mode that matches your requirements.
If the Doc. Composer command is not visible, check that you are using Standard Edition or higher and that the application is using the Sleek UI style.
Creating a Document from Scratch
Follow these steps to create a new document using Build from Scratch:
- Select Tools > Doc. Composer.
- Click Build Doc from Scratch.
- Rename the document by double-clicking Document1 in the breadcrumb area.
- Enter the desired document name.
- Press Enter to confirm the name.
- Use the Diagram Navigator or Model Explorer to select the project data you want to document.
- Browse the available element templates for the selected project item.
- Drag the appropriate element template into the document.
- Repeat the process to add other project information.
- Use text boxes, images, tables, sections, and other document tools to complete the document.
- Arrange the content blocks in the required order.
- Export the document in HTML, PDF, or Word format.
Editing tip: To obtain more editing space, double-click the Tools tab to temporarily collapse the toolbar.
Generating Repeated Content Using Loop
When a document needs to include multiple child elements of a selected diagram or model element, the Loop tool can automate the process.
- Open Doc. Composer in Build from Scratch mode.
- Select the source diagram or model element in the Diagram Navigator or Model Explorer.
- Open the Element Template pane.
- Drag the Loop tool into the document.
- Review the elements listed in the Elements tab.
- Open the Element Types tab and assign an appropriate element template to each element type.
- Exclude unnecessary elements or element types.
- Select a sorting method.
- Confirm the loop configuration.
- Review the generated content.
Creating a Document Using Fill-in Doc
Use Fill-in Doc when you need to populate an existing document template with Visual Paradigm project information.
- Prepare the document base with the required headings, text, formatting, and Doc Fields.
- Open the relevant Visual Paradigm Desktop project.
- Open Tools > Doc. Composer.
- Select the Fill-in Doc workflow.
- Choose the document base.
- Configure the Doc Fields and select the required project information.
- Provide custom text where requested.
- Preview the resulting document.
- Make any necessary touch-up adjustments.
- Generate the final document.
Practical Doc. Composer Workflows
Creating a Software Requirements Specification
Doc. Composer can help produce an SRS by combining manually written requirements context with information from use case diagrams and related model elements.
A typical workflow is:
- Prepare the project background, objectives, scope, and assumptions.
- Maintain the functional requirements and use case models in Visual Paradigm.
- Open Doc. Composer and choose Build from Scratch.
- Insert relevant use case diagram content using the available element templates.
- Use the Loop tool to generate content for multiple use cases where appropriate.
- Add explanatory text and supporting tables.
- Organize the document into logical sections.
- Include a cover page, table of contents, and revision log if required.
- Export the completed specification.
Creating a System Design Document
A system design document can combine structural and behavioral model information.
For example, a document may include:
- System architecture diagrams.
- Class diagrams and class specifications.
- Sequence diagrams and related descriptions.
- Activity diagrams and process information.
- Descriptions of important model elements.
Users can select the relevant diagrams or model elements in the project and insert their content using suitable element templates. Custom text boxes can be used to explain design decisions and relationships between different sections.
Creating a Database Design Document
Doc. Composer can be used to present database model information in a structured document.
A typical workflow involves selecting the relevant database diagrams and model elements, retrieving their descriptions and properties, and organizing the resulting information into tables or specification sections.
For example, a database design report may contain entity information, attributes, columns, and related model details.
Generating Standardized Client Deliverables
When a customer or organization requires a predefined document format, Fill-in Doc provides a way to retain that structure while retrieving technical information from Visual Paradigm.
Users can prepare a standard document base and insert Doc Fields into the relevant sections. The same document structure can then be reused to generate deliverables for different projects.
Important Considerations and Limitations
Doc. Composer Is Not a General-Purpose Word Processor
Build from Scratch uses document components such as content blocks and text boxes. Users do not type directly onto the document canvas as they would in a conventional word processor.
Generated Content Depends on Project Data
Doc. Composer retrieves information from the selected Visual Paradigm project. If the required diagrams, elements, descriptions, or properties are missing, the generated document may not contain the information users expect.
Template Availability Depends on the Selected Project Item
The available element templates vary according to the type of project data selected in the Diagram Navigator or Model Explorer. A template available for one element type may not be available for another.
Custom Templates May Require Technical Knowledge
Although built-in templates support common document-generation tasks, advanced customization may require knowledge of the XML-based Doc. Composer Template Language.
Manual Content Still Requires Maintenance
Automatically retrieved project information can be refreshed, but manually written explanations and other custom content should still be reviewed when the underlying design changes.
Edition Requirements Apply
Doc. Composer requires Visual Paradigm Desktop Standard Edition or higher. It is not included in Community Edition or Modeler Edition.
Frequently Asked Questions About Doc. Composer
What is Doc. Composer in Visual Paradigm?
Doc. Composer is a document builder in Visual Paradigm Desktop that generates project documentation using information from diagrams, model elements, and other project data. It supports combining model-generated content with custom text and document structures.
Which Visual Paradigm editions support Doc. Composer?
Doc. Composer is included in Visual Paradigm Desktop Standard, Professional, and Enterprise editions. It is not included in Community or Modeler editions.
Where can I find Doc. Composer in Visual Paradigm?
Open Visual Paradigm Desktop and select Tools > Doc. Composer from the application toolbar. If the command is unavailable, check your edition and ensure that the Sleek UI style is selected.
What are the two modes of Doc. Composer?
The two modes are Build from Scratch and Fill-in Doc. Build from Scratch creates a new document using project element templates and document components. Fill-in Doc inserts project information into an existing document base using Doc Fields.
What is the difference between Build from Scratch and Fill-in Doc?
Build from Scratch is used to compose a new document inside Doc. Composer. Fill-in Doc is used to populate an existing document template with information retrieved from a Visual Paradigm project.
Can Doc. Composer generate documentation automatically?
Yes. Doc. Composer can retrieve information from project diagrams and model elements using element templates, loops, and Doc Fields. Users can organize and customize the retrieved content before exporting the document.
Can Doc. Composer generate a complete project report?
Yes. Users can combine model-generated content with custom text, images, tables, sections, a cover page, a table of contents, and a revision log to create a complete project report.
Can I use Doc. Composer to document UML diagrams?
Yes. Doc. Composer can retrieve information from UML diagrams and their elements, allowing users to create documentation containing diagram content and model specifications.
Can Doc. Composer document class diagrams?
Yes. Users can select class diagrams or individual class model elements and use applicable element templates or Doc Fields to generate class-related documentation, including information such as class names, descriptions, attributes, and operations.
Can Doc. Composer document use cases?
Yes. Users can select a use case diagram and insert applicable element templates. The Loop tool can also generate content for multiple child elements, allowing users to produce use case documentation more efficiently.
Can Doc. Composer retrieve information from model elements?
Yes. Doc. Composer supports querying model elements and retrieving information such as names, descriptions, and member elements. Examples include class attributes and operations and entity columns.
Can I insert diagrams into a Word document automatically?
Yes. Fill-in Doc supports inserting diagram information into an existing document through Doc Fields. Users can define the diagram information to retrieve, preview the resulting document, and generate the completed deliverable.
Can I use my own Word document template?
Yes. Fill-in Doc is designed to work with an existing document base. You can retain your document’s predefined structure and insert Doc Fields to populate it with Visual Paradigm project information.
What is a Doc Base?
A Doc Base is the source document used by Fill-in Doc. It contains the document structure and Doc Fields that specify where and what project information should be inserted.
What is a Doc Field?
A Doc Field is a special placeholder in a Doc Base that instructs Doc. Composer to retrieve particular information from a Visual Paradigm project and insert it into the generated document.
What does the ${TEXT} Doc Field do?
The ${TEXT} Doc Field is a placeholder for custom content supplied during document generation. It can be used for information such as a project name or author name.
Can I generate a list of multiple model elements?
Yes. The Loop tool can retrieve child elements of a selected project item and generate content for each element using the assigned element templates. Users can exclude unwanted elements and configure sorting.
Can I exclude certain elements when using Loop?
Yes. The Loop configuration allows users to exclude individual elements or entire element types. Excluded items can be restored through the Excluded tab.
Can I sort elements generated by Loop?
Yes. Loop supports System, Name, Model Type, and Manual sorting methods.
Can I create my own element templates?
Yes. Users can customize existing element templates or write new ones using the XML-based Doc. Composer Template Language.
What is DCTL?
DCTL stands for Doc. Composer Template Language. It is an XML-based language used to define how project information is queried, processed, and presented in custom element templates.
Can Doc. Composer generate tables?
Yes. Build from Scratch supports inserting tables, while Fill-in Doc supports creating tables using Doc Fields to retrieve and organize project information.
Can I add my own text to a document?
Yes. In Build from Scratch, users can add custom text through text boxes. In Fill-in Doc, users can retain manually written content in the document base and use custom text fields where needed.
Can I add pictures or logos?
Yes. Build from Scratch supports inserting images, including company logos and other supporting pictures.
Can I add a table of contents?
Yes. Doc. Composer provides a table of contents component for organizing document sections and helping readers navigate longer documents.
Can I add a revision history?
Yes. The Revision Log component can record document version information, revision date and time, the person responsible, and remarks about the changes.
Can I add a cover page?
Yes. Doc. Composer supports adding a cover page at the beginning of a document.
Can I control page breaks?
Yes. Doc. Composer provides page break insertion so users can control where new pages begin.
What page display modes does Doc. Composer support?
It supports Single Page, Single Page Continuous, Two-up, and Two-up Continuous display modes.
Can I update a document after changing my project diagrams?
Yes. Doc. Composer maintains a relationship between generated document content and project data, allowing document content to be refreshed when the project changes. Users should also review manually written content separately.
Can I export Doc. Composer documents to PDF?
Yes. Doc. Composer supports exporting documents as PDF, HTML, and Microsoft Word files.
Can I export a Doc. Composer document to Word?
Yes. Microsoft Word is one of the supported export formats. Word output is useful when further editing or review is required.
Can I export a Doc. Composer document as HTML?
Yes. HTML is one of the supported export formats.
Can my team share Doc. Composer templates?
Yes. Visual Paradigm supports sharing element templates, XML templates, and styles in a team environment. Fill-in Doc templates can also be shared among team members.
Why can’t I find Doc. Composer in Visual Paradigm?
First, verify that your license is Standard Edition or higher. Doc. Composer is not available in Community or Modeler editions. Also check that the Sleek UI style is selected.
Does Doc. Composer replace Microsoft Word?
No. Doc. Composer is a model-driven document composition and generation tool, not a general-purpose word processor. It helps retrieve and organize Visual Paradigm project information and can export the resulting document to Microsoft Word for further editing.
Does Doc. Composer use AI to write project documentation?
Doc. Composer is primarily a template-driven document generation tool. It retrieves and formats existing project information using element templates, loops, Doc Fields, and DCTL. It should not be confused with an AI writing assistant that independently generates new project content.
Is Doc. Composer available in Visual Paradigm Online?
The feature described in this guide is Doc. Composer in Visual Paradigm Desktop. Its edition availability and workflows refer to the Desktop product.
Summary
Visual Paradigm Doc. Composer provides a practical way to create project documentation directly from the information maintained in Visual Paradigm models and diagrams. It helps teams reduce manual documentation work, standardize deliverables, and keep generated content aligned with project design information.
Its two working modes address different documentation needs: Build from Scratch provides a flexible environment for composing new documents, while Fill-in Doc integrates project information into existing document templates.
With element templates, content blocks, loops, custom text, images, tables, page-layout controls, Doc Fields, and the XML-based Doc. Composer Template Language, users can create anything from focused model specifications to comprehensive project reports.
For development teams that need documentation to remain connected to their software designs, Doc. Composer provides an integrated document production workflow within Visual Paradigm Desktop.
Official Documentation and Resources
For more information about Doc. Composer and its advanced capabilities, refer to the following Visual Paradigm resources:
- Introducing Doc. Composer – An overview of Doc. Composer and its two working modes.
- Build from Scratch User Guide – Detailed instructions for creating and customizing documents.
- Fill-in Doc User Guide – Detailed instructions for integrating project information into existing documents.
- Doc. Composer Interface Overview – Explanation of the Diagram Navigator, Element Template List, and document area.
- Document Production and DCTL Reference – Advanced template development and document production topics.
- Visual Paradigm Edition Comparison – Feature availability across Visual Paradigm Desktop editions.
VISUAL PARADIGM