You've already forked lazarus-ccr
fpspreadsheet: Add support for diagonal border lines. Implemented for BIFF8 and ods (BIFF2 and 5 do not support diagonal borders, OOXML reader currently does not have border support). Test cases adapted. "spready" adapted to show diagonal borders.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3400 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -44,9 +44,6 @@
|
||||
<UseExternalDbgSyms Value="True"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</Item2>
|
||||
<Item3 Name="Release">
|
||||
@@ -74,9 +71,6 @@
|
||||
</Debugging>
|
||||
<LinkSmart Value="True"/>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</Item3>
|
||||
</BuildModes>
|
||||
@@ -109,7 +103,6 @@
|
||||
<PathDelim Value="\"/>
|
||||
<SearchPaths>
|
||||
<OtherUnitFiles Value=".."/>
|
||||
<SrcPath Value=".."/>
|
||||
</SearchPaths>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
@@ -121,8 +114,5 @@
|
||||
<DebugInfoType Value="dsDwarf2Set"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</CONFIG>
|
||||
|
||||
@@ -95,12 +95,15 @@ begin
|
||||
MyWorksheet.WriteBorderLineStyle(5, 7, cbWest, lsMedium);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 7, cbNorth, lsMedium);
|
||||
|
||||
// J6 empty cell, all thick borders
|
||||
MyWorksheet.WriteBorders(5, 9, [cbNorth, cbEast, cbSouth, cbWest]);
|
||||
// J6 empty cell, all thick borders, diagonals thin&red
|
||||
MyWorksheet.WriteBorders(5, 9, [cbNorth, cbEast, cbSouth, cbWest, cbDiagUp, cbDiagDown]);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 9, cbSouth, lsThick);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 9, cbEast, lsThick);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 9, cbWest, lsThick);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 9, cbNorth, lsThick);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 9, cbDiagUp, lsThin);
|
||||
MyWorksheet.WriteBorderLineStyle(5, 9, cbDiagDown, lsThin);
|
||||
MyWorksheet.WriteBorderColor(5, 9, cbDiagUp, scRed);
|
||||
|
||||
// K6 empty cell, top border thick
|
||||
MyWorksheet.WriteBorders(5, 11, [cbNorth]);
|
||||
|
||||
Reference in New Issue
Block a user