Beispiel #1
0
		public bool MatrixStart(Matrix m, Row r)				// called first
		{
			string bookmark = m.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

			// output some of the table styles
			string cssName = CssAdd(m.Style, m, r);	// get the style name for this item

			tw.WriteLine("<table id='{0}'>", cssName);
			return true;
		}
Beispiel #2
0
		public void MatrixEnd(Matrix m, Row r)				// called last
		{
			tw.Write("</table>");

			string bookmark = m.BookmarkValue(this.r, r);
			if (bookmark != null)
				tw.WriteLine("</div>");		
			return;
		}
Beispiel #3
0
        // called first
        public bool MatrixStart(Matrix m, MatrixCellEntry[,] matrix, Row r, int headerRows, int maxRows, int maxCols)
        {
            string bookmark = m.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

            // output some of the table styles
            string cssName = CssAdd(m.Style, m, r);	// get the style name for this item

            tw.WriteLine("<table id='{0}'>", cssName);
            return true;
        }