Page 1 of 1

BaseStyleNo

Posted: Mon Sep 06, 2021 3:55 pm
by standay
Sergey,

I was curious as to exactly what BaseStyleNo is used for. I looked in the help and it's listed as a property but no details on it are there.

I'm wondering if you create a new textstyle and set the BaseStyleNo in that to an existing style, can you then make a change to the original existing style and have that "auto-update" any other styles that use that style no as the new style's BaseStyleNo? Not sure that's clear but any info appreciated.

Stan

Re: BaseStyleNo

Posted: Mon Sep 06, 2021 7:20 pm
by Sergey Tkachenko
It does nothing.
Initially, there were plans to implement something like you described.
But finally this auto-update functionality was implemented in StyleTemplates property.

Re: BaseStyleNo

Posted: Mon Sep 06, 2021 9:48 pm
by standay
Sergey Tkachenko wrote: Mon Sep 06, 2021 7:20 pm It does nothing.
Initially, there were plans to implement something like you described.
But finally this auto-update functionality was implemented in StyleTemplates property.
Ah, ok, I think I saw that in another post and forgot about it. Thanks.

The thing I've struggled with the most are the styles and style templates. I pretty much gave up on the templates. I found it easier to just do what I want in code with regular text and para styles. I still have 2 templates in my app but plan to replace those soon.

Stan