getIdByPosOff static method
(int, String, MobiAttrType)
getIdByPosOff(
- MobiRawml rawml,
- int posFid,
- int posOff,
- MobiAttrType prefAttr,
Implementation
static (int, String, MobiAttrType) getIdByPosOff(
MobiRawml rawml, int posFid, int posOff, MobiAttrType prefAttr) {
var (offset, fileNumber) = getOffSetByPosOff(rawml, posFid, posOff);
MobiPart html = getPartByUid(rawml, fileNumber);
var (id, prefAttr2) = getIdByOffset(html, offset, prefAttr);
return (fileNumber, id, prefAttr2);
}