475 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
97
views
LibreOffice Writer: how to prevent a single table row ("widow row") from moving to the next page?
In LibreOffice Writer, when a table spans multiple pages, sometimes only the very last row is pushed onto the next page.
This creates a single "widow row" on the new page, which looks ugly and reduces ...
0
votes
0
answers
66
views
How can I dynamically write each feature class to a separate layer with a modified name when using a single merged feature type reader?
I have a set of feature classes inside a File Geodatabase, which I read using the "Single Merged Feature Type" option in FME. After reading, I perform some analysis on the data.
At the end ...
0
votes
1
answer
69
views
PAC validation erros when using libreoffice command line tools to export html as PDF/UA
I'm trying to export from HTML to PDF/UA using libreoffice command line tools with this command:
soffice --headless --convert-to 'pdf:writer_pdf_Export: {"SelectPdfVersion":{"type":...
0
votes
1
answer
123
views
Change line separator by programming
In Java, we use a BuffedWriter and the newline() method. Previously, you could change the character of the new line by changing the system property "Line.separator". Unfortunately, the ...
1
vote
1
answer
41
views
How to modify the behaviour of the Writter plain via a lua-filter
Has the -t plain option has its own Writer ? , If so haven't seen such in the source code https://github.com/jgm/pandoc/tree/main/src/Text/Pandoc/Writers (no plain.hs or something similar)
Regardless ...
0
votes
1
answer
101
views
Trying to use a the Tutorial's Custom Writer for Pandoc, what CLI options need to use?
I am following the tutorial of the docs, example-modified-markdown-writer
I want to try it against the following file
input01.html
<body>
<h1>My Document</h1>
<code>
This code ...
0
votes
1
answer
102
views
Write String values in Writer object with Java 8 Stream
I'm trying to replace an ordinary for loop which writes String values in a Writer object with stream in the following code:
public void save() {
try (Writer fileWriter = new FileWriter(file)) {
...
0
votes
0
answers
98
views
Writing to a multi-sheet excel file using phpSpreadsheet
Is there a way to write to a specific sheet in an excel multi-sheet file using PhpSpreadsheet without the sheets in said excel file being wiped out?
The write function in phpSpreadsheet always creates ...
1
vote
0
answers
201
views
LibreOffice Macros: how to apply paragraph style for every line starting with a number
I'm doing some postprocessing of javascript output in LibreOffice Writer.
I'd like to apply a separate paragraph style for every line that:
starts with a number (like 01.)
is a list and starts with ...
1
vote
1
answer
73
views
pandoc classic filter's template setting
I'm trying to recover, before trying to rewrite, a "classic" pandoc custom writer called tba.lua.
Thus far, I've managed to make it work by adding the prescribed patch in the form
function ...
0
votes
0
answers
93
views
WriteString and ReadString in server and client in golang
I am implementing a simple server that can read the message send by the client one line at a time and prepend the line count to each line.
Here's my server.go file:
package main
import "fmt"
...
0
votes
0
answers
53
views
I have a reader-writer shared memory in linux problem, i wrote the code in c
This is the writer code:
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include <semaphore.h>
#include <fcntl.h>
#include <stdlib.h>
#include <...
-1
votes
1
answer
64
views
Delete used line in csv and move to an other csv file
I'm currently skipping used data lines but i actually want to move the used dataline to a new csv file so that i have a clear divider between used and unused data.
i'm currently using:
data = []
with ...
0
votes
1
answer
178
views
Add Image to Libre Office Writer with VB.Net
For days, I've tried to add an image to programmatically created Libre Office (v7.4) Writer Document using VB.net (using Visual Studio 2022) with no success. The LibreOffice SDK I'm using was ...
2
votes
0
answers
205
views
Access values of pandoc.Figure elements in pandoc.RawBlock with custom Lua writer
To solve my concrete question (asked also on the Pandoc mailing list, which, unfortunatley, seems to be down due to spam mails at the moment) regarding using the Latex \sidecaption command in a figure ...