Page 1 of 1

RVHTMLImporter

Posted: Tue Apr 13, 2021 7:59 pm
by jgkoehn
Greetings,
In the RVHTMLIMporter I am having trouble having FCurContinar.SetListProperties(FParser) working with a type different than the <ol>
<li type="a"> does not seem to work. Is this fully enabled or am I missing something?
It only seems to use the <ol> list type.

Code: Select all

else if (s = 'li') then
              begin
                WriteTSCR;
                FinishBlockFont;
                FCurBR := False;
                FCurContainer.SetListProperties(FParser);
                StartBlockFont;
                FCurParaStyle := -1;
              end
              else if (s = '/li') then
              begin
                //Do nothing not needed
              end            

Re: RVHTMLImporter

Posted: Tue Apr 13, 2021 8:19 pm
by jgkoehn
It appears that it is not working because it may not be in the IndentStack

Re: RVHTMLImporter

Posted: Wed Apr 14, 2021 10:27 am
by Sergey Tkachenko
Currently, <li type> is not supported, sorry.
And I think I will not add its support in near future, because TRichView does not support markers of different types at the same list level of the same list.