static DoubleRect libreOffice_rect(L tag) { ret libreOffice_rect(get(tag, 1)); } static DoubleRect libreOffice_rect(S tag) { S x = xml_getArg(tag, "svg:x"); S y = xml_getArg(tag, "svg:y"); S w = xml_getArg(tag, "svg:width"); S h = xml_getArg(tag, "svg:height"); if (x != null && y != null && w != null && h != null) ret new DoubleRect( libreOffice_parseMeasure(x), libreOffice_parseMeasure(y), libreOffice_parseMeasure(w), libreOffice_parseMeasure(h)); null; }