Hello,
I'd like to have a footer which contains the page index information (e.g. page x of y) and the company information.
Additionally I want the two lines of texts to have different styles. Therefore I figured I would need two separate paragraphs.
// Create footer
Paragraph paragraphOne = section.Footers.Primary.AddParagraph();
paragraphOne.AddText("Seite ");
paragraphOne.AddPageField();
paragraphOne.AddText("/");
paragraphOne.AddNumPagesField();
paragraph.Style = "Style1";
Paragraph paragraphTwo = section.Footers.Primary.AddParagraph();
paragraphTwo.AddText("MyCompany · MyStreet 00 · 0000 MySpace · MyCountry");
paragraphTwo.Style = "Style2";
section.Footers.FirstPage.Add(paragraphOne.Clone());
section.Footers.FirstPage.Add(paragraphTwo.Clone());
My two paragraphs always overlap. I tried to set a spacebefore parameter on the second paragraph but that didn't work out as expected.
As a workaround I also tried to add a LineBreak to the end of the first paragraph.. no good result either.
Any idea why my two paragraphs won't be shown one after the other? I'd be really grateful for some piece of advice