Question

MSWord Styler List Error

  • 24 November 2018
  • 1 reply
  • 5 views

Badge

I am trying to use the MSWordStyler with the Content Type of List Item and keep receiving the following error:

Microsoft Word Writer: Rejecting Feature. The msword_type value 'msword_bullet' is invalid. Please use a MSWordStyler prior to this writer to set the msword_type attribute

 

I can successfully use the MSWordStyler with other content types and write to a word document though. It appears to only happen when using an existing MS Word template.

 

FME Desktop 2018.1.0.3 64bit


1 reply

Userlevel 3
Badge +17

Hi @madwarren

I suspect the behaviour you are seeing is related to the same issue in this Q&A post.

As mentioned in Mark's answer, the template Word file must have that content type style you are trying to output. In your case, the template file will need to have the list style you want.

I would suggest following the same steps as roberto did in the other post if you wish to use a template file:

  1. Write the list without a template
  2. Copy the list from the output to your template (this adds the style to the template)
  3. Delete the list and save the template file
  4. Rerun the workspace using the updated template

I hope this helps.

Reply