RVHTMLImporter

General TRichView support forum. Please post your questions here
Post Reply
jgkoehn
Posts: 160
Joined: Thu Feb 20, 2020 9:32 pm

RVHTMLImporter

Post 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            
jgkoehn
Posts: 160
Joined: Thu Feb 20, 2020 9:32 pm

Re: RVHTMLImporter

Post by jgkoehn »

It appears that it is not working because it may not be in the IndentStack
Sergey Tkachenko
Site Admin
Posts: 15691
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: RVHTMLImporter

Post 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.
Post Reply