Skip to content

The border line cannot be displayed properly after merging cells #363

@0HG0

Description

@0HG0

`$writer = new XLSXWriter();
$colOptions = [
'font'=>'Arial',
'font-size'=>15,
'font-style'=>'bold',
'halign'=>'center',
'valign'=>'center',
];
$colOptions_1 = [
'font'=>'Arial',
'font-size'=>13,
'font-style'=>'bold',
'halign'=>'center',
'valign'=>'center',
'border'=>'left,right,top,bottom',
'border-style'=>'thin',
'fill'=>'#d9e1f2',
'string_format'=>'@'
];

    $writer->writeSheetHeader('Sheet1', ['xxx'=>'string'],$colOptions);
    $writer->markMergedCell('Sheet1', 0,0,0,9);
    $writer->writeSheetRow('Sheet1',['xxx'],$colOptions_1);
    $writer->markMergedCell('Sheet1', 1,0,1,9);

Snipaste_2024-07-24_14-25-09`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions