Code Duplication    Length = 4-4 lines in 4 locations

web_interface/astpp/application/libraries/html2pdf/_class/parsingCss.class.php 4 locations

@@ 902-905 (lines=4) @@
899
                    if ($val[3]) $this->value['border']['l']['width'] = $val[3];
900
                    break;
901
902
                case 'border-top-width':
903
                    $val = $this->convertToMM($val, 0);
904
                    if ($val) $this->value['border']['t']['width'] = $val;
905
                    break;
906
907
                case 'border-right-width':
908
                    $val = $this->convertToMM($val, 0);
@@ 907-910 (lines=4) @@
904
                    if ($val) $this->value['border']['t']['width'] = $val;
905
                    break;
906
907
                case 'border-right-width':
908
                    $val = $this->convertToMM($val, 0);
909
                    if ($val) $this->value['border']['r']['width'] = $val;
910
                    break;
911
912
                case 'border-bottom-width':
913
                    $val = $this->convertToMM($val, 0);
@@ 912-915 (lines=4) @@
909
                    if ($val) $this->value['border']['r']['width'] = $val;
910
                    break;
911
912
                case 'border-bottom-width':
913
                    $val = $this->convertToMM($val, 0);
914
                    if ($val) $this->value['border']['b']['width'] = $val;
915
                    break;
916
917
                case 'border-left-width':
918
                    $val = $this->convertToMM($val, 0);
@@ 917-920 (lines=4) @@
914
                    if ($val) $this->value['border']['b']['width'] = $val;
915
                    break;
916
917
                case 'border-left-width':
918
                    $val = $this->convertToMM($val, 0);
919
                    if ($val) $this->value['border']['l']['width'] = $val;
920
                    break;
921
922
                case 'border-collapse':
923
                    if ($tagName == 'table') $this->value['border']['collapse'] = ($val == 'collapse');