dallanmc

Results 20 comments of dallanmc

I got rid of all that index stuff in the codebase. You can just delete the object by getting the parent and then calling remove on it and pass in...

``` java package org.wickedsource.docxstamper.util.walk; import org.docx4j.XmlUtils; import org.docx4j.openpackaging.packages.WordprocessingMLPackage; import org.docx4j.wml.*; import org.wickedsource.docxstamper.util.DocumentUtil; import org.wickedsource.docxstamper.api.coordinates.*; import java.util.List; public abstract class CoordinatesWalker { private WordprocessingMLPackage document; public CoordinatesWalker(WordprocessingMLPackage document) { this.document =...

I actually can't remember now, but do you definitely need the bit where you determine if it's a table and then call walkTable? I think that table cells contain paragraphs,...

I posted this issue and a fix already. Look under 'issues'. You'll need to modify the source code.

I wonder if footnotes are supported for any conditional logic at all. Does displayParagraphIf delete the footnote?

Are you able to look at the code (and the docx xml source) to see what's going on? I could have a look in my spare time if you upload...

Can you give an example? Where is the data for the table coming from? Would it work if you create the table and then wrap it in a 'displayIf' comment?

Can I ask why the number of columns in the table is arbitrary? This seems like an unusual use case. I still think it's possible though The biggest problem would...

I'm thinking you could probably start off with a 1x2 table in the doc, stick some content in the first row and then second row (each row will only have...

Ah that's great that you got it working! I'd don't need that code for my current project, but if I do, I'll contact you. Thanks for sharing.