Skip to content

PHPWord Text Bold is always false when im reading odt files #1534

@CarlosEduardoBinotiCastro

Description

This is:

  • a bug report

Expected Behavior

im reading a existent file in my local storage.
it must return a textrun with all characteristics from the text.

Current Behavior

When i read an odt file in my local storage, the result always is a text type, with bold and italic set as false.

How to Reproduce

there is my code. how im reading.

$word = \PhpOffice\PhpWord\IOFactory::load('TestOdt.odt', 'ODText');
dd($word);

Context

  • PHP version: 7.2.10
  • PHPWord version: 0.14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions