Hi,
Is it possible to create a style that contains an image (small icon)?
So that when you apply the style to a heading, it always displays the icon before the text?
As an example, if I have the heading:
Available tools
Then I apply my fantastic style called "Tools headings", and the text is formatted and the icon is inserted before the text:
Available tools
Any ideas for how to solve this without having to insert an image every time?
Include icon in heading style?
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Include icon in heading style?
Hi Gunilla,
Sorry, but styles are text only and cannot include icons. However, there is still an easy way to achieve what you want: Create a heading exactly as you want to have it with the icon and some dummy text, using a style for all the text and paragraph formatting. Then select the entire paragraph, select File > Save Snippet in the Project > Manage Topics section of the toolbar and save it in your project folder as an XML snippet. Then whenever you want to use that heading style, select the Snippet tool in Write > Insert and insert the XML snippet in Copy/Paste mode.
You can use this method for all kinds of complex formatting, toggles, tables and many other things you need to reuse. See this topic in the help for full information on using and managing snippets:
https://www.helpandmanual.com/help/hm_w ... ppets.html
Sorry, but styles are text only and cannot include icons. However, there is still an easy way to achieve what you want: Create a heading exactly as you want to have it with the icon and some dummy text, using a style for all the text and paragraph formatting. Then select the entire paragraph, select File > Save Snippet in the Project > Manage Topics section of the toolbar and save it in your project folder as an XML snippet. Then whenever you want to use that heading style, select the Snippet tool in Write > Insert and insert the XML snippet in Copy/Paste mode.
You can use this method for all kinds of complex formatting, toggles, tables and many other things you need to reuse. See this topic in the help for full information on using and managing snippets:
https://www.helpandmanual.com/help/hm_w ... ppets.html
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 7
- Joined: Wed Apr 17, 2019 10:35 am
Re: Include icon in heading style?
Ok, thank you, I will try that solution for other things as well!