123456789101112131415161718192021222324252627282930313233343536373839 |
- /*
- * This is the header file of tedi2ad
- * Copyright (C) <2022> <alkeon> [alkeon@autistici.org]
-
- * Texdi is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Texdi is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with tedi2ad. If not, see <http://www.gnu.org/licenses/>.
- */
- #ifndef __TEDI2AD__
- #define __TEDI2AD__
- #include <iostream>
- #include <string>
- #include "../tedi2lang/tedi2lang.h"
- using namespace std;
- class tedi2ad: public tedi2lang{
- public:
- tedi2ad(tags_definition td);
- tedi2ad();
- tags_definition default_tags_value();
-
- void convert_line_image(string& line);
- void convert_line_block(string& line);
- private:
- const string _start_paragraph_tag;
- bool _is_paragraph;
- };
- #endif
|