This macro will duplicate values in column A & B according to the value specified in column C. The results will be generated in columns D & E. The first row is the header. The macro is assigned to a button (named Push in this case). This macro works only in LibreOffice Calc and uses LibreOffice Basic Sample Data before running the Macro The Macro: Sub DuplicateRowsAsPerValue() Dim i As Double Dim j As Double Dim z As Double Dim w As Double sheet = ThisComponent.getSheets().getByIndex(0) For i = 0 To 10000 j = sheet.getCellByPosition(2, i).Value For z = 1 To j + 1 sheet.getCellByPosition(3, z + w).String = sheet.getCellByPosition(0, i).String sheet.getCellByPosition(4, z + w).String = sheet.getCellByPosition(1, i).String Next z w = w + z - 2 Next i End Sub The Macro (Adapted to run on LibreOffice Calc) Assign the Macro to a Button (in this case the the green one named Push) Duplicated values in columns D & E as per values in column C...
Apply perspective transformation to bitmap images using the selected path as envelope, without the need to use an external software to transform the image. It works for both embedded and linked images. cd $HOME/.config/inkscape/extensions git clone https://github.com/s1291/InkRasterPerspective.git Open Inkscape (if it is already open, close then re-open it) and you should find the extension under: Extensions > Raster Perspective > Perspective . Source: https://github.com/s1291/InkRasterPerspective
Comments
Post a Comment