Search Results for

    Show / Hide Table of Contents

    Class Word2007Export

    MS Word 2007 export class

    Inheritance
    System.Object
    Base
    ExportBase
    OOExportBase
    Word2007Export
    Implements
    IFRSerializable
    Inherited Members
    OOExportBase.xml_header
    FastReport.Export.ExportBase.TabsIsExists
    FastReport.Export.ExportBase.Export(FastReport.Report, System.Collections.Generic.List<FastReport.Preview.PreparedPages>)
    FastReport.Export.ExportBase.GetOverlayPage(FastReport.ReportPage)
    ExportBase.webPreview
    ExportBase.GeneratedStreams
    ExportBase.Zoom
    ExportBase.FileFilter
    ExportBase.PageRange
    ExportBase.PageNumbers
    ExportBase.CurPage
    ExportBase.OpenAfterExport
    ExportBase.AllowOpenAfter
    ExportBase.ShowProgress
    ExportBase.GeneratedFiles
    ExportBase.HasMultipleFiles
    ExportBase.ShiftNonExportable
    ExportBase.SaveInitialDirectory
    ExportBase.ExportAllTabs
    ExportBase.Stream
    ExportBase.FileName
    ExportBase.Pages
    ExportBase.GetPage(Int32)
    ExportBase.Assign(Base)
    ExportBase.Export(Report, Stream)
    ExportBase.InstantExportStart(Report, Stream)
    ExportBase.InstantExportBeginPage(ReportPage)
    ExportBase.InstantExportExportBand(BandBase)
    ExportBase.InstantExportEndPage(ReportPage)
    ExportBase.InstantExportFinish()
    ExportBase.Export(Report, String)
    Base.Name
    Base.Restrictions
    Base.Flags
    Base.Parent
    Base.BaseName
    Base.ClassName
    Base.Report
    Base.Page
    Base.ChildObjects
    Base.AllObjects
    Base.ZOrder
    Base.IsAncestor
    Base.IsDesigning
    Base.IsPrinting
    Base.IsRunning
    Base.OriginalComponent
    Base.Disposed
    Base.SetProp(Base, Base)
    Base.FloatDiff(Single, Single)
    Base.DeserializeSubItems(FRReader)
    Base.ExtractDefaultMacros(String)
    Base.Dispose(Boolean)
    Base.Dispose()
    Base.SetFlags(Flags, Boolean)
    Base.SetReport(Report)
    Base.SetName(String)
    Base.SetParent(Base)
    Base.SetParentCore(Base)
    Base.FindObject(String)
    Base.CreateUniqueName()
    Base.Clear()
    Base.Deserialize(FRReader)
    Base.BaseAssign(Base)
    Base.AssignAll(Base)
    Base.HasParent(Base)
    Base.HasFlag(Flags)
    Base.HasRestriction(Restrictions)
    Base.InvokeEvent(String, Object)
    Base.OnAfterLoad()
    Base.GetExpressions()
    Base.GetCustomScript()
    Base.ExtractMacros()
    Base.IsHaveToConvert(Object)
    Base.GetConvertedObjects()
    Base.ForEachAllConvectedObjects(Object)
    FastReport.Base.IsSelected
    FastReport.Base.IsParentSelected
    FastReport.Base.Delete()
    FastReport.Base.OnBeforeInsert(System.Int32)
    FastReport.Base.OnAfterInsert(FastReport.InsertFrom)
    FastReport.Base.SelectionChanged()
    FastReport.Base.GetContextMenu()
    FastReport.Base.GetImageIndex()
    Namespace: FastReport.Export.OoXML
    Assembly: FastReport.dll
    Syntax
    public class Word2007Export : OOExportBase, IDisposable, IFRSerializable

    Constructors

    Word2007Export()

    Initializes a new instance of the Word2007Export class.

    Declaration
    public Word2007Export()

    Properties

    Bookmarks

    Gets or sets the value for adding bookmarks to each page.

    Declaration
    public bool Bookmarks { get; set; }
    Property Value
    Type Description
    System.Boolean

    DisableSectionBreak

    Disable section break in document

    Declaration
    public bool DisableSectionBreak { get; set; }
    Property Value
    Type Description
    System.Boolean

    DoNotExpandShiftReturn

    Enable or disable DoNotExpandShiftReturn.

    Declaration
    public bool DoNotExpandShiftReturn { get; set; }
    Property Value
    Type Description
    System.Boolean

    ExportLocale

    Gets or sets a value indicating that locale export are enabled.

    Declaration
    public bool ExportLocale { get; set; }
    Property Value
    Type Description
    System.Boolean

    Locale

    Get or set a locale for all document.

    Declaration
    public CultureInfo Locale { get; set; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    MatrixBased

    Enable or disable matrix view of document

    Declaration
    public bool MatrixBased { get; set; }
    Property Value
    Type Description
    System.Boolean

    MemoryOptimized

    Enable or disable the use of FileStream instead of MemoryStream.

    Declaration
    public bool MemoryOptimized { get; set; }
    Property Value
    Type Description
    System.Boolean

    ParagraphBased

    Enable or disable Paragraph view of document

    Declaration
    public bool ParagraphBased { get; set; }
    Property Value
    Type Description
    System.Boolean

    PrintOptimized

    Enable or disable a resolution optimization.

    Declaration
    public bool PrintOptimized { get; set; }
    Property Value
    Type Description
    System.Boolean

    RowHeight

    Gets or sets the type of height calculation.

    Declaration
    public Word2007Export.RowHeightType RowHeight { get; set; }
    Property Value
    Type Description
    Word2007Export.RowHeightType

    RowHeightIs

    Gets or sets the type of height calculation.

    Declaration
    [Obsolete("RowHeightIs property is deprecated, please use RowHeight property instead.")]
    public string RowHeightIs { get; set; }
    Property Value
    Type Description
    System.String

    SaveRowHeight

    Gets or sets a value indicating whether to save the row height during export.

    Declaration
    public bool SaveRowHeight { get; set; }
    Property Value
    Type Description
    System.Boolean

    UseHeaderAndFooter

    Gets or sets a value indicating that export will be used header and footer of Word page.

    Declaration
    public bool UseHeaderAndFooter { get; set; }
    Property Value
    Type Description
    System.Boolean

    Wysiwyg

    Gets or sets a value that determines whether the wysiwyg mode should be used for better results.

    Declaration
    public bool Wysiwyg { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Default value is true. In wysiwyg mode, the resulting Excel file will look as close as possible to the prepared report. On the other side, it may have a lot of small rows/columns, which will make it less editable. If you set this property to false, the number of rows/columns in the resulting file will be decreased. You will get less wysiwyg, but more editable file.

    Methods

    ExportBand(BandBase)

    This method is called for each band on exported page.

    Declaration
    protected override void ExportBand(BandBase band)
    Parameters
    Type Name Description
    BandBase band

    Band, dispose after method compite.

    Overrides
    ExportBase.ExportBand(BandBase)

    ExportPageBegin(ReportPage)

    This method is called at the start of exports of each page.

    Declaration
    protected override void ExportPageBegin(ReportPage page)
    Parameters
    Type Name Description
    ReportPage page

    Page for export may be empty in this method.

    Overrides
    ExportBase.ExportPageBegin(ReportPage)

    ExportPageEnd(ReportPage)

    This method is called at the end of exports of each page.

    Declaration
    protected override void ExportPageEnd(ReportPage page)
    Parameters
    Type Name Description
    ReportPage page

    Page for export may be empty in this method.

    Overrides
    ExportBase.ExportPageEnd(ReportPage)

    Finish()

    This method is called when the export is finished.

    Declaration
    protected override void Finish()
    Overrides
    ExportBase.Finish()

    GetFileFilter()

    Returns a file filter for a save dialog.

    Declaration
    protected override string GetFileFilter()
    Returns
    Type Description
    System.String

    String that contains a file filter, for example: "Bitmap image (.bmp)|.bmp"

    Overrides
    ExportBase.GetFileFilter()

    Serialize(FRWriter)

    Serializes the object.

    Declaration
    public override void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer

    Writer object.

    Overrides
    ExportBase.Serialize(FRWriter)
    Remarks

    Do not call this method directly. You should override it if you are developing a new component for FastReport.

    This method is called when the object needs to save the state. It may happen when:

    • saving the report to the file or stream;
    • saving the report to the designer's undo buffer;
    • assigning the object to another object using the Assign(Base) or AssignAll methods;
    • saving the object to the designer's clipboard;
    • saving the object to the preview (when run a report).

    ShowDialog()

    Displays a dialog with export options.

    Declaration
    public override bool ShowDialog()
    Returns
    Type Description
    System.Boolean

    true if dialog was closed with OK button.

    Overrides
    FastReport.Export.ExportBase.ShowDialog()
    Remarks

    Before calling this method, set the report.

    Start()

    This method is called when the export starts.

    Declaration
    protected override void Start()
    Overrides
    ExportBase.Start()

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.