Click here to Skip to main content
11,496,146 members (774 online)
Click here to Skip to main content
Add your own
alternative version

XML/XSLT Word Report Generator

, 11 Jan 2009 CPOL 77.6K 2.1K 81
The tool is based on XML/XSLT, and allows a user to create a Word report from scratch, namely: construct SQL query, construct a WordML template, generate a document.
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
/*
 * This file is a part of the Razor Framework.
 * 
 * Copyright (C) 2004 Mark (Code6) Belles 
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * 
 * */

using System;
using System.Windows.Forms;

namespace WordReportGenerator
{
	/// <summary>
	/// Summary description for PathCreationEngineEventArgs.
	/// </summary>
	public class PathCreationEngineEventArgs : System.EventArgs 
	{
		private object _userData;
		private string _path;
		private DialogResult _result;
		private System.Exception _systemException;
				
		public PathCreationEngineEventArgs(string path)
		{			
			_path = path;
		}

		public PathCreationEngineEventArgs(string path, DialogResult result)
		{
			_path = path;
			_result = result;
		}

		public object UserData
		{
			get
			{
				return _userData;
			}
			set
			{
				_userData = value;
			}
		}

		public string Path
		{
			get
			{
				return _path;
			}
			set
			{
				_path = value;
			}
		}

		public DialogResult Result
		{
			get
			{
				return _result;
			}
			set
			{
				_result = value;
			}
		}

		public System.Exception Exception
		{
			get
			{
				return _systemException;
			}
			set
			{
				_systemException = value;
			}
		}
	}

	public delegate void PathCreationEngineEventHandler(object sender, PathCreationEngineEventArgs e);
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sam Safonov
Software Developer
Russian Federation Russian Federation
I have Master degree in Particle Physics. During my last several years I work as software developer.

Primary Interests
- c#, c++, php, java.
- scientific programming

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 11 Jan 2009
Article Copyright 2009 by Sam Safonov
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid