options finished

save as html  save as pdf  finished

several bugs fixed

Signed-off-by: Meriky <71829016@qq.com>