mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/MI-38.git
synced 2026-01-24 02:45:39 +03:00
04.07.2022
This commit is contained in:
43
s1000d/Converter14/html.h
Normal file
43
s1000d/Converter14/html.h
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef HTML_H
|
||||
#define HTML_H
|
||||
|
||||
#include "s1000d_manager.h"
|
||||
#include "ru_const.h"
|
||||
#include "splashform.h"
|
||||
|
||||
class HTML
|
||||
{
|
||||
public:
|
||||
HTML();
|
||||
void Generate(S1000D_Manager* SM, bool _toScorm, SplashForm* _splash);
|
||||
void parseNode(QDomNode node, int lvl);
|
||||
QString spc(int n);
|
||||
void add(int lvl, QString s);
|
||||
void cat(QString s);
|
||||
QString searchSVGNodeForText(QDomNode g);
|
||||
|
||||
S1000D_Manager* SM;
|
||||
RU_Const *ru_const;
|
||||
SplashForm* splash;
|
||||
bool DBG = true;
|
||||
bool toScorm;
|
||||
int ID_pars, ID_tabs, ID_figs, ID_mmos;
|
||||
struct labelStruct {
|
||||
QString title, id;
|
||||
QString type;
|
||||
};
|
||||
QList<labelStruct> idList;
|
||||
struct acronymStruct {
|
||||
QString id, term, definition;
|
||||
};
|
||||
QList<acronymStruct> acrList;
|
||||
QString footnoteID;
|
||||
int svgUI;
|
||||
bool paraIdent=true;
|
||||
QString paraTextAlign;
|
||||
int iframeDivCnt;
|
||||
|
||||
QString domElementToXML(const QDomElement& elem, int lvl);
|
||||
};
|
||||
|
||||
#endif // HTML_H
|
||||
Reference in New Issue
Block a user