search for: htmltext

Displaying 10 results from an estimated 10 matches for "htmltext".

2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...: (56) 17000000 (number) = 17000000 (number) +html: (57) -17000000 (number) = -17000000 (number) +html: (58) input (string) = input (string) +html: (59) 34000000 (number) = 34000000 (number) +html: (60) -34000000 (number) = -34000000 (number) +html: (61) input (dynamic) = dynamic (string) +Testing: htmlText (default: ) +htmlText: (0) (undefined) = (undefined) +htmlText: (1) null (null) = null (null) +htmlText: (2) true (boolean) = true (boolean) +htmlText: (3) false (boolean) = false (boolean) +htmlText: (4) 0 (number) = 0 (number) +htmlText: (5) 1 (number) = 1 (number) +htmlText: (6) 0.5 (number) =...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
...field_movie_do_set_text); - swfdec_text_field_movie_add_variable (proto, SWFDEC_AS_STR_html, + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_html, swfdec_text_field_movie_get_html, swfdec_text_field_movie_set_html); - swfdec_text_field_movie_add_variable (proto, SWFDEC_AS_STR_htmlText, + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_htmlText, swfdec_text_field_movie_get_htmlText, swfdec_text_field_movie_set_htmlText); - swfdec_text_field_movie_add_variable (proto, SWFDEC_AS_STR_length, + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_len...
2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
...swfdec_text_field_movie_set_textColor); commit d27c58746986d9c077697512cdaad56ce838a3a6 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Tue Oct 23 13:45:59 2007 +0300 More work on styleSheet support for TextField Save the input if styleSheet is set and return it for htmlText Don't allow modifications if styleSheet was set when setting the text Always parse text as HTML if styleSheet is set (no matter what html property says or whether text or htmlText was used to set the text) diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_fie...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):
2008 Jun 05
4
[Bug 16241] New: assertion failed: (movie->cache_state <= SWFDEC_MOVIE_INVALID_CHILDREN)
...t; to quit--- #12 0x00007f7a0d093e61 in swfdec_text_field_movie_set_text (text=0x4950d10, str=0x5651561 "<b><font color=\"#CA2027\">9,111</font></b>", html=1) at swfdec_text_field_movie.c:1002 #13 0x00007f7a0d099355 in swfdec_text_field_movie_set_htmlText (cx=0x3cd4de0, object=0x4950d10, argc=1, argv=0x45afe50, ret=<value optimized out>) at swfdec_text_field_movie_as.c:163 #14 0x00007f7a0d031b32 in swfdec_as_context_run (context=0x3cd4de0) at swfdec_as_context.c:887 #15 0x00007f7a0d0432ae in swfdec_as_object_do_set (object=0x4950d10,...
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...\param const wxString& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxString& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> bool PreviewText(const wxString& htmltext , const wxString& basepath = wxEmptyString) ; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Print HTML file. - -Returns false in case of error -- call - to...
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
...es changed, 90 insertions(+), 55 deletions(-) New commits: diff-tree c81a20e773a8322ff4d8cb3d6e4d22aacd13fe3f (from ec52d0b16b2c5001bf9e1503e49b504853cc288c) Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sat Oct 13 14:50:19 2007 +0300 Support parsing color from TextField's htmlText diff --git a/libswfdec/swfdec_html_parser.c b/libswfdec/swfdec_html_parser.c index ddd8534..3c0ca04 100644 --- a/libswfdec/swfdec_html_parser.c +++ b/libswfdec/swfdec_html_parser.c @@ -113,6 +113,24 @@ swfdec_text_field_movie_html_tag_set_att { swfdec_as_object_set_variable (object, SW...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...swfdec_text_field_movie_set_listen_variable_text (text, + swfdec_text_field_movie_get_html_text (text)); + } else { + swfdec_text_field_movie_set_listen_variable_text (text, + swfdec_text_field_movie_get_text (text)); + } } } @@ -152,13 +135,13 @@ swfdec_text_field_movie_get_htmlText (SwfdecAsContext *cx, SWFDEC_AS_CHECK (SWFDEC_TYPE_TEXT_FIELD_MOVIE, &text, ""); - if (!text->text->html) { - swfdec_text_field_movie_get_text (cx, object, argc, argv, ret); - return; + if (text->text->html) { + SWFDEC_AS_VALUE_SET_STRING (ret, + swfdec_t...
2007 Oct 25
0
18 commits - libswfdec/swfdec_player_internal.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/trace
...rties[i] + "=" + fmt[properties[i]]; + } + return str; +} + +function check () { + for (var i = 0; i < t.length; i++) { + trace (i + ":" + format_to_string (t.getTextFormat (i))); + } +} + + +this.createTextField ("t", 1, 0, 0, 200, 200); + +t.html = true; +t.htmlText = "<p align='right'>a<b>b<i>c</i>d<u>e</u>f</b>g</p>\rh<font size='20'>i</font>j\r"; + +var fmt = new TextFormat (); + +trace ("Starting state:"); +check (); + +trace ("all, font:"); +fmt.font...