| 794 | } |
| 795 | |
| 796 | std::string MyXMLVisitor::getURL() const |
| 797 | { |
| 798 | for (auto i = _fontElements.rbegin(), iRend = _fontElements.rend(); i != iRend; ++i) |
| 799 | { |
| 800 | if (!i->url.empty()) |
| 801 | return i->url; |
| 802 | } |
| 803 | return ""; |
| 804 | } |
| 805 | |
| 806 | bool MyXMLVisitor::getBold() const |
| 807 | { |
no test coverage detected