public bool RectangleStart(RDL.Rectangle rect, Row r) { return true; }
public void RectangleEnd(RDL.Rectangle rect, Row r) { }
public bool RectangleStart(RDL.Rectangle rect, Row r) { bool rc=true; switch (rect.DataElementOutput) { case DataElementOutputEnum.NoOutput: rc = false; break; case DataElementOutputEnum.Output: if (rowstart != null) // In case no items in row are visible { // we delay until we get one. tw.Write(rowstart); rowstart = null; } PushContainer(rect.DataElementName); break; case DataElementOutputEnum.Auto: case DataElementOutputEnum.ContentsOnly: default: break; } return rc; }
public void RectangleEnd(RDL.Rectangle rect, Row r) { if (rect.DataElementOutput != DataElementOutputEnum.Output) return; PopContainer(rect.DataElementName); }
public void RectangleEnd(RDL.Rectangle rect, Row r) { tw.WriteLine("</tr></table>"); string bookmark = rect.BookmarkValue(this.r, r); if (bookmark != null) tw.WriteLine("</div>"); return; }
public bool RectangleStart(RDL.Rectangle rect, Row r) { string cssName = CssAdd(rect.Style, rect, r); // get the style name for this item string bookmark = rect.BookmarkValue(this.r, r); if (bookmark != null) tw.WriteLine("<div id=\"{0}\">", bookmark); // can't use the table id since we're using for css style // Calculate the width of all the columns int width = rect.Width.PixelsX; if (width < 0) tw.WriteLine("<table id='{0}'><tr>", cssName); else tw.WriteLine("<table id='{0}' width={1}><tr>", cssName, width); return true; }