-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
795ec40
commit 2f5aa7b
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace BookFx.Usage | ||
{ | ||
using System; | ||
|
||
public static class S5ProtoSheet | ||
{ | ||
public static byte[] Create() | ||
{ | ||
byte[] preexistingCalendarBookBytes = S3Calendar.Create(DateTime.Now.AddMonths(2).Year); | ||
byte[] preexistingStyleBookBytes = S2Style.Create(); | ||
|
||
return Make | ||
.Book() | ||
.Add(Make.Sheet(preexistingCalendarBookBytes, "en").Name("First Sheet")) | ||
.Add(Make.Sheet(preexistingCalendarBookBytes, "ru").Name("Second Sheet")) | ||
.Add(Make.Sheet(preexistingStyleBookBytes).Name("Third Sheet")) | ||
.Add(Make.Value("I am a regular sheet.").ToSheet().Name("Fourth Sheet")) | ||
.ToBytes(); | ||
} | ||
} | ||
} |