Lines Matching refs:str
100 wxTextOutputStream str(stream, wxEOL_NATIVE, *conv);
102 wxTextOutputStream str(stream, wxEOL_NATIVE);
109 str << wxT("<html><head></head><body>\n");
111 OutputFont(currentParaStyle, str);
129 BeginParagraphFormatting(currentParaStyle, paraStyle, str);
139 BeginCharacterFormatting(currentCharStyle, charStyle, paraStyle, str);
149 str << text;
151 EndCharacterFormatting(currentCharStyle, charStyle, paraStyle, str);
161 EndParagraphFormatting(currentParaStyle, paraStyle, str);
163 str << wxT("\n");
168 CloseLists(-1, str);
170 str << wxT("</font>");
173 str << wxT("</body></html>");
175 str << wxT("\n");
188 void wxRichTextHTMLHandler::BeginCharacterFormatting(const wxTextAttrEx& currentStyle, const wxTextAttrEx& thisStyle, const wxTextAttrEx& WXUNUSED(paraStyle), wxTextOutputStream& str)
208 str << wxString::Format(wxT("<font %s >"), style.c_str());
213 str << wxT("<b>");
215 str << wxT("<i>");
217 str << wxT("<u>");
220 str << wxT("<a href=\"") << thisStyle.GetURL() << wxT("\">");
243 void wxRichTextHTMLHandler::BeginParagraphFormatting(const wxTextAttrEx& WXUNUSED(currentStyle), const wxTextAttrEx& thisStyle, wxTextOutputStream& str)
247 str << wxT("<div style=\"page-break-after:always\"></div>\n");
257 CloseLists(indent, str);
273 str << wxT("<p>\n");
275 str << tag;
278 str << wxT("<li> ");
282 CloseLists(-1, str);
285 str << wxString::Format(wxT("<p align=\"%s\""), align.c_str());
320 str << wxT(" style=\"") << styleStr << wxT("\"");
322 str << wxT(">");
330 str << wxString::Format(wxT("<table border=0 cellpadding=0 cellspacing=0><tr><td width=\"%d\"></td><td>"), indentPixels);
336 str << SymbolicIndent( - thisStyle.GetLeftSubIndent());
342 CloseLists(-1, str);
345 str << wxString::Format(wxT("<p align=\"%s\""), align.c_str());
363 str << wxT(" style=\"") << styleStr << wxT("\"");
365 str << wxT(">");
367 OutputFont(thisStyle, str);
386 void wxRichTextHTMLHandler::CloseLists(int level, wxTextOutputStream& str)
396 str << wxT("</ol>");
398 str << wxT("</ul>");
467 wxTextOutputStream str(stream);
469 str << wxT("<img src=\"");
487 str << wxT("memory:") << tempFilename;
490 str << wxT("memory:?");
513 str << wxFileSystem::FileNameToURL(tempFilename);
516 str << wxT("file:?");
523 str << wxT("data:");
524 str << GetMimeType(image->GetImageBlock().GetImageType());
525 str << wxT(";base64,");
531 str << data;
536 str << wxT("\" />");