This is a migrated thread and some comments may be shown as answers.

Export to PDF - text not displayed

7 Answers 264 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lior ef
Top achievements
Rank 1
Lior ef asked on 04 Aug 2010, 09:38 AM
hi,

i created a simple report with Hebrew text in it, but exporting it doesn't work in all cases - tiff and xps works fine,
exporting to pdf and rich text just give me the visual of the report but with no text in it.
switching to English - the English text is exported OK.
i'm using Reporting Version: 4.1.10.729
WPF radcontrols Version: 2010.2.714.35
.net 3.5 on visual studio 2008

i'm sorry but i can't seem to attach the .resx files so i've attached the screenshots of the resources, with the name of the resource file.

can you please help?

thanks in advance.

code:

Report Designer code:
namespace ExampleTadpis
{
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using Telerik.Reporting;
    using Telerik.Reporting.Drawing;
 
    partial class TadpisMifgashReport
    {
        #region Component Designer generated code
        /// <summary>
        /// Required method for telerik Reporting designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TadpisMifgashReport));
            Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule();
            Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule();
            Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule();
            Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule();
            this.TadpisMifgashDataSource = new Telerik.Reporting.ObjectDataSource();
            this.yozmaCaptionTextBox = new Telerik.Reporting.TextBox();
            this.anamnezaCaptionTextBox = new Telerik.Reporting.TextBox();
            this.remarksCaptionTextBox = new Telerik.Reporting.TextBox();
            this.pageHeader = new Telerik.Reporting.PageHeaderSection();
            this.reportNameTextBox = new Telerik.Reporting.TextBox();
            this.textBox1 = new Telerik.Reporting.TextBox();
            this.titleTextBox = new Telerik.Reporting.TextBox();
            this.pageFooter = new Telerik.Reporting.PageFooterSection();
            this.currentTimeTextBox = new Telerik.Reporting.TextBox();
            this.pageInfoTextBox = new Telerik.Reporting.TextBox();
            this.detail = new Telerik.Reporting.DetailSection();
            this.yozmaDataTextBox = new Telerik.Reporting.TextBox();
            this.anamnezaDataTextBox = new Telerik.Reporting.TextBox();
            this.remarksDataTextBox = new Telerik.Reporting.TextBox();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // TadpisMifgashDataSource
            //
            this.TadpisMifgashDataSource.DataMember = "GetEnumerator";
            this.TadpisMifgashDataSource.DataSource = typeof(Common.TadpisDS.TadpisDetailsDataTable);
            this.TadpisMifgashDataSource.Name = "TadpisMifgashDataSource";
            //
            // yozmaCaptionTextBox
            //
            this.yozmaCaptionTextBox.CanGrow = true;
            this.yozmaCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.0791668891906738, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch));
            this.yozmaCaptionTextBox.Name = "yozmaCaptionTextBox";
            this.yozmaCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1676770448684692, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.yozmaCaptionTextBox.StyleName = "Caption";
            resources.ApplyResources(this.yozmaCaptionTextBox, "yozmaCaptionTextBox");
            //
            // anamnezaCaptionTextBox
            //
            this.anamnezaCaptionTextBox.CanGrow = true;
            this.anamnezaCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.0791668891906738, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20007880032062531, Telerik.Reporting.Drawing.UnitType.Inch));
            this.anamnezaCaptionTextBox.Name = "anamnezaCaptionTextBox";
            this.anamnezaCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1676770448684692, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.anamnezaCaptionTextBox.StyleName = "Caption";
            resources.ApplyResources(this.anamnezaCaptionTextBox, "anamnezaCaptionTextBox");
            //
            // remarksCaptionTextBox
            //
            this.remarksCaptionTextBox.CanGrow = true;
            this.remarksCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.07908821105957, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.40015760064125061, Telerik.Reporting.Drawing.UnitType.Inch));
            this.remarksCaptionTextBox.Name = "remarksCaptionTextBox";
            this.remarksCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1677165031433106, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.remarksCaptionTextBox.StyleName = "Caption";
            resources.ApplyResources(this.remarksCaptionTextBox, "remarksCaptionTextBox");
            //
            // pageHeader
            //
            this.pageHeader.Height = new Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Inch);
            this.pageHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
            this.reportNameTextBox,
            this.textBox1,
            this.titleTextBox});
            this.pageHeader.Name = "pageHeader";
            //
            // reportNameTextBox
            //
            this.reportNameTextBox.CanGrow = false;
            this.reportNameTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.02083333395421505, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099999986588954926, Telerik.Reporting.Drawing.UnitType.Inch));
            this.reportNameTextBox.Name = "reportNameTextBox";
            this.reportNameTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.2468438148498535, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.47908803820610046, Telerik.Reporting.Drawing.UnitType.Inch));
            this.reportNameTextBox.Style.Color = System.Drawing.Color.Red;
            this.reportNameTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
            this.reportNameTextBox.StyleName = "PageInfo";
            resources.ApplyResources(this.reportNameTextBox, "reportNameTextBox");
            //
            // textBox1
            //
            this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.02083333395421505, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9378803194267675E-05, Telerik.Reporting.Drawing.UnitType.Inch));
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.2468438148498535, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099960602819919586, Telerik.Reporting.Drawing.UnitType.Inch));
            this.textBox1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(5, Telerik.Reporting.Drawing.UnitType.Point);
            this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left;
            this.textBox1.StyleName = "PageInfo";
            resources.ApplyResources(this.textBox1, "textBox1");
            //
            // titleTextBox
            //
            this.titleTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.579166829586029, Telerik.Reporting.Drawing.UnitType.Inch));
            this.titleTextBox.Name = "titleTextBox";
            this.titleTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.2676773071289062, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.41875004768371582, Telerik.Reporting.Drawing.UnitType.Inch));
            this.titleTextBox.StyleName = "Title";
            resources.ApplyResources(this.titleTextBox, "titleTextBox");
            //
            // pageFooter
            //
            this.pageFooter.Height = new Telerik.Reporting.Drawing.Unit(0.28125, Telerik.Reporting.Drawing.UnitType.Inch);
            this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
            this.currentTimeTextBox,
            this.pageInfoTextBox});
            this.pageFooter.Name = "pageFooter";
            //
            // currentTimeTextBox
            //
            this.currentTimeTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.02083333395421505, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.02083333395421505, Telerik.Reporting.Drawing.UnitType.Inch));
            this.currentTimeTextBox.Name = "currentTimeTextBox";
            this.currentTimeTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.0817749500274658, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.currentTimeTextBox.StyleName = "PageInfo";
            resources.ApplyResources(this.currentTimeTextBox, "currentTimeTextBox");
            //
            // pageInfoTextBox
            //
            this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.1026871204376221, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.02083333395421505, Telerik.Reporting.Drawing.UnitType.Inch));
            this.pageInfoTextBox.Name = "pageInfoTextBox";
            this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.1649901866912842, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
            this.pageInfoTextBox.StyleName = "PageInfo";
            resources.ApplyResources(this.pageInfoTextBox, "pageInfoTextBox");
            //
            // detail
            //
            this.detail.Height = new Telerik.Reporting.Drawing.Unit(0.60015755891799927, Telerik.Reporting.Drawing.UnitType.Inch);
            this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
            this.yozmaDataTextBox,
            this.anamnezaDataTextBox,
            this.remarksDataTextBox,
            this.yozmaCaptionTextBox,
            this.anamnezaCaptionTextBox,
            this.remarksCaptionTextBox});
            this.detail.Name = "detail";
            //
            // yozmaDataTextBox
            //
            this.yozmaDataTextBox.CanGrow = true;
            this.yozmaDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch));
            this.yozmaDataTextBox.Name = "yozmaDataTextBox";
            this.yozmaDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.07908821105957, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.yozmaDataTextBox.StyleName = "Data";
            resources.ApplyResources(this.yozmaDataTextBox, "yozmaDataTextBox");
            //
            // anamnezaDataTextBox
            //
            this.anamnezaDataTextBox.CanGrow = true;
            this.anamnezaDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20007880032062531, Telerik.Reporting.Drawing.UnitType.Inch));
            this.anamnezaDataTextBox.Name = "anamnezaDataTextBox";
            this.anamnezaDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.07908821105957, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.anamnezaDataTextBox.StyleName = "Data";
            resources.ApplyResources(this.anamnezaDataTextBox, "anamnezaDataTextBox");
            //
            // remarksDataTextBox
            //
            this.remarksDataTextBox.CanGrow = true;
            this.remarksDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.40015760064125061, Telerik.Reporting.Drawing.UnitType.Inch));
            this.remarksDataTextBox.Name = "remarksDataTextBox";
            this.remarksDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.07908821105957, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000000298023224, Telerik.Reporting.Drawing.UnitType.Inch));
            this.remarksDataTextBox.StyleName = "Data";
            resources.ApplyResources(this.remarksDataTextBox, "remarksDataTextBox");
            //
            // TadpisMifgashReport
            //
            this.Culture = new System.Globalization.CultureInfo("he-IL");
            this.DataSource = this.TadpisMifgashDataSource;
            this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
            this.pageHeader,
            this.pageFooter,
            this.detail});
            this.PageSettings.Landscape = false;
            this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Inch);
            this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Inch);
            this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Inch);
            this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Inch);
            this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4;
            this.Style.BackgroundColor = System.Drawing.Color.White;
            this.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(3, Telerik.Reporting.Drawing.UnitType.Point);
            styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
            new Telerik.Reporting.Drawing.StyleSelector("Title")});
            styleRule1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(222)))), ((int)(((byte)(201)))));
            styleRule1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(39)))), ((int)(((byte)(28)))));
            styleRule1.Style.Font.Name = "Gill Sans MT";
            styleRule1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(20, Telerik.Reporting.Drawing.UnitType.Point);
            styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
            new Telerik.Reporting.Drawing.StyleSelector("Caption")});
            styleRule2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(222)))), ((int)(((byte)(201)))));
            styleRule2.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(39)))), ((int)(((byte)(28)))));
            styleRule2.Style.Font.Name = "Gill Sans MT";
            styleRule2.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10, Telerik.Reporting.Drawing.UnitType.Point);
            styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
            styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
            new Telerik.Reporting.Drawing.StyleSelector("Data")});
            styleRule3.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(39)))), ((int)(((byte)(28)))));
            styleRule3.Style.Font.Name = "Gill Sans MT";
            styleRule3.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10, Telerik.Reporting.Drawing.UnitType.Point);
            styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
            styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
            new Telerik.Reporting.Drawing.StyleSelector("PageInfo")});
            styleRule4.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(141)))), ((int)(((byte)(105)))));
            styleRule4.Style.Font.Name = "Gill Sans MT";
            styleRule4.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9, Telerik.Reporting.Drawing.UnitType.Point);
            styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
            this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] {
            styleRule1,
            styleRule2,
            styleRule3,
            styleRule4});
            this.Width = new Telerik.Reporting.Drawing.Unit(6.2677168846130371, Telerik.Reporting.Drawing.UnitType.Inch);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 
        }
        #endregion
 
        private ObjectDataSource TadpisMifgashDataSource;
        private Telerik.Reporting.TextBox yozmaCaptionTextBox;
        private Telerik.Reporting.TextBox anamnezaCaptionTextBox;
        private Telerik.Reporting.TextBox remarksCaptionTextBox;
        private PageHeaderSection pageHeader;
        private Telerik.Reporting.TextBox reportNameTextBox;
        private PageFooterSection pageFooter;
        private Telerik.Reporting.TextBox currentTimeTextBox;
        private Telerik.Reporting.TextBox pageInfoTextBox;
        private Telerik.Reporting.TextBox titleTextBox;
        private DetailSection detail;
        private Telerik.Reporting.TextBox yozmaDataTextBox;
        private Telerik.Reporting.TextBox anamnezaDataTextBox;
        private Telerik.Reporting.TextBox remarksDataTextBox;
        private Telerik.Reporting.TextBox textBox1;
    }
}

Main window XAML code:
<Window x:Class="Telerik_Reporting_Tryouts.Window1"
    xmlns:Reporting="clr-namespace:Telerik.ReportViewer.Wpf;assembly=Telerik.ReportViewer.Wpf"
    xmlns:RadControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    Title="Window1" Height="auto" Width="auto" Loaded="Window_Loaded">
    <Grid>
        <DockPanel>
            <StackPanel>
                <RadControls:RadButton Name="btnGenTadpisMifgash" Click="btnGenTadpisMifgash_Click">
                    Generate Tadpis (HEB)
                </RadControls:RadButton>
                <RadControls:RadButton Name="btnGenTadpisMifgashEnglish" Click="btnGenTadpisMifgashEnglish_Click">
                    Generate Tadpis (ENG)
                </RadControls:RadButton>
            </StackPanel>
            <DockPanel>
                <Reporting:ReportViewer Name="myReportViewer"/>
            </DockPanel>
        </DockPanel>
    </Grid>
</Window>

Main window Code behind:
using System.Globalization;
using System.Threading;
using System.Windows;
using Common;
using ExampleTadpis;
using Telerik.Reporting;
 
namespace Telerik_Reporting_Tryouts
{
    /// <summary>
    /// Interaction logic for Window1.xaml
    /// </summary>
    public partial class Window1 : Window
    {
        TadpisDS myTadpisDS = new TadpisDS();
 
        public Window1 ()
        {
            InitializeComponent();
        }
 
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            CreateTadpisData();
        }
 
        private void CreateTadpisData()
        {
            if (myTadpisDS.ReportHeaderData.Rows.Count == 0)
            {
                myTadpisDS.ReportHeaderData.AddReportHeaderDataRow(
                    "למה מה", "עוד סתם כמה דברים", true);
 
                myTadpisDS.TadpisDetails.AddTadpisDetailsRow(
                    "טקסט טקסט טקסט", "גדגכגכגד", "םךמכעח ךםכךםגן");
            }
        }
 
        private void SwitchToEnglish ()
        {
            Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
            Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
        }
 
        private void SwitchToRightToLeftLang ()
        {
            Thread.CurrentThread.CurrentUICulture = new CultureInfo("he-IL");
            Thread.CurrentThread.CurrentCulture = new CultureInfo("he-IL");
        }
 
        private void btnGenTadpisMifgash_Click(object sender, RoutedEventArgs e)
        {
            SwitchToRightToLeftLang();
 
            GenerateReport();
        }
 
        private void btnGenTadpisMifgashEnglish_Click(object sender, RoutedEventArgs e)
        {
            SwitchToEnglish();
 
            GenerateReport();
        }
 
        private void GenerateReport()
        {
            ObjectDataSource objectDS = new ObjectDataSource();
            objectDS.DataSource = myTadpisDS;
            objectDS.DataMember = "TadpisDetails";
 
            myReportViewer.Report = null;
 
            Telerik.Reporting.Report myReport = new TadpisMifgashReport();
            myReport.DataSource = objectDS;
            myReportViewer.Report = myReport;
        }
    }
}


DataSet XSD:
#pragma warning disable 1591
 
namespace Common {
     
     
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("TadpisDS")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class TadpisDS : global::System.Data.DataSet {
         
        private ReportHeaderDataDataTable tableReportHeaderData;
         
        private TadpisDetailsDataTable tableTadpisDetails;
         
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public TadpisDS() {
            this.BeginInit();
            this.InitClass();
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            base.Relations.CollectionChanged += schemaChangedHandler;
            this.EndInit();
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected TadpisDS(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
                base(info, context, false) {
            if ((this.IsBinarySerialized(info, context) == true)) {
                this.InitVars(false);
                global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += schemaChangedHandler1;
                this.Relations.CollectionChanged += schemaChangedHandler1;
                return;
            }
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
                if ((ds.Tables["ReportHeaderData"] != null)) {
                    base.Tables.Add(new ReportHeaderDataDataTable(ds.Tables["ReportHeaderData"]));
                }
                if ((ds.Tables["TadpisDetails"] != null)) {
                    base.Tables.Add(new TadpisDetailsDataTable(ds.Tables["TadpisDetails"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
            }
            this.GetSerializationData(info, context);
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ReportHeaderDataDataTable ReportHeaderData {
            get {
                return this.tableReportHeaderData;
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public TadpisDetailsDataTable TadpisDetails {
            get {
                return this.tableTadpisDetails;
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.BrowsableAttribute(true)]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
        public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
            get {
                return this._schemaSerializationMode;
            }
            set {
                this._schemaSerializationMode = value;
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataTableCollection Tables {
            get {
                return base.Tables;
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataRelationCollection Relations {
            get {
                return base.Relations;
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void InitializeDerivedDataSet() {
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public override global::System.Data.DataSet Clone() {
            TadpisDS cln = ((TadpisDS)(base.Clone()));
            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return cln;
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeTables() {
            return false;
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeRelations() {
            return false;
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
            if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                this.Reset();
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXml(reader);
                if ((ds.Tables["ReportHeaderData"] != null)) {
                    base.Tables.Add(new ReportHeaderDataDataTable(ds.Tables["ReportHeaderData"]));
                }
                if ((ds.Tables["TadpisDetails"] != null)) {
                    base.Tables.Add(new TadpisDetailsDataTable(ds.Tables["TadpisDetails"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXml(reader);
                this.InitVars();
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
            this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
            stream.Position = 0;
            return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars() {
            this.InitVars(true);
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars(bool initTable) {
            this.tableReportHeaderData = ((ReportHeaderDataDataTable)(base.Tables["ReportHeaderData"]));
            if ((initTable == true)) {
                if ((this.tableReportHeaderData != null)) {
                    this.tableReportHeaderData.InitVars();
                }
            }
            this.tableTadpisDetails = ((TadpisDetailsDataTable)(base.Tables["TadpisDetails"]));
            if ((initTable == true)) {
                if ((this.tableTadpisDetails != null)) {
                    this.tableTadpisDetails.InitVars();
                }
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "TadpisDS";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/TadpisDS.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableReportHeaderData = new ReportHeaderDataDataTable();
            base.Tables.Add(this.tableReportHeaderData);
            this.tableTadpisDetails = new TadpisDetailsDataTable();
            base.Tables.Add(this.tableTadpisDetails);
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeReportHeaderData() {
            return false;
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeTadpisDetails() {
            return false;
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
         
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
            TadpisDS ds = new TadpisDS();
            global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace)) {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length)) {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length)
                                        && (s1.ReadByte() == s2.ReadByte())); ) {
                                ;
                            }
                            if ((s1.Position == s1.Length)) {
                                return type;
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
         
        public delegate void ReportHeaderDataRowChangeEventHandler(object sender, ReportHeaderDataRowChangeEvent e);
         
        public delegate void TadpisDetailsRowChangeEventHandler(object sender, TadpisDetailsRowChangeEvent e);
         
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class ReportHeaderDataDataTable : global::System.Data.TypedTableBase<ReportHeaderDataRow> {
             
            private global::System.Data.DataColumn columnFullName;
             
            private global::System.Data.DataColumn columnGoremMetapel;
             
            private global::System.Data.DataColumn columnInFront;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReportHeaderDataDataTable() {
                this.TableName = "ReportHeaderData";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ReportHeaderDataDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected ReportHeaderDataDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
                    base(info, context) {
                this.InitVars();
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FullNameColumn {
                get {
                    return this.columnFullName;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GoremMetapelColumn {
                get {
                    return this.columnGoremMetapel;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn InFrontColumn {
                get {
                    return this.columnInFront;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReportHeaderDataRow this[int index] {
                get {
                    return ((ReportHeaderDataRow)(this.Rows[index]));
                }
            }
             
            public event ReportHeaderDataRowChangeEventHandler ReportHeaderDataRowChanging;
             
            public event ReportHeaderDataRowChangeEventHandler ReportHeaderDataRowChanged;
             
            public event ReportHeaderDataRowChangeEventHandler ReportHeaderDataRowDeleting;
             
            public event ReportHeaderDataRowChangeEventHandler ReportHeaderDataRowDeleted;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddReportHeaderDataRow(ReportHeaderDataRow row) {
                this.Rows.Add(row);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReportHeaderDataRow AddReportHeaderDataRow(string FullName, string GoremMetapel, bool InFront) {
                ReportHeaderDataRow rowReportHeaderDataRow = ((ReportHeaderDataRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        FullName,
                        GoremMetapel,
                        InFront};
                rowReportHeaderDataRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowReportHeaderDataRow);
                return rowReportHeaderDataRow;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                ReportHeaderDataDataTable cln = ((ReportHeaderDataDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ReportHeaderDataDataTable();
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnFullName = base.Columns["FullName"];
                this.columnGoremMetapel = base.Columns["GoremMetapel"];
                this.columnInFront = base.Columns["InFront"];
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnFullName = new global::System.Data.DataColumn("FullName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFullName);
                this.columnGoremMetapel = new global::System.Data.DataColumn("GoremMetapel", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGoremMetapel);
                this.columnInFront = new global::System.Data.DataColumn("InFront", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnInFront);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReportHeaderDataRow NewReportHeaderDataRow() {
                return ((ReportHeaderDataRow)(this.NewRow()));
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ReportHeaderDataRow(builder);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ReportHeaderDataRow);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ReportHeaderDataRowChanged != null)) {
                    this.ReportHeaderDataRowChanged(this, new ReportHeaderDataRowChangeEvent(((ReportHeaderDataRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ReportHeaderDataRowChanging != null)) {
                    this.ReportHeaderDataRowChanging(this, new ReportHeaderDataRowChangeEvent(((ReportHeaderDataRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ReportHeaderDataRowDeleted != null)) {
                    this.ReportHeaderDataRowDeleted(this, new ReportHeaderDataRowChangeEvent(((ReportHeaderDataRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ReportHeaderDataRowDeleting != null)) {
                    this.ReportHeaderDataRowDeleting(this, new ReportHeaderDataRowChangeEvent(((ReportHeaderDataRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveReportHeaderDataRow(ReportHeaderDataRow row) {
                this.Rows.Remove(row);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                TadpisDS ds = new TadpisDS();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "ReportHeaderDataDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length)
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
         
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class TadpisDetailsDataTable : global::System.Data.TypedTableBase<TadpisDetailsRow> {
             
            private global::System.Data.DataColumn columnYozma;
             
            private global::System.Data.DataColumn columnAnamneza;
             
            private global::System.Data.DataColumn columnRemarks;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TadpisDetailsDataTable() {
                this.TableName = "TadpisDetails";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TadpisDetailsDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected TadpisDetailsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
                    base(info, context) {
                this.InitVars();
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn YozmaColumn {
                get {
                    return this.columnYozma;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AnamnezaColumn {
                get {
                    return this.columnAnamneza;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RemarksColumn {
                get {
                    return this.columnRemarks;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TadpisDetailsRow this[int index] {
                get {
                    return ((TadpisDetailsRow)(this.Rows[index]));
                }
            }
             
            public event TadpisDetailsRowChangeEventHandler TadpisDetailsRowChanging;
             
            public event TadpisDetailsRowChangeEventHandler TadpisDetailsRowChanged;
             
            public event TadpisDetailsRowChangeEventHandler TadpisDetailsRowDeleting;
             
            public event TadpisDetailsRowChangeEventHandler TadpisDetailsRowDeleted;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddTadpisDetailsRow(TadpisDetailsRow row) {
                this.Rows.Add(row);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TadpisDetailsRow AddTadpisDetailsRow(string Yozma, string Anamneza, string Remarks) {
                TadpisDetailsRow rowTadpisDetailsRow = ((TadpisDetailsRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        Yozma,
                        Anamneza,
                        Remarks};
                rowTadpisDetailsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowTadpisDetailsRow);
                return rowTadpisDetailsRow;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                TadpisDetailsDataTable cln = ((TadpisDetailsDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new TadpisDetailsDataTable();
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnYozma = base.Columns["Yozma"];
                this.columnAnamneza = base.Columns["Anamneza"];
                this.columnRemarks = base.Columns["Remarks"];
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnYozma = new global::System.Data.DataColumn("Yozma", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnYozma);
                this.columnAnamneza = new global::System.Data.DataColumn("Anamneza", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAnamneza);
                this.columnRemarks = new global::System.Data.DataColumn("Remarks", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRemarks);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TadpisDetailsRow NewTadpisDetailsRow() {
                return ((TadpisDetailsRow)(this.NewRow()));
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new TadpisDetailsRow(builder);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(TadpisDetailsRow);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.TadpisDetailsRowChanged != null)) {
                    this.TadpisDetailsRowChanged(this, new TadpisDetailsRowChangeEvent(((TadpisDetailsRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.TadpisDetailsRowChanging != null)) {
                    this.TadpisDetailsRowChanging(this, new TadpisDetailsRowChangeEvent(((TadpisDetailsRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.TadpisDetailsRowDeleted != null)) {
                    this.TadpisDetailsRowDeleted(this, new TadpisDetailsRowChangeEvent(((TadpisDetailsRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.TadpisDetailsRowDeleting != null)) {
                    this.TadpisDetailsRowDeleting(this, new TadpisDetailsRowChangeEvent(((TadpisDetailsRow)(e.Row)), e.Action));
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveTadpisDetailsRow(TadpisDetailsRow row) {
                this.Rows.Remove(row);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                TadpisDS ds = new TadpisDS();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "TadpisDetailsDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length)
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
         
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class ReportHeaderDataRow : global::System.Data.DataRow {
             
            private ReportHeaderDataDataTable tableReportHeaderData;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ReportHeaderDataRow(global::System.Data.DataRowBuilder rb) :
                    base(rb) {
                this.tableReportHeaderData = ((ReportHeaderDataDataTable)(this.Table));
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FullName {
                get {
                    try {
                        return ((string)(this[this.tableReportHeaderData.FullNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FullName\' in table \'ReportHeaderData\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReportHeaderData.FullNameColumn] = value;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string GoremMetapel {
                get {
                    try {
                        return ((string)(this[this.tableReportHeaderData.GoremMetapelColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'GoremMetapel\' in table \'ReportHeaderData\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReportHeaderData.GoremMetapelColumn] = value;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool InFront {
                get {
                    try {
                        return ((bool)(this[this.tableReportHeaderData.InFrontColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'InFront\' in table \'ReportHeaderData\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReportHeaderData.InFrontColumn] = value;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFullNameNull() {
                return this.IsNull(this.tableReportHeaderData.FullNameColumn);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFullNameNull() {
                this[this.tableReportHeaderData.FullNameColumn] = global::System.Convert.DBNull;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsGoremMetapelNull() {
                return this.IsNull(this.tableReportHeaderData.GoremMetapelColumn);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetGoremMetapelNull() {
                this[this.tableReportHeaderData.GoremMetapelColumn] = global::System.Convert.DBNull;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsInFrontNull() {
                return this.IsNull(this.tableReportHeaderData.InFrontColumn);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetInFrontNull() {
                this[this.tableReportHeaderData.InFrontColumn] = global::System.Convert.DBNull;
            }
        }
         
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class TadpisDetailsRow : global::System.Data.DataRow {
             
            private TadpisDetailsDataTable tableTadpisDetails;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TadpisDetailsRow(global::System.Data.DataRowBuilder rb) :
                    base(rb) {
                this.tableTadpisDetails = ((TadpisDetailsDataTable)(this.Table));
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Yozma {
                get {
                    try {
                        return ((string)(this[this.tableTadpisDetails.YozmaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Yozma\' in table \'TadpisDetails\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTadpisDetails.YozmaColumn] = value;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Anamneza {
                get {
                    try {
                        return ((string)(this[this.tableTadpisDetails.AnamnezaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Anamneza\' in table \'TadpisDetails\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTadpisDetails.AnamnezaColumn] = value;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Remarks {
                get {
                    try {
                        return ((string)(this[this.tableTadpisDetails.RemarksColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Remarks\' in table \'TadpisDetails\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTadpisDetails.RemarksColumn] = value;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsYozmaNull() {
                return this.IsNull(this.tableTadpisDetails.YozmaColumn);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetYozmaNull() {
                this[this.tableTadpisDetails.YozmaColumn] = global::System.Convert.DBNull;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAnamnezaNull() {
                return this.IsNull(this.tableTadpisDetails.AnamnezaColumn);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAnamnezaNull() {
                this[this.tableTadpisDetails.AnamnezaColumn] = global::System.Convert.DBNull;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRemarksNull() {
                return this.IsNull(this.tableTadpisDetails.RemarksColumn);
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRemarksNull() {
                this[this.tableTadpisDetails.RemarksColumn] = global::System.Convert.DBNull;
            }
        }
         
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class ReportHeaderDataRowChangeEvent : global::System.EventArgs {
             
            private ReportHeaderDataRow eventRow;
             
            private global::System.Data.DataRowAction eventAction;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReportHeaderDataRowChangeEvent(ReportHeaderDataRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReportHeaderDataRow Row {
                get {
                    return this.eventRow;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
         
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class TadpisDetailsRowChangeEvent : global::System.EventArgs {
             
            private TadpisDetailsRow eventRow;
             
            private global::System.Data.DataRowAction eventAction;
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TadpisDetailsRowChangeEvent(TadpisDetailsRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TadpisDetailsRow Row {
                get {
                    return this.eventRow;
                }
            }
             
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
 
#pragma warning restore 1591


7 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Aug 2010, 12:37 PM
Hi Lior ef,

Thank you for reporting this. However we could not reproduce this in our local tests, so we assume that we might be missing a step or setting that you've applied. That is why we kindly ask you to open a support ticket and attach a simple sample project showing the problem. Once we review it, we would be able to provide you with more information.

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vita
Top achievements
Rank 1
answered on 16 Aug 2010, 02:57 PM
Hello Lior ef,
I also have related issue. I think Telerik Does not support Exporting Herew,Arabic ,.. languages. to PDF,XPS.
This Issue also exist if you use "Export to PDF" Class in Telerik Web UI

0
Lior ef
Top achievements
Rank 1
answered on 18 Aug 2010, 06:14 AM
hi steve,

i've uploaded the project to HERE
it's a VS2008 wpf project using telerik reporting version: 4.1.10.729
radcontrols for wpf version: 2010.2.714.35

thanks again.
0
Accepted
Steve
Telerik team
answered on 19 Aug 2010, 02:22 PM
Hi Lior ef,

Unfortunately we were able to reproduce the problem with the latest internal build and I've logged the issue in our system. For the time being please use the official Q2 release where the problem does not exist.

Sorry for the temporary inconvenience. Your Telerik points have been updated for bringing this to our attention.

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Steve
Telerik team
answered on 06 Sep 2010, 02:53 PM
Hello Lior ef,

This is just a quick follow up to let you know of our findings upon investigating the issue. It seems that I've misjudged the issue as reproduced, when it worked on my machine due to other circumstances. By design, when a font is missing from your system, the report would fall back to using Arial font and that is why it appeared to be working on my machine.
However on the virtual machine I've used to test with the latest internal build, this font was present and the report is using it as specified. However this font (GILLS SANS MT) does not have HEBREW script, thus is unable to display the text. You can verify that by using a program that can open fonts (we used Font Xplorer).
To be absolutely sure that the problem does not lie in Telerik Reporting we've made tests with this font with MS Word and Excel and the results were the same.
In short you should change the font with some that supports Hebrew characters.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Lior ef
Top achievements
Rank 1
answered on 13 Sep 2010, 01:10 PM
hi steve,

thanks for the follow up.
it seems to me that the report takes the default font from the system based on windows language preferences,
because the font i'm seen on two computer i tried my solution on is Ariel, using Font Xplorer i see that Ariel supports Hebrew.
the funny thing is that i can see Hebrew in the Report Viewer but when i export the pdf doesn't show Hebrew,
maybe the exported pdf is exported using a different font from the report viewer?

i've attached a screenshot to show you the font i'm using in design time of the report.
0
Steve
Telerik team
answered on 15 Sep 2010, 04:39 PM
Hello Lior ef,

I noted in my previous reply that Telerik Reporting would fall back to Arial when a font is missing from your system, so your observations only confirm that and are correct. The font from the screenshot is set to the Report itself, but according to the Style Inheritance and Overriding help article, if textbox items within it have different font setting, then their setting would be respected and not the one of the report. You should reset the fonts of all items that differ from the default one in order for this setting to take effect.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Lior ef
Top achievements
Rank 1
Answers by
Steve
Telerik team
Vita
Top achievements
Rank 1
Lior ef
Top achievements
Rank 1
Share this question
or