iText: Word document has multiple columns - pdf-generation

I found the following issues with iText PDF conversion:
- if a Word file has multiple columns, iText produces a PDF with just one column.
- if a Word file has multiple lines of text next to a picture, only the first line of text is displayed next to the picture. The other lines of text are displayed within the picture.
These seem to be bugs in iText. Is there a way to fix these issues or a workaround around them?
Regards,

Related

Separator line between columns in MS-Access report

I have successfully built a two column report in MS-Access (2013, if that matters). What I can't seem to find out, is how to get a separator line between the columns.
I have tried to draw a vertical line in the details area, but this is not working when some fields in the detail area can grow. The line does not grow, and there doesn't seem to be a "grow" option for lines.
What am I missing? If MS-Access does not offer this, is there a way to do this programmatically?
I think your easiest solution is to create an image - about the size of your page - with a vertical line in the middle, then use that image as a page background for your report.
From my experience, the best quality/wheight you can get is when your image is in the EMF (enhanced Meta file) format, a Microsoft vector format.
This is not supported by many tools. I use Inkscape (free) when I need that. And from my limited experience, (free) Inkscape gives better results than (expensive) Illustrator for that use case.
Alternatively, you can create such background image as a Word document, save to PDF, then find an online PDF to EMF converter.

Inserted Photo and/or Kable Table will not stay where it's placed between text in R markdown

I have two things I have been using, neither of which are keeping the image/table exactly where I placed it within the text in R markdown when knitted to a pdf.
![caption](path) will place the image where there is space on the page. That is, if the page has space, the image will print between the desired text. However, if the page does not have the space, the text is placed to fill the page and then the image awkwardly inserts itself in the middle of the paragraph on the next page.
I am having a similar problem with my kable tables. I have tried using latex_options = 'hold_position', but this seems to only keep my tables from grouping together.
Is there a way to have my table stay between the text that I want? So if it needs to start a whole new page, to fit it, it can without trying to fill the space with the text below.
Thank you in advance.

RTF Template - Excel output didn't display full data

I created RTF Template from MS Word .I have problem which is wrapping of text in output excel cell.
Data gets wrapped in the output cell but full data is not visible when I open the xls file.
I tried :
-Uncheck Wrap text.
-resize width column .
-Check fit text.
-Check Automatically resize to fit content.
but it didn't work . Can anyone help me find what the problem is?
Regards ,
Mint
If you don't have any formatting requirements, and you just need to export date into something Excel can easily work with, try e-text templates. Use the comma separated version, not the fixed width.

Spacing issue between letters while converting Word to PDF on Windows

I am having a word document(docx) of urdu text in Jameel Noori Nastaleeq Font. And in word its showing 10 pages file but after exporting into PDF its showing 11 pages pdf file becuase every letter contains extra space.
Can anyone please provide information ?
Edited:
Please download the file from
File
It has to do with the XML formatting of Word. When any text is pasted into Word (while the font is Jameel Noori Nastaleeq) Word places extra formatting in between the words. That formatting shows fine in Word however in when the file is converted into PDF the extra space becomes visible. When the text is merely typed in Word, the formatting is applied to entire paragraphs rather than words. That is why a typed document doesn't contain the extra spaces.

long texts got hidden, While exporting PDF from Birt

I'm using BIRT as reporting tool. while exporting the datas from the BIRT report as PDF. the long texts got hidden. I have attached the image.
from the above image in the MM Group column the long texts got hidden. is there any way to overcome it?
When autowrapping is activated it should wrap to a new line. I'm not sure why it doesn't do it.
I think it is because there are no spaces in the text. It sees the "100000,100200,OVCR..." as one long word which doesn't get wrapped.
Are you concatenating these values yourself? Just add in a space after every comma.
Otherwise replace comma's with comma-space with code like:
row["MMGroup"].split(",").join(", ");
You can simply modify the data element in the table.
(javascript function replace() will only replace the first occurrence)

Resources