SAP Knowledge Base Article - Public

2888969 - EC: Logo alignment in word document is incorrect

Symptom

  • Document generation in Word template has the logo alignment incorrect
  • Logo is aligned as right in Document generation template, however when downloaded in word format the logo is aligned on the left side
  • Logo alignment is correct in PDF format but not in Word template

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SuccessFactors Employee Central
  • Document Generation 

Reproducing the Issue

  1. Go to Manage Document Template > Create a new Document template
  2. In template content, add logo that has alignment "right". Kindly follow the guideline of adding logo from KBA: 2465399

Template_Doc.PNG

  1. Go to Generate Document
  2. Download the document in Word format
  3. Notice that the logo is aligned on the "Left"

WordDoc.PNG

Cause

  • There are few limitations with word document.
  • Word document has it's own Rich text editor where as with PDF, it copies the content as it is given in the document template

Resolution

  1. First create the template content in Word document with correct alignment
  2. Copy the content from the word document and paste it Document generation template 
  3. This way we are ensuring that the alignement of the content is as per the word document
  4. Now generate template

Keywords

logo misplaced, logo alignment , word document logo, pdf logo, logo misplaced in word, logo alignment in word, logo alignment incorrect , KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Core 1911