For the office part: Libreoffice formats differently than MS office so there may be problems, but you could also use Onlyoffice (Foss) or WPS office (free but proprietary) which have supposedly 100% compatibility. You could also use MS office web which is free