Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
sub small_col_width()
     doc = thisComponent
     sel = doc.CurrentSelection
     columns = sel.Columns
     columns.Width = 1000 '# units of 1/10 mm

bind it to some shortcut, or maybe to Contextmenu!

sub small_col_width() doc = thisComponent sel = doc.CurrentSelection columns = sel.Columns columns.Width = 1000 '# units of 1/10 mm

mm

bind it to some shortcut, or maybe to Contextmenu!Contextmenu!
edit:
→Tools→Customize→→Contextmenus→ Menu: "Column header" … →"Add Command"…
or
→Tools→Customize→→Keyboard ….

sub small_col_width() doc = thisComponent sel = doc.CurrentSelection columns = sel.Columns columns.Width = 1000 '# units of 1/10 mmmm

bind it to some shortcut, or maybe to Contextmenu!
edit:
→Tools→Customize→→Contextmenus→ Menu: "Column header" … →"Add Command"…
or
→Tools→Customize→→Keyboard ….

sub small_col_width() Hallo

sub small_col_width()
     doc = thisComponent
      sel = doc.CurrentSelection
      columns = sel.Columns
      columns.Width = 1000 '# units of 1/10 mm   

mm

bind it to some shortcut, or maybe to Contextmenu!
edit:
→Tools→Customize→→Contextmenus→ Menu: "Column header" … →"Add Command"…
or
→Tools→Customize→→Keyboard ….