Hi!
Trying build a report and output in .ODT format. Simple process: load text / csv into a document, set few page setup properties, split in 3 columns by using TextColumn feature and save the file. Code below:
feed = $"{pathToTemp}Street_Index.csv";
repName = $"{pathToTemp}{ReadDocPathDetails().First()}.odt";
Document doc = new Document(feed);
DocumentBuilder builder = new DocumentBuilder(doc);
PageSetup pageSetup = builder.PageSetup;
pageSetup.Orientation = Orientation.Landscape;
pageSetup.TopMargin = ConvertUtil.MillimeterToPoint(15);
TextColumnCollection columns = pageSetup.TextColumns;
columns.SetCount(3);
columns.EvenlySpaced = true;
columns.Spacing = 40;
doc.Save(repName);
It doesn’t apply neither, splitting into columns or changing the page setup format. If i change the extension to .docx is outputting the correct changes.
If i comment out TextColumn functionality it works to style the page setup. Tried to change the page setup formatting to come after textColumn snippet but still no effect