1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/External/OxyPlot/OxyPlot/Reporting/Report/Equation.cs Sat Jun 08 16:53:22 2013 +0000
1.3 @@ -0,0 +1,59 @@
1.4 +// --------------------------------------------------------------------------------------------------------------------
1.5 +// <copyright file="Equation.cs" company="OxyPlot">
1.6 +// The MIT License (MIT)
1.7 +//
1.8 +// Copyright (c) 2012 Oystein Bjorke
1.9 +//
1.10 +// Permission is hereby granted, free of charge, to any person obtaining a
1.11 +// copy of this software and associated documentation files (the
1.12 +// "Software"), to deal in the Software without restriction, including
1.13 +// without limitation the rights to use, copy, modify, merge, publish,
1.14 +// distribute, sublicense, and/or sell copies of the Software, and to
1.15 +// permit persons to whom the Software is furnished to do so, subject to
1.16 +// the following conditions:
1.17 +//
1.18 +// The above copyright notice and this permission notice shall be included
1.19 +// in all copies or substantial portions of the Software.
1.20 +//
1.21 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1.22 +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1.23 +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1.24 +// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1.25 +// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1.26 +// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1.27 +// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1.28 +// </copyright>
1.29 +// <summary>
1.30 +// Represents an equation.
1.31 +// </summary>
1.32 +// --------------------------------------------------------------------------------------------------------------------
1.33 +namespace OxyPlot.Reporting
1.34 +{
1.35 + /// <summary>
1.36 + /// Represents an equation.
1.37 + /// </summary>
1.38 + public class Equation : ReportItem
1.39 + {
1.40 + /// <summary>
1.41 + /// Gets or sets Caption.
1.42 + /// </summary>
1.43 + public string Caption { get; set; }
1.44 +
1.45 + /// <summary>
1.46 + /// Gets or sets Content.
1.47 + /// </summary>
1.48 + public string Content { get; set; }
1.49 +
1.50 + /// <summary>
1.51 + /// The write content.
1.52 + /// </summary>
1.53 + /// <param name="w">
1.54 + /// The w.
1.55 + /// </param>
1.56 + public override void WriteContent(IReportWriter w)
1.57 + {
1.58 + w.WriteEquation(this);
1.59 + }
1.60 +
1.61 + }
1.62 +}
1.63 \ No newline at end of file