public void GenerateMdxFromDom(MdxObject mdx, Stream outputStream, MdxGeneratorOptions options)
 {
     using (StreamWriter sw = new StreamWriter(outputStream))
     {
         this.CreateMdxGenerator().GenerateMdxFromDom(mdx, sw, options);
         sw.Flush();
     }
 }
 public void GenerateMdxFromDom(MdxObject mdx, string fileName, MdxGeneratorOptions options)
 {
     using (StreamWriter sw = new StreamWriter(fileName))
     {
         this.CreateMdxGenerator().GenerateMdxFromDom(mdx, sw, options);
         sw.Flush();
     }
 }
		public void GenerateMdxFromDom(MdxObject mdx, string fileName, MdxGeneratorOptions options)
		{
			using (StreamWriter sw = new StreamWriter(fileName))
			{
				this.CreateMdxGenerator().GenerateMdxFromDom(mdx, sw, options);
				sw.Flush();
			}
		}
		public void GenerateMdxFromDom(MdxObject mdx, Stream outputStream, MdxGeneratorOptions options)
		{
			using (StreamWriter sw = new StreamWriter(outputStream))
			{
				this.CreateMdxGenerator().GenerateMdxFromDom(mdx, sw, options);
				sw.Flush();
			}
		}
		public void GenerateMdxFromDom(MdxObject mdx, TextWriter tw, MdxGeneratorOptions op)
		{
			this.tw = tw;
			this.options = op;
			this.NoSpaceBefore = true;
			curShift = 0;
			curShiftStr = "";
			mdx = CalculateLength(mdx);
			GenerateMdx(mdx);
		}
Ejemplo n.º 6
0
 public void GenerateMdxFromDom(MdxObject mdx, TextWriter tw, MdxGeneratorOptions op)
 {
     this.tw            = tw;
     this.options       = op;
     this.NoSpaceBefore = true;
     curShift           = 0;
     curShiftStr        = "";
     mdx = CalculateLength(mdx);
     GenerateMdx(mdx);
 }
 public void GenerateMdxFromDom(MdxObject mdx, StringBuilder builder, MdxGeneratorOptions options)
 {
     using (StringWriter sw = new StringWriter(builder))
     {
         try
         {
             this.CreateMdxGenerator().GenerateMdxFromDom(mdx, sw, options);
         }
         finally
         {
             sw.Flush();
         }
     }
 }
		public void GenerateMdxFromDom(MdxObject mdx, StringBuilder builder, MdxGeneratorOptions options)
		{
			using (StringWriter sw = new StringWriter(builder))
			{
				try
				{
					this.CreateMdxGenerator().GenerateMdxFromDom(mdx, sw, options);
				}
				finally
				{
					sw.Flush();
				}
			}
		}
 public void GenerateMdxFromDom(MdxObject mdx, TextWriter writer, MdxGeneratorOptions options)
 {
     this.CreateMdxGenerator().GenerateMdxFromDom(mdx, writer, options);
 }
		public void GenerateMdxFromDom(MdxObject mdx, TextWriter writer, MdxGeneratorOptions options)
		{
			this.CreateMdxGenerator().GenerateMdxFromDom(mdx, writer, options);
		}