The fire had reached the wooden structure of the building, but not the roof, when it was brought under control.