v1.1.2
This commit is contained in:
@@ -242,6 +242,7 @@ style.Alignment.Horizontal := "center";
|
||||
style.Alignment.Vertical := "justify";
|
||||
style.Alignment.WrapText := True;
|
||||
style.Alignment.ReadingOrder := 2;
|
||||
style.Alignment.TextRotation := 45;
|
||||
style.Border.Left.LineStyle := "thin";
|
||||
style.Border.Left.Color := "A020F0";
|
||||
style.Border.Right.LineStyle := "thin";
|
||||
@@ -357,6 +358,16 @@ println("[success] SetSheetViewOptions");
|
||||
view := excel.GetSheetViewOptions(sheetName, 0);
|
||||
println("[success] GetSheetViewOptions ShowGridLines = {}, ShowRowColHeaders = {}, View = {}, ZoomScale = {}", view.ShowGridLines, view.ShowRowColHeaders, view.ZoomScale, view.View);
|
||||
|
||||
// SetPane
|
||||
Pane := TOfficeObj('TPane');
|
||||
Pane.XSplit := 6;
|
||||
Pane.YSplit := 14;
|
||||
Pane.ActivePane := 'bottomRight';
|
||||
Pane.TopLeftCell := excel.CoordinatesToCellName(Pane.XSplit + 1, Pane.YSplit + 1)[1];
|
||||
Pane.State := 'frozen';
|
||||
excel.SetPane(sheetName, 0, Pane);
|
||||
println("[success] SetPane");
|
||||
|
||||
// SetPageLayout
|
||||
pageLayout := TOfficeObj('TPageLayout');
|
||||
pageLayout.FitToWidth := 10;
|
||||
|
||||
Reference in New Issue
Block a user