void SetupPage(BlockPage page) { if (Global == null) { Global = this; } var blocks = page.AllBlocks; MinX = blocks.Min(b => b.GetX()); MaxX = blocks.Max(b => b.GetX() + b.GetWidth()); PageWidth = MaxX - MinX; }
public ResizeBlocksetMagins(BasicFirstPageStats basicStats) { this._basicStats = basicStats.Stats; }
public ResizeBlocksetsWithStats(BasicFirstPageStats basicStats) { this._basicStats = basicStats; }
public static void Reset() { Global = null; }
public OrganizePageLayout(BasicFirstPageStats basicStats) { this._basicStats = basicStats.Stats; }