void TcMSWord::getUsedRange(int *topLeftRow, int *topLeftColumn, int *bottomRightRow, int *bottomRightColumn) { QAxObject* range = m_document->querySubObject("Range"); *topLeftRow = range->property("Row").toInt(); *topLeftColumn = range->property("Column").toInt();