LibreOffice Module filter (master) 1
|
Go to the source code of this file.
Namespaces | |
namespace | js2hxx |
Functions | |
def | js2hxx.get_var_decl (n) |
Variables | |
int | js2hxx.MAX_LINES = 150 |
string | js2hxx.VARIABLE_NAME = 'aSVGScript' |
js2hxx.script_name = os.path.basename( sys.argv[0] ) | |
js2hxx.infile_name = sys.argv[1] | |
js2hxx.outfile_name = sys.argv[2] | |
js2hxx.infile = open( infile_name, 'r' ) | |
list | js2hxx.in_lines = [line.rstrip() for line in infile.readlines()] |
list | js2hxx.valid_lines = [] |
bool | js2hxx.is_multiline_comment = False |
int | js2hxx.lineNumber = 0 |
int | js2hxx.emptyLineCount = 0 |
js2hxx.index = line.find('"') | |
js2hxx.sline = line.strip() | |
js2hxx.dline = line.replace( 'NAVDBG.on', 'NAVDBG.off' ) | |
string | js2hxx.escaped_line = '%s' % dline |
int | js2hxx.total_valid_lines = len (valid_lines) + 2 |
int | js2hxx.total_fragments = total_valid_lines / MAX_LINES |
list | js2hxx.out_lines = [] |
int | js2hxx.i = 2 |
int | js2hxx.fragment = 0 |
js2hxx.outfile = open( outfile_name, 'w' ) | |
string | js2hxx.header_info = '/* !! This file is auto-generated, do not edit !! */' |