Doesn't change document size

Hi, it doesn't keep the original size format of my files and even though I change the format of the document in the Options settings, the format is not applied in the document produced.

Ex, if I choose B5, it produces the same format : 210/297 mm.

I finally merged my documents with another program and the original format is kept perfectly.