https://bugs.documentfoundation.org/show_bug.cgi?id=168331
--- Comment #2 from NarayanAras <[email protected]> --- This is what I asked ChatGPT: Write a macro for LibreOffice Writer. It should let the user select a range of cells (1xn or nx1), and fill it with a pattern as follows: ----------------- Step-1: The macro shows a dialog with this default pattern: Sl |1|0 Where- - Parameter#1 is text. default: "Sl " (short for "serial", followed by a space) - Parameter#2: The starting number. default: 1 - Parameter#3: The number of digits to which the number is to be padded with leading zeros. Default: 0 (meaning no padding). - The pipe (|) is the parameter-separator. The dialog should show this explainer text: <Text> | <startingNumber> | <paddingLength> -------------------------- Step-2: The user edits the pattern and presses OK. The macro fills the selected range. --------------------------------- Error-handling: If the user has not selected contiguous cells along a row/column, ask him to select a 1xn or nx1 range and exit. -- You are receiving this mail because: You are the assignee for the bug.
