Underlying Style Support for Custom Styles and Macros

July 11, 2020

Onetastic Custom Styles provides an easy way to quickly format your text with your choice of font, color, size and other formatting. However until now it didn't set the underlying style for the paragraph to one of the built-in styles supported by OneNote. For instance you can use Onetastic's custom Heading 1 style to format a paragraph but it would still use OneNote's built-in Normal style. With the latest update, Custom Styles can now also set the underlying style of the paragraph to one of the built-in styles. If you use Heading 1 custom style, it will use its unique formatting but will also mark the paragraph with the built-in Heading 1 style from OneNote.

This has the benefit of using macros like TOC in Current Page on pages where you used custom styles. Such macros check underlying style of paragraphs to find headings and wouldn't previously work with headings formatted using Custom Styles. You can see how this now works in the below video.

Video

Macros can now change paragraph style

Paragraph objects in macros had a read-only style property. With this update this property is now read/write so you can change the style of a paragraph to one of the built-in styles. Following is a list of accepted values: p, h1, h2, h3, h4, h5, h6, PageTitle, cite, blockquote, code. A sample macro demonstrating this is available here: Sample - Insert Styled Paragraph.

Comments

Name
Comment
Omer Atay - 2020-10-29
Hi Kevin5000, installing Onetastic requires admin privileges. You need to contact your admin to install it. Unfortunately your admin owns control of what programs are installed on your work computer.
Kevin5000 - 2020-10-29
I'm passionate about the product, but my employee has taken away administrative privileges on our machines - and with it the ability to re-load OneTastic.  Have you taken away this conumdrum?  Or maybe the Pro version doesn't require admin privileges?
hb - 2020-10-26
when I crop an image, I can move or resize it freely.

Other Posts

Show all posts