Doc. Composer - Writing Element Templates
What is Doc. Composer Template Language
DCTL (Doc. Composer Template Language) is an XML-based language that enables the transformation of design specification into document content.
You will learn DCTL in this article.
Template Root
Learn how to start off an element template by using an appropriate initiation block.
Text and Property
When you want to output some text, you either use a or a . You will learn how it works in this article.
Looping (Non Connector)
When you want to retrieve the children elements from a querying model element / diagram, write a loop element. You will learn how it works in this article.
Looping (Connector)
When you want to retrieve connectors from a querying model element / diagram, write a loop element. You will learn how it works in this article.
Sorting in Loop
Add under a loop element (e.g. , ) to sort retrieved elements. In this article you will learn how it works.
Conditional Expression
Write conditional expression to control the content to be presented. You will learn how to write conditional expression in this article.
Working with Table
Structure data with table. You will learn how to create table block, table row and table cell in this article.
Working with Image
Add diagram image or icon image into document. You will learn how it works in this article.
Working with Break
Add paragraph break or page break into a document. You will learn how to create breaks in this article.
Working with other DCTL Constructs
Learn how to use OwnerDiagram, ParentModel and ParentShape in writing DCTL.
Reusing Template with Inline or Reference
The reuse of element template can be done by using and . The article shows you how and work.
DCTL Examples
Learn how to write Doc. Composer Template Language by reading a series of examples.
Supported Diagram Types
This page contains all the diagram types available in Visual Paradigm. Both the display and real diagram type are listed.
Doc. Composer - Writing Element TemplatesWhat is Doc. Composer Template LanguageDCTL (Doc. Composer Template Language) is an XML-based language that enables the transformation of design specification into document content.You will learn DCTL in this article.Template RootLearn how to start off an element template by using an appropriate initiation block.Text and PropertyWhen you want to output some text, you either use a or a . You will learn how it works in this article.Looping (Non Connector)When you want to retrieve the children elements from a querying model element / diagram, write a loop element. You will learn how it works in this article.Looping (Connector)When you want to retrieve connectors from a querying model element / diagram, write a loop element. You will learn how it works in this article.Sorting in LoopAdd under a loop element (e.g. , ) to sort retrieved elements. In this article you will learn how it works.Conditional ExpressionWrite conditional expression to control the content to be presented. You will learn how to write conditional expression in this article.Working with TableStructure data with table. You will learn how to create table block, table row and table cell in this article.Working with ImageAdd diagram image or icon image into document. You will learn how it works in this article.Working with BreakAdd paragraph break or page break into a document. You will learn how to create breaks in this article.Working with other DCTL ConstructsLearn how to use OwnerDiagram, ParentModel and ParentShape in writing DCTL.Reusing Template with Inline or ReferenceThe reuse of element template can be done by using and . The article shows you how and work.DCTL ExamplesLearn how to write Doc. Composer Template Language by reading a series of examples.Supported Diagram TypesThis page contains all the diagram types available in Visual Paradigm. Both the display and real diagram type are listed.
การแปล กรุณารอสักครู่..
