i have a multi page .docx file. Page 1 and 2 are single-column pages, page 3 is formatted as a 2-columns page. Following code results in loosing the 2-colums format setting of page 3 in the file.
Code: Select all
DocX := TDOCXReadWrite.Create(nil);
try
DocX.LoadFromFile(FFileName);
DocX.SaveToFile(FFileName));
finally
DocX.Free;
end;
King regards,
Orest.