Lines Matching refs:phrase
254 write_anchors(state, state.phrase); in operator ()()
271 state.phrase << detail::get_markup(phrase_tags::break_mark).pre; in operator ()()
321 void phrase_action(quickbook::state& state, value phrase) in phrase_action() argument
323 write_anchors(state, state.phrase); in phrase_action()
325 detail::markup markup = detail::get_markup(phrase.get_tag()); in phrase_action()
327 value_consumer values = phrase; in phrase_action()
328 state.phrase << markup.pre << values.consume().get_encoded() in phrase_action()
335 write_anchors(state, state.phrase); in role_action()
339 value phrase = values.consume(); in role_action() local
342 state.phrase << "<phrase role=\""; in role_action()
344 get_attribute_value(state, role), state.phrase.get()); in role_action()
345 state.phrase << "\">" << phrase.get_encoded() << "</phrase>"; in role_action()
348 void footnote_action(quickbook::state& state, value phrase) in footnote_action() argument
350 write_anchors(state, state.phrase); in footnote_action()
352 value_consumer values = phrase; in footnote_action()
353 state.phrase << "<footnote id=\"" in footnote_action()
360 void raw_phrase_action(quickbook::state& state, value phrase) in raw_phrase_action() argument
362 write_anchors(state, state.phrase); in raw_phrase_action()
364 detail::markup markup = detail::get_markup(phrase.get_tag()); in raw_phrase_action()
365 state.phrase << markup.pre << phrase.get_quickbook() << markup.post; in raw_phrase_action()
371 state.phrase.swap(str); in operator ()()
396 write_anchors(state, state.phrase); in operator ()()
511 write_anchors(state, state.phrase); in operator ()()
528 state.phrase << markup.pre; in operator ()()
529 state.phrase << content.get_encoded(); in operator ()()
530 state.phrase << markup.post; in operator ()()
571 write_anchors(*this, (in_list ? phrase : out)); in start_list()
589 (in_list ? phrase : out) << list_output; in end_list()
597 write_anchors(*this, phrase); in start_list_item()
602 write_anchors(*this, phrase); in end_list_item()
713 write_anchors(state, state.phrase); in operator ()()
718 state.phrase << strdate; in operator ()()
723 state.phrase << strdate; in operator ()()
726 state.phrase << str; in operator ()()
730 void raw_char_action::operator()(char ch) const { state.phrase << ch; } in operator ()()
736 state.phrase << *first++; in operator ()()
771 write_anchors(state, state.phrase); in code_action()
802 state.phrase << "<programlisting>"; in code_action()
804 state.phrase << "</programlisting>\n"; in code_action()
808 if (qbk_version_n >= 107u) state.phrase << state.end_callouts(); in code_action()
811 state.out << state.phrase.str(); in code_action()
812 state.phrase.clear(); in code_action()
819 state.phrase << "<code>"; in code_action()
821 state.phrase << "</code>"; in code_action()
827 write_anchors(state, state.phrase); in operator ()()
829 detail::print_char(ch, state.phrase.get()); in operator ()()
835 write_anchors(state, state.phrase); in operator ()()
838 detail::print_char(*first++, state.phrase.get()); in operator ()()
844 write_anchors(state, state.phrase); in operator ()()
858 (char)strtol(hex_digits.c_str(), 0, 16), state.phrase.get()); in operator ()()
861 state.phrase << "&#x" << hex_digits << ";"; in operator ()()
882 write_anchors(state, state.phrase); in image_action()
1031 state.phrase << "<inlinemediaobject>"; in image_action()
1033 state.phrase << "<imageobject><imagedata"; in image_action()
1036 state.phrase << " " << attr.first << "=\""; in image_action()
1037 write_plain_text(state.phrase.get(), attr.second); in image_action()
1038 state.phrase << "\""; in image_action()
1041 state.phrase << "></imagedata></imageobject>"; in image_action()
1046 state.phrase << "<textobject><phrase>"; in image_action()
1047 write_plain_text(state.phrase.get(), alt_text); in image_action()
1048 state.phrase << "</phrase></textobject>"; in image_action()
1051 state.phrase << "</inlinemediaobject>"; in image_action()
1060 std::string phrase; in macro_definition_action() local
1061 if (phrase_value.check()) phrase = phrase_value.get_encoded(); in macro_definition_action()
1077 state.macro.add(macro_id.begin(), macro_id.end(), phrase); in macro_definition_action()
1093 values.check(template_tags::phrase)); in template_body_action()
1202 template_tags::phrase)); in break_arguments()
1255 : content.get_tag() == template_tags::phrase in parse_template()
1273 bool is_block = symbol->content.get_tag() != template_tags::phrase; in call_template()
1285 (is_block ? state.out : state.phrase) in call_template()
1334 state.phrase.swap(save_phrase); in call_template()
1360 state.phrase.swap(save_phrase); in call_template()
1365 state.phrase << save_phrase; in call_template()
1369 state.phrase << save_phrase; in call_template()
1432 state.phrase << symbol->content.get_encoded(); in do_template_action()
1435 state.phrase << symbol->content.get_quickbook(); in do_template_action()
1462 symbol->content.get_tag() != template_tags::phrase) { in do_template_action()
1476 case template_tags::phrase: in do_template_action()
1515 write_anchors(state, state.phrase); in link_action()
1537 state.phrase << markup.pre; in link_action()
1538 detail::print_string(dst, state.phrase.get()); in link_action()
1539 state.phrase << "\">"; in link_action()
1542 detail::print_string(dst, state.phrase.get()); in link_action()
1544 state.phrase << content.get_encoded(); in link_action()
1546 state.phrase << markup.post; in link_action()
1574 QUICKBOOK_FOR (value phrase, entry) in variable_list_action()
1575 state.out << phrase.get_encoded(); in variable_list_action()
1960 write_anchors(state, state.phrase); in success()
1961 state.phrase.swap(value); in success()