0

I using PDFLib as pdf renderer and IDML format from InDesign as input format and my question: is parameter

LeftIndent

only possible way how to create in bullet list indent? I have found in CookBookPdfLib, that PDFLib supports LeftIndent but no such property as in InDesign

FirstLineIndent

I mean that if i have multiple lines with one bullet, on the first line i can apply (in InDesign), so called FirstLineIndent, which moves only first line of text after one bullet. Example of functionality: image.

With PDFLib i have to create this functionality on my own or it is implemented?

javac
  • 2,431
  • 4
  • 17
  • 26

1 Answers1

0

you might check out the option "parindent". Check out the PDFlib API reference for details.

Rainer
  • 2,013
  • 1
  • 10
  • 7
  • Unfortunately `parindent` doesn't take negative values - and neither does `leftindent`... So how do we create a hanging indent? – TheStoryCoder May 01 '17 at 21:10
  • `parindent` accept negative values. Please see the following cookbook sample: http://www.pdflib.com/pdflib-cookbook/text-output/numbered-list/. The important part, you are always within the fitbox, which is defined by fit_textflow(). So it might be necessary to first do an indent and then use `parindent` – Rainer May 02 '17 at 08:36