1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00
This commit is contained in:
gnosygnu
2016-01-03 21:27:38 -05:00
parent 9509363f46
commit 096045614c
647 changed files with 11693 additions and 7648 deletions

View File

@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package gplx.xowa.htmls.heads; import gplx.*; import gplx.xowa.*; import gplx.xowa.htmls.*;
import gplx.core.bits.*;
public class Xoh_head_mgr extends gplx.core.brys.Bfr_arg_base {
public class Xoh_head_mgr implements gplx.core.brys.Bfr_arg {
private Xoae_app app; private Xowe_wiki wiki; private Xoae_page page;
private Xoh_head_itm__base[] itms; private int itms_len;
private Xoh_head_wtr wtr = new Xoh_head_wtr();
@@ -73,7 +73,7 @@ public class Xoh_head_mgr extends gplx.core.brys.Bfr_arg_base {
for (int i = 0; i < itms_len; ++i)
itms[i].Clear();
}
@Override public void Bfr_arg__add(Bry_bfr bfr) {Write(bfr, app, wiki, page);}
public void Bfr_arg__add(Bry_bfr bfr) {Write(bfr, app, wiki, page);}
public void Write(Bry_bfr bfr, Xoae_app app, Xowe_wiki wiki, Xoae_page page) {
Set_wkrs();
wtr.Init(bfr);

View File

@@ -120,7 +120,7 @@ public class Xoh_head_mgr_tst {
}
}
class Xoh_head_mgr_fxt {
private Xop_fxt fxt = new Xop_fxt();
private final Xop_fxt fxt = new Xop_fxt();
private Xoh_head_mgr mgr;
private Bry_bfr bfr = Bry_bfr.reset_(255);
public Xowe_wiki Wiki() {return wiki;} private Xowe_wiki wiki;

View File

@@ -37,7 +37,7 @@ public class Xoh_head_wtr {
public void Write_css_style_bgn() {
reset_bgn = bfr.Len();
Write_nl_and_indent();
bfr.Add(Html_tag_.Style_lhs_w_type);
bfr.Add(Gfh_tag_.Style_lhs_w_type);
Indent_add();
reset_end = bfr.Len();
}
@@ -45,7 +45,7 @@ public class Xoh_head_wtr {
Indent_del();
if (Reset()) return;
Write_nl_and_indent();
bfr.Add(Html_tag_.Style_rhs);
bfr.Add(Gfh_tag_.Style_rhs);
}
public void Write_css_style_ary(byte[][] ary) {
int len = ary.length;
@@ -74,7 +74,7 @@ public class Xoh_head_wtr {
public void Write_js_script_bgn() {
reset_bgn = bfr.Len();
Write_nl_and_indent();
bfr.Add(Html_tag_.Script_lhs_w_type);
bfr.Add(Gfh_tag_.Script_lhs_w_type);
Indent_add();
reset_end = bfr.Len();
}
@@ -82,7 +82,7 @@ public class Xoh_head_wtr {
Indent_del();
if (Reset()) return;
Write_nl_and_indent();
bfr.Add(Html_tag_.Script_rhs);
bfr.Add(Gfh_tag_.Script_rhs);
}
public void Write_js_head_global_bgn() {
reset_bgn = bfr.Len();