ParagraphResolverEmptyParagraphs from https://forum.aspose.com/t/62838
using this code to convert…
Document doc = new Document(_sourceFilePath);
ParagraphResolverEmptyParagraphs resolver = new ParagraphResolverEmptyParagraphs();
doc.Accept(resolver);
doc.Range.Replace("\v", string.Empty, false, false);
NodeCollection paragraphs = doc.GetChildNodes(NodeType.Paragraph, true);
foreach(Paragraph paragraph in paragraphs)
{
paragraph.ParagraphFormat.Alignment = ParagraphAlignment.Justify;
}
doc.Save(_destinationFilePath, SaveFormat.Epub);
attached is the source doc and converted epub(had to add the.zip to upload)
I have a number of text-boxes in my source file. On the first page the text is black. On the second page the last few lines of text are black. All other text-boxes have white text.
In the converted epub the text is outside the text-box area for all text-boxes.
In the cases of white text because of the page background they are invisible.
What options are available to ensure that text-boxes convert properly?
Thanks in advance.