1150 bool IsTitleAct=
false;
THtmlTokV TitleTokV;
1151 bool IsHAct=
false;
int ActHTagN=-1;
1168 int ETagATokN=ATokN+1;
1173 if (ATokN<0){
break;}
1177 if (ATokV.
Len()>=HldWnLen){
break;}
1187 if (ATokV.
Len()>=HldWnLen){
break;}
1192 for (
int HTagN=1; HTagN<=6; HTagN++){HtmlDoc->
AddTokV(HTokV[HTagN-1]);}
1202 IsTitleAct=
true; TitleTokV.
Clr(); TitleTokV.
Add(Tok);
1207 IsHAct=
true; ActHTagN=HTagN;
1208 {
for (
int HTagN=ActHTagN; HTagN<=6; HTagN++){HTokV[HTagN-1].Clr();}}
1209 HTokV[ActHTagN-1].Add(Tok);
1215 if (IsTitleAct){TitleTokV.
Add(Tok); IsTitleAct=
false;}
1218 if (IsHAct){HTokV[ActHTagN-1].Add(Tok); IsHAct=
false;}
1222 if (IsTitleAct){TitleTokV.
Add(Tok);}
1223 if (IsHAct){HTokV[ActHTagN-1].Add(Tok);}
static bool IsBreakTok(const PHtmlTok &Tok)
TSizeTy Len() const
Returns the number of elements in the vector.
static const TStr TitleTagNm
void Clr(const bool &DoDel=true, const TSizeTy &NoDelLim=-1)
Clears the contents of the vector.
static PHtmlTok GetHTok(const bool &IsBTag, const int &HTagN)
void SaveTxt(const PSOut &SOut, const bool &TxtMode=true) const
static const TPt< TSOut > StdOut
void AddTokV(const THtmlTokV &_TokV)
static bool IsHTag(const TStr &TagNm, int &HTagN)
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
PHtmlTok GetTok(const int &TokN) const