0

When I copy the footer from a Word template to another Word document the font style and size changes in the middle paragraph of footer what consists more than one Run. How can I copy the style of it (font style, size, etc.)? Can anyone help?

FooterPart srcFP = srcMDP.GetPartById(footerRef.Id) as FooterPart;
FooterPart newFooter = destMDP.AddNewPart<FooterPart>();            
newFooter.FeedData(srcFP .GetStream());
destFR.Id = destMDP.GetIdOfPart(newFooter);

enter image description here

sada
  • 584
  • 2
  • 8
  • 25

1 Answers1

0

I had to copy the style of the middle paragraph, too. The middle paragraph consists multiple Runs therefore the common style elements have been raised to the level of the paragraph.

sada
  • 584
  • 2
  • 8
  • 25