Skip to content

Insert bold text into tamplates #750

@n-osennij

Description

@n-osennij

So, I need to do the following:
I have a docx tamplate with table. I "cloneRow" her. And insert in cells data from mysql database (DB). And I need insert this data with some bold pieces. In the DB I keep the text without formatting, but I can insert some marks like ${bold}. BUT I need to do bold not all text.
For example, I have in my DB the following:

Some text in my database

And I need insert in template the following:

Some text in my database

In DB I can store text with marks, but how to do bold marked text? And what kind marks to use?

Help me please. It is very important for me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions