WebReportProperties.cs 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999
  1. using FastReport.Export;
  2. using FastReport.Export.OoXML;
  3. using FastReport.Export.Pdf;
  4. using FastReport.Export.RichText;
  5. using System;
  6. using System.Drawing;
  7. using System.IO;
  8. using System.Net;
  9. using System.Web;
  10. using System.Web.Caching;
  11. using System.Web.UI.WebControls;
  12. using System.Xml.Serialization;
  13. namespace FastReport.Web
  14. {
  15. /// <summary>
  16. /// Tab position enum.
  17. /// </summary>
  18. public enum TabPosition
  19. {
  20. /// <summary>
  21. /// Tabs inside toolbar.
  22. /// </summary>
  23. InsideToolbar,
  24. /// <summary>
  25. /// Tabs under toolbar.
  26. /// </summary>
  27. UnderToolbar,
  28. /// <summary>
  29. /// Tabs are hidden.
  30. /// </summary>
  31. Hidden
  32. }
  33. /// <summary>
  34. /// Event arguments for custom auth.
  35. /// </summary>
  36. public class CustomAuthEventArgs : EventArgs
  37. {
  38. private bool authPassed = true;
  39. private HttpContext context;
  40. /// <summary>
  41. /// Gets or sets the HttpContext value.
  42. /// </summary>
  43. public HttpContext Context
  44. {
  45. get { return context; }
  46. set { context = value; }
  47. }
  48. /// <summary>
  49. /// Gets or sets the auth passed value.
  50. /// </summary>
  51. public bool AuthPassed
  52. {
  53. get { return authPassed; }
  54. set { authPassed = value; }
  55. }
  56. }
  57. /// <summary>
  58. /// Event arguments for Save report from Designer.
  59. /// </summary>
  60. public class SaveDesignedReportEventArgs : EventArgs
  61. {
  62. private Stream stream;
  63. /// <summary>
  64. /// Contain the stream with designed report.
  65. /// </summary>
  66. public Stream Stream
  67. {
  68. get { return stream; }
  69. set { stream = value; }
  70. }
  71. }
  72. /// <summary>
  73. /// Zoom mode enum
  74. /// </summary>
  75. public enum ZoomMode
  76. {
  77. /// <summary>
  78. ///
  79. /// </summary>
  80. Scale,
  81. /// <summary>
  82. ///
  83. /// </summary>
  84. Width,
  85. /// <summary>
  86. ///
  87. /// </summary>
  88. Page
  89. }
  90. /// <summary>
  91. /// Report states enum.
  92. /// </summary>
  93. public enum ReportState
  94. {
  95. /// <summary>
  96. ///
  97. /// </summary>
  98. Empty,
  99. /// <summary>
  100. ///
  101. /// </summary>
  102. Forms,
  103. /// <summary>
  104. ///
  105. /// </summary>
  106. Report,
  107. /// <summary>
  108. ///
  109. /// </summary>
  110. Done,
  111. /// <summary>
  112. ///
  113. /// </summary>
  114. Canceled
  115. }
  116. /// <summary>
  117. /// WebReport Properies class.
  118. /// </summary>
  119. [Serializable]
  120. public class WebReportProperties
  121. {
  122. [XmlIgnore]
  123. private Unit fWidth;
  124. [XmlIgnore]
  125. private Unit fHeight;
  126. [XmlElement("Width")]
  127. internal string WidthString
  128. {
  129. get { return fWidth.ToString(); }
  130. set { fWidth = Unit.Parse(value); }
  131. }
  132. [XmlElement("Height")]
  133. internal string HeightString
  134. {
  135. get { return fHeight.ToString(); }
  136. set { fHeight = Unit.Parse(value); }
  137. }
  138. #region Private
  139. #region Layout
  140. private bool autoWidth = false;
  141. private bool autoHeight = false;
  142. private bool layers = true;
  143. private System.Windows.Forms.Padding fPadding = new System.Windows.Forms.Padding(0, 0, 0, 0);
  144. private int toolbarHeight = 50;
  145. private ToolbarStyle toolbarStyle = ToolbarStyle.Large;
  146. private ToolbarIconsStyle toolbarIconsStyle = ToolbarIconsStyle.Red;
  147. private ToolbarBackgroundStyle toolbarBackgroundStyle = ToolbarBackgroundStyle.Light;
  148. private bool externalJquery = false;
  149. private bool inlineRegistration = false;
  150. private bool enableMargins = true;
  151. #endregion Layout
  152. #region Designer
  153. private bool fDesignReport = false;
  154. private bool fDesignScriptCode = false;
  155. private string fDesignerPath = "~/WebReportDesigner/index.html";
  156. private string fDesignerSavePath = String.Empty;
  157. private string fDesignerSaveCallBack = String.Empty;
  158. private string fDesignerLocale = String.Empty;
  159. private string fDesignerConfig = String.Empty;
  160. #endregion Designer
  161. #region Report
  162. private string fControlID;
  163. private string fReportResourceString = String.Empty;
  164. private string fReportDataSources = String.Empty;
  165. private bool fPictures = true;
  166. private bool fSinglePage = false;
  167. private string fReportFile = String.Empty;
  168. private string fReportPath = String.Empty;
  169. private string fLocalizationFile = String.Empty;
  170. private float fZoom = 1f;
  171. private ZoomMode fZoomMode = ZoomMode.Scale;
  172. private int fCacheDelay = 60;
  173. private CacheItemPriority fCachePriority = CacheItemPriority.Normal;
  174. private string handlerUrl;
  175. private int fTotalPages;
  176. private bool fShowAfterPrepare = false;
  177. private bool fDebug = false;
  178. private bool fCloudEnvironmet = false;
  179. private bool fEmbedPictures = false;
  180. private int fRefreshTimeout = 0;
  181. private string fLogFile;
  182. private bool fUnlimitedWidth = false;
  183. private bool fUnlimitedHeight = false;
  184. private bool fDialogs = true;
  185. #endregion Report
  186. #region Toolbar
  187. private bool fShowToolbar = true;
  188. private bool fShowBottomToolbar = false;
  189. private string fButtonsPath;
  190. private bool fShowExports = true;
  191. private bool fShowPrint = true;
  192. private bool fShowFirstButton = true;
  193. private bool fShowPrevButton = true;
  194. private bool fShowNextButton = true;
  195. private bool fShowLastButton = true;
  196. private bool fShowZoomButton = true;
  197. private bool fShowRefreshButton = true;
  198. private bool fShowPageNumber = true;
  199. private bool fShowTabCloseButton = false;
  200. private bool fShowBackButton = false;
  201. private bool fShowOutline = false;
  202. private System.Drawing.Color fToolbarColor = Color.FromArgb(0xECE9D8);
  203. private TabPosition fTabPosition = TabPosition.InsideToolbar;
  204. #endregion Toolbar
  205. #region RTF
  206. private bool fShowRtfExport = true;
  207. private int fRtfJpegQuality = 90;
  208. private RTFImageFormat fRtfImageFormat = RTFImageFormat.Metafile;
  209. private bool fRtfPictures = true;
  210. private bool fRtfPageBreaks = true;
  211. private bool fRtfWysiwyg = true;
  212. private string fRtfCreator = WebUtils.DefaultCreator;
  213. private bool fRtfAutoSize = false;
  214. #endregion RTF
  215. #region MHT
  216. private bool fShowMhtExport = true;
  217. private bool fMhtPictures = true;
  218. private bool fMhtWysiwyg = true;
  219. #endregion MHT
  220. #region ODS
  221. private bool fShowOdsExport = true;
  222. private bool fOdsPageBreaks = true;
  223. private bool fOdsWysiwyg = true;
  224. private string fOdsCreator = WebUtils.DefaultCreator;
  225. #endregion ODS
  226. #region ODT
  227. private bool fShowOdtExport = true;
  228. private bool fOdtPageBreaks = true;
  229. private bool fOdtWysiwyg = true;
  230. private string fOdtCreator = WebUtils.DefaultCreator;
  231. #endregion ODT
  232. #region XPS
  233. private bool fShowXpsExport = true;
  234. #endregion XPS
  235. #region DBF
  236. private bool fShowDbfExport = true;
  237. #endregion DBF
  238. #region Word2007
  239. private bool fShowWord2007Export = true;
  240. private bool fDocxMatrixBased = true;
  241. private string fDocxRowHeightIs;
  242. private bool fDocxParagraphBased = false;
  243. private bool fDocxWysiwyg = true;
  244. private bool fDocxPrintOptimized = false;
  245. #endregion Word2007
  246. #region Excel2007 format
  247. private bool showExcel2007Export = true;
  248. private bool xlsxPageBreaks = false;
  249. private bool xlsxSeamless = false;
  250. private bool xlsxWysiwyg = true;
  251. private bool xlsxDataOnly = false;
  252. private bool xlsxPrintOptimized = false;
  253. private bool xlsxPrintFitPage = false;
  254. private bool xlsxGroupOnSeparateSheet = false;
  255. #endregion Excel2007 format
  256. #region PowerPoint2007 format
  257. private bool fShowPowerPoint2007Export = true;
  258. private PptImageFormat fPptxImageFormat = PptImageFormat.Png;
  259. #endregion PowerPoint2007 format
  260. #region XML format
  261. private bool fShowXmlExcelExport = true;
  262. private bool fXmlExcelPageBreaks = true;
  263. private bool fXmlExcelWysiwyg = true;
  264. private bool fXmlExcelDataOnly = false;
  265. #endregion XML format
  266. #region PDF format
  267. private bool showPdfExport = true;
  268. private bool pdfInteractiveForms = false;
  269. private bool pdfEmbeddingFonts = true;
  270. private bool pdfBackground = true;
  271. private bool pdfPrintOptimized = true;
  272. private bool pdfOutline = true;
  273. private bool pdfDisplayDocTitle = true;
  274. private bool pdfHideToolbar = false;
  275. private bool pdfHideMenubar = false;
  276. private bool pdfHideWindowUI = false;
  277. private bool pdfFitWindow = false;
  278. private bool pdfCenterWindow = false;
  279. private bool pdfPrintScaling = true;
  280. private string pdfTitle = String.Empty;
  281. private string pdfAuthor = String.Empty;
  282. private string pdfSubject = String.Empty;
  283. private string pdfKeywords = String.Empty;
  284. private string pdfCreator = WebUtils.DefaultCreator;
  285. private string pdfProducer = WebUtils.DefaultProducer;
  286. private string pdfUserPassword = String.Empty;
  287. private string pdfOwnerPassword = String.Empty;
  288. private bool pdfAllowPrint = true;
  289. private bool pdfAllowModify = true;
  290. private bool pdfAllowCopy = true;
  291. private bool pdfAllowAnnotate = true;
  292. private bool pdfA = false;
  293. private bool pdfShowPrintDialog = false;
  294. private bool pdfTextInCurves = false;
  295. private bool pdfImagesOriginalResolution = false;
  296. private bool pdfJpegCompression = false;
  297. private PDFExport.PdfColorSpace pdfColorSpace = PDFExport.PdfColorSpace.RGB;
  298. #endregion PDF format
  299. #region CSV format
  300. private bool fShowCsvExport = true;
  301. private string fCsvSeparator = ";";
  302. private bool fCsvDataOnly = false;
  303. #endregion CSV format
  304. #region Text format
  305. private bool fShowTextExport = true;
  306. private bool fTextDataOnly = false;
  307. private bool fTextPageBreaks = true;
  308. private bool fTextAllowFrames = true;
  309. private bool fTextSimpleFrames = true;
  310. private bool fTextEmptyLines = false;
  311. #endregion Text format
  312. #region FPX (prepared) format
  313. private bool fShowPreparedReport = true;
  314. #endregion FPX (prepared) format
  315. #region Print
  316. private bool fPrintInPdf = true;
  317. private bool fPrintInBrowser = true;
  318. private string fPrintWindowWidth = "700px";
  319. private string fPrintWindowHeight = "500px";
  320. #endregion Print
  321. #region Hidden Properties
  322. private int fCurrentPage = 0;
  323. private int fCurrentForm = 0;
  324. private ReportState fReportState = ReportState.Empty;
  325. //private bool fHTMLDone = false;
  326. private float fCurrentWidth = 0;
  327. private float fCurrentHeight = 0;
  328. private bool fControlVisible = true;
  329. private int fPreviousTab = 0;
  330. private WebHeaderCollection fRequestHeaders = new WebHeaderCollection();
  331. private WebHeaderCollection fResponseHeaders = new WebHeaderCollection();
  332. #endregion Hidden Properties
  333. #region Extra
  334. /// <summary>
  335. /// "mm/dd/yy"
  336. /// </summary>
  337. internal const string DEFAULT_DATE_TIME_PICKER_FORMAT = "mm/dd/yy";
  338. private string dateTimePickerFormat = DEFAULT_DATE_TIME_PICKER_FORMAT;
  339. #endregion Extra
  340. #endregion Private
  341. #region Public properties
  342. #region Layout
  343. /// <summary>
  344. ///
  345. /// </summary>
  346. public ToolbarStyle ToolbarStyle
  347. {
  348. get { return toolbarStyle; }
  349. set
  350. {
  351. toolbarStyle = value;
  352. if (value == ToolbarStyle.Large)
  353. toolbarHeight = 50;
  354. else
  355. toolbarHeight = 40;
  356. }
  357. }
  358. /// <summary>
  359. ///
  360. /// </summary>
  361. public ToolbarIconsStyle ToolbarIconsStyle
  362. {
  363. get { return toolbarIconsStyle; }
  364. set { toolbarIconsStyle = value; }
  365. }
  366. /// <summary>
  367. ///
  368. /// </summary>
  369. public ToolbarBackgroundStyle ToolbarBackgroundStyle
  370. {
  371. get { return toolbarBackgroundStyle; }
  372. set { toolbarBackgroundStyle = value; }
  373. }
  374. /// <summary>
  375. ///
  376. /// </summary>
  377. public bool AutoWidth
  378. {
  379. get { return autoWidth; }
  380. set { autoWidth = value; }
  381. }
  382. /// <summary>
  383. ///
  384. /// </summary>
  385. public bool AutoHeight
  386. {
  387. get { return autoHeight; }
  388. set { autoHeight = value; }
  389. }
  390. /// <summary>
  391. ///
  392. /// </summary>
  393. public bool Layers
  394. {
  395. get { return layers; }
  396. set { layers = value; }
  397. }
  398. /// <summary>
  399. ///
  400. /// </summary>
  401. public System.Windows.Forms.Padding Padding
  402. {
  403. get { return fPadding; }
  404. set { fPadding = value; }
  405. }
  406. #endregion Layout
  407. #region Designer
  408. /// <summary>
  409. ///
  410. /// </summary>
  411. public bool DesignReport
  412. {
  413. get { return fDesignReport; }
  414. set { fDesignReport = value; }
  415. }
  416. /// <summary>
  417. ///
  418. /// </summary>
  419. public bool DesignScriptCode
  420. {
  421. get { return fDesignScriptCode; }
  422. set { fDesignScriptCode = value; }
  423. }
  424. /// <summary>
  425. ///
  426. /// </summary>
  427. public string DesignerPath
  428. {
  429. get { return fDesignerPath; }
  430. set { fDesignerPath = value; }
  431. }
  432. /// <summary>
  433. ///
  434. /// </summary>
  435. public string DesignerSavePath
  436. {
  437. get { return fDesignerSavePath; }
  438. set { fDesignerSavePath = value; }
  439. }
  440. /// <summary>
  441. ///
  442. /// </summary>
  443. public string DesignerSaveCallBack
  444. {
  445. get { return fDesignerSaveCallBack; }
  446. set { fDesignerSaveCallBack = value; }
  447. }
  448. /// <summary>
  449. ///
  450. /// </summary>
  451. public string DesignerLocale
  452. {
  453. get { return fDesignerLocale; }
  454. set { fDesignerLocale = value; }
  455. }
  456. /// <summary>
  457. ///
  458. /// </summary>
  459. public string DesignerConfig
  460. {
  461. get { return fDesignerConfig; }
  462. set { fDesignerConfig = value; }
  463. }
  464. #endregion Designer
  465. #region Report
  466. /// <summary>
  467. ///
  468. /// </summary>
  469. public string ReportResourceString
  470. {
  471. get { return fReportResourceString; }
  472. set { fReportResourceString = value; }
  473. }
  474. /// <summary>
  475. ///
  476. /// </summary>
  477. public string ReportDataSources
  478. {
  479. get { return fReportDataSources; }
  480. set { fReportDataSources = value; }
  481. }
  482. /// <summary>
  483. ///
  484. /// </summary>
  485. public bool Pictures
  486. {
  487. get { return fPictures; }
  488. set { fPictures = value; }
  489. }
  490. /// <summary>
  491. ///
  492. /// </summary>
  493. public bool SinglePage
  494. {
  495. get { return fSinglePage; }
  496. set { fSinglePage = value; }
  497. }
  498. /// <summary>
  499. ///
  500. /// </summary>
  501. public bool InlineRegistration
  502. {
  503. get { return inlineRegistration; }
  504. set { inlineRegistration = value; }
  505. }
  506. /// <summary>
  507. ///
  508. /// </summary>
  509. public bool EnableMargins
  510. {
  511. get { return enableMargins; }
  512. set { enableMargins = value; }
  513. }
  514. /// <summary>
  515. ///
  516. /// </summary>
  517. public bool ExternalJquery
  518. {
  519. get { return externalJquery; }
  520. set { externalJquery = value; }
  521. }
  522. /// <summary>
  523. ///
  524. /// </summary>
  525. public string ReportFile
  526. {
  527. get { return fReportFile; }
  528. set { fReportFile = value; }
  529. }
  530. /// <summary>
  531. ///
  532. /// </summary>
  533. public string ReportPath
  534. {
  535. get { return fReportPath; }
  536. set { fReportPath = value; }
  537. }
  538. /// <summary>
  539. ///
  540. /// </summary>
  541. public string LocalizationFile
  542. {
  543. get { return fLocalizationFile; }
  544. set { fLocalizationFile = value; }
  545. }
  546. /// <summary>
  547. ///
  548. /// </summary>
  549. public float Zoom
  550. {
  551. get { return fZoom; }
  552. set
  553. {
  554. fZoom = value;
  555. fZoomMode = ZoomMode.Scale;
  556. }
  557. }
  558. /// <summary>
  559. ///
  560. /// </summary>
  561. public ZoomMode ZoomMode
  562. {
  563. get { return fZoomMode; }
  564. set { fZoomMode = value; }
  565. }
  566. /// <summary>
  567. ///
  568. /// </summary>
  569. public int RefreshTimeout
  570. {
  571. get { return fRefreshTimeout; }
  572. set { fRefreshTimeout = value; }
  573. }
  574. /// <summary>
  575. ///
  576. /// </summary>
  577. public int CacheDelay
  578. {
  579. get { return fCacheDelay; }
  580. set { fCacheDelay = value; }
  581. }
  582. /// <summary>
  583. ///
  584. /// </summary>
  585. public CacheItemPriority CachePriority
  586. {
  587. get { return fCachePriority; }
  588. set { fCachePriority = value; }
  589. }
  590. /// <summary>
  591. ///
  592. /// </summary>
  593. public bool CloudEnvironmet
  594. {
  595. get { return fCloudEnvironmet; }
  596. set { fCloudEnvironmet = value; }
  597. }
  598. /// <summary>
  599. ///
  600. /// </summary>
  601. public bool EmbedPictures
  602. {
  603. get { return fEmbedPictures; }
  604. set { fEmbedPictures = value; }
  605. }
  606. /// <summary>
  607. ///
  608. /// </summary>
  609. public bool ShowAfterPrepare
  610. {
  611. get { return fShowAfterPrepare; }
  612. set { fShowAfterPrepare = value; }
  613. }
  614. /// <summary>
  615. ///
  616. /// </summary>
  617. public bool Debug
  618. {
  619. get { return fDebug; }
  620. set { fDebug = value; }
  621. }
  622. /// <summary>
  623. ///
  624. /// </summary>
  625. public bool UnlimitedWidth
  626. {
  627. get { return fUnlimitedWidth; }
  628. set { fUnlimitedWidth = value; }
  629. }
  630. /// <summary>
  631. ///
  632. /// </summary>
  633. public bool UnlimitedHeight
  634. {
  635. get { return fUnlimitedHeight; }
  636. set { fUnlimitedHeight = value; }
  637. }
  638. /// <summary>
  639. ///
  640. /// </summary>
  641. public bool Dialogs
  642. {
  643. get { return fDialogs; }
  644. set { fDialogs = value; }
  645. }
  646. #endregion Report
  647. #region Toolbar
  648. /// <summary>
  649. ///
  650. /// </summary>
  651. public bool ShowToolbar
  652. {
  653. get { return fShowToolbar; }
  654. set { fShowToolbar = value; }
  655. }
  656. /// <summary>
  657. ///
  658. /// </summary>
  659. public bool ShowBottomToolbar
  660. {
  661. get { return fShowBottomToolbar; }
  662. set { fShowBottomToolbar = value; }
  663. }
  664. /// <summary>
  665. ///
  666. /// </summary>
  667. public string ButtonsPath
  668. {
  669. get { return fButtonsPath; }
  670. set { fButtonsPath = value; }
  671. }
  672. /// <summary>
  673. ///
  674. /// </summary>
  675. public bool ShowExports
  676. {
  677. get { return fShowExports; }
  678. set { fShowExports = value; }
  679. }
  680. /// <summary>
  681. ///
  682. /// </summary>
  683. public bool ShowPrint
  684. {
  685. get { return fShowPrint; }
  686. set { fShowPrint = value; }
  687. }
  688. /// <summary>
  689. ///
  690. /// </summary>
  691. public bool ShowFirstButton
  692. {
  693. get { return fShowFirstButton; }
  694. set { fShowFirstButton = value; }
  695. }
  696. /// <summary>
  697. ///
  698. /// </summary>
  699. public bool ShowPrevButton
  700. {
  701. get { return fShowPrevButton; }
  702. set { fShowPrevButton = value; }
  703. }
  704. /// <summary>
  705. ///
  706. /// </summary>
  707. public bool ShowNextButton
  708. {
  709. get { return fShowNextButton; }
  710. set { fShowNextButton = value; }
  711. }
  712. /// <summary>
  713. ///
  714. /// </summary>
  715. public bool ShowLastButton
  716. {
  717. get { return fShowLastButton; }
  718. set { fShowLastButton = value; }
  719. }
  720. /// <summary>
  721. ///
  722. /// </summary>
  723. public bool ShowZoomButton
  724. {
  725. get { return fShowZoomButton; }
  726. set { fShowZoomButton = value; }
  727. }
  728. /// <summary>
  729. ///
  730. /// </summary>
  731. public bool ShowRefreshButton
  732. {
  733. get { return fShowRefreshButton; }
  734. set { fShowRefreshButton = value; }
  735. }
  736. /// <summary>
  737. ///
  738. /// </summary>
  739. public bool ShowPageNumber
  740. {
  741. get { return fShowPageNumber; }
  742. set { fShowPageNumber = value; }
  743. }
  744. /// <summary>
  745. ///
  746. /// </summary>
  747. public bool ShowTabCloseButton
  748. {
  749. get { return fShowTabCloseButton; }
  750. set { fShowTabCloseButton = value; }
  751. }
  752. /// <summary>
  753. ///
  754. /// </summary>
  755. public bool ShowBackButton
  756. {
  757. get { return fShowBackButton; }
  758. set { fShowBackButton = value; }
  759. }
  760. /// <summary>
  761. ///
  762. /// </summary>
  763. public TabPosition TabPosition
  764. {
  765. get { return fTabPosition; }
  766. set { fTabPosition = value; }
  767. }
  768. /// <summary>
  769. ///
  770. /// </summary>
  771. public System.Drawing.Color ToolbarColor
  772. {
  773. get { return fToolbarColor; }
  774. set { fToolbarColor = value; }
  775. }
  776. /// <summary>
  777. ///
  778. /// </summary>
  779. public bool ShowOutline
  780. {
  781. get { return fShowOutline; }
  782. set { fShowOutline = value; }
  783. }
  784. #endregion Toolbar
  785. #region RTF
  786. /// <summary>
  787. ///
  788. /// </summary>
  789. public bool ShowRtfExport
  790. {
  791. get { return fShowRtfExport; }
  792. set { fShowRtfExport = value; }
  793. }
  794. /// <summary>
  795. ///
  796. /// </summary>
  797. public int RtfJpegQuality
  798. {
  799. get { return fRtfJpegQuality; }
  800. set { fRtfJpegQuality = value; }
  801. }
  802. /// <summary>
  803. ///
  804. /// </summary>
  805. public RTFImageFormat RtfImageFormat
  806. {
  807. get { return fRtfImageFormat; }
  808. set { fRtfImageFormat = value; }
  809. }
  810. /// <summary>
  811. ///
  812. /// </summary>
  813. public bool RtfPictures
  814. {
  815. get { return fRtfPictures; }
  816. set { fRtfPictures = value; }
  817. }
  818. /// <summary>
  819. ///
  820. /// </summary>
  821. public bool RtfPageBreaks
  822. {
  823. get { return fRtfPageBreaks; }
  824. set { fRtfPageBreaks = value; }
  825. }
  826. /// <summary>
  827. ///
  828. /// </summary>
  829. public bool RtfWysiwyg
  830. {
  831. get { return fRtfWysiwyg; }
  832. set { fRtfWysiwyg = value; }
  833. }
  834. /// <summary>
  835. ///
  836. /// </summary>
  837. public string RtfCreator
  838. {
  839. get { return fRtfCreator; }
  840. set { fRtfCreator = value; }
  841. }
  842. /// <summary>
  843. ///
  844. /// </summary>
  845. public bool RtfAutoSize
  846. {
  847. get { return fRtfAutoSize; }
  848. set { fRtfAutoSize = value; }
  849. }
  850. #endregion RTF
  851. #region MHT
  852. /// <summary>
  853. ///
  854. /// </summary>
  855. public bool ShowMhtExport
  856. {
  857. get { return fShowMhtExport; }
  858. set { fShowMhtExport = value; }
  859. }
  860. /// <summary>
  861. ///
  862. /// </summary>
  863. public bool MhtPictures
  864. {
  865. get { return fMhtPictures; }
  866. set { fMhtPictures = value; }
  867. }
  868. /// <summary>
  869. ///
  870. /// </summary>
  871. public bool MhtWysiwyg
  872. {
  873. get { return fMhtWysiwyg; }
  874. set { fMhtWysiwyg = value; }
  875. }
  876. #endregion MHT
  877. #region ODS
  878. /// <summary>
  879. ///
  880. /// </summary>
  881. public bool ShowOdsExport
  882. {
  883. get { return fShowOdsExport; }
  884. set { fShowOdsExport = value; }
  885. }
  886. /// <summary>
  887. ///
  888. /// </summary>
  889. public bool OdsPageBreaks
  890. {
  891. get { return fOdsPageBreaks; }
  892. set { fOdsPageBreaks = value; }
  893. }
  894. /// <summary>
  895. ///
  896. /// </summary>
  897. public bool OdsWysiwyg
  898. {
  899. get { return fOdsWysiwyg; }
  900. set { fOdsWysiwyg = value; }
  901. }
  902. /// <summary>
  903. ///
  904. /// </summary>
  905. public string OdsCreator
  906. {
  907. get { return fOdsCreator; }
  908. set { fOdsCreator = value; }
  909. }
  910. #endregion ODS
  911. #region ODT
  912. /// <summary>
  913. ///
  914. /// </summary>
  915. public bool ShowOdtExport
  916. {
  917. get { return fShowOdtExport; }
  918. set { fShowOdtExport = value; }
  919. }
  920. /// <summary>
  921. ///
  922. /// </summary>
  923. public bool OdtPageBreaks
  924. {
  925. get { return fOdtPageBreaks; }
  926. set { fOdtPageBreaks = value; }
  927. }
  928. /// <summary>
  929. ///
  930. /// </summary>
  931. public bool OdtWysiwyg
  932. {
  933. get { return fOdtWysiwyg; }
  934. set { fOdtWysiwyg = value; }
  935. }
  936. /// <summary>
  937. ///
  938. /// </summary>
  939. public string OdtCreator
  940. {
  941. get { return fOdtCreator; }
  942. set { fOdtCreator = value; }
  943. }
  944. #endregion ODT
  945. #region XPS format
  946. /// <summary>
  947. ///
  948. /// </summary>
  949. public bool ShowXpsExport
  950. {
  951. get { return fShowXpsExport; }
  952. set { fShowXpsExport = value; }
  953. }
  954. #endregion XPS format
  955. #region DBF format
  956. /// <summary>
  957. ///
  958. /// </summary>
  959. public bool ShowDbfExport
  960. {
  961. get { return fShowDbfExport; }
  962. set { fShowDbfExport = value; }
  963. }
  964. #endregion DBF format
  965. #region Word2007 format
  966. /// <summary>
  967. ///
  968. /// </summary>
  969. public bool ShowWord2007Export
  970. {
  971. get { return fShowWord2007Export; }
  972. set { fShowWord2007Export = value; }
  973. }
  974. /// <summary>
  975. ///
  976. /// </summary>
  977. public bool DocxParagraphBased
  978. {
  979. get { return fDocxParagraphBased; }
  980. set { fDocxParagraphBased = value; }
  981. }
  982. /// <summary>
  983. ///
  984. /// </summary>
  985. public bool DocxMatrixBased
  986. {
  987. get { return fDocxMatrixBased; }
  988. set { fDocxMatrixBased = value; }
  989. }
  990. /// <summary>
  991. ///
  992. /// </summary>
  993. public string DocxRowHeightIs
  994. {
  995. get { return fDocxRowHeightIs; }
  996. set { fDocxRowHeightIs = value; }
  997. }
  998. /// <summary>
  999. ///
  1000. /// </summary>
  1001. public bool DocxWysiwyg
  1002. {
  1003. get { return fDocxWysiwyg; }
  1004. set { fDocxWysiwyg = true; }
  1005. }
  1006. /// <summary>
  1007. ///
  1008. /// </summary>
  1009. public bool DocxPrintOptimized
  1010. {
  1011. get { return fDocxPrintOptimized; }
  1012. set { fDocxPrintOptimized = value; }
  1013. }
  1014. #endregion Word2007 format
  1015. #region Excel2007 format
  1016. /// <summary>
  1017. ///
  1018. /// </summary>
  1019. public bool ShowExcel2007Export
  1020. {
  1021. get { return showExcel2007Export; }
  1022. set { showExcel2007Export = value; }
  1023. }
  1024. /// <summary>
  1025. ///
  1026. /// </summary>
  1027. public bool XlsxPrintFitPage
  1028. {
  1029. get { return xlsxPrintFitPage; }
  1030. set { xlsxPrintFitPage = value; }
  1031. }
  1032. /// <summary>
  1033. ///
  1034. /// </summary>
  1035. public bool XlsxPageBreaks
  1036. {
  1037. get { return xlsxPageBreaks; }
  1038. set { xlsxPageBreaks = value; }
  1039. }
  1040. /// <summary>
  1041. ///
  1042. /// </summary>
  1043. public bool XlsxSeamless
  1044. {
  1045. get { return xlsxSeamless; }
  1046. set { xlsxSeamless = value; }
  1047. }
  1048. /// <summary>
  1049. ///
  1050. /// </summary>
  1051. public bool XlsxWysiwyg
  1052. {
  1053. get { return xlsxWysiwyg; }
  1054. set { xlsxWysiwyg = value; }
  1055. }
  1056. /// <summary>
  1057. ///
  1058. /// </summary>
  1059. public bool XlsxDataOnly
  1060. {
  1061. get { return xlsxDataOnly; }
  1062. set { xlsxDataOnly = value; }
  1063. }
  1064. /// <summary>
  1065. ///
  1066. /// </summary>
  1067. public bool XlsxPrintOptimized
  1068. {
  1069. get { return xlsxPrintOptimized; }
  1070. set { xlsxPrintOptimized = value; }
  1071. }
  1072. /// <summary>
  1073. ///
  1074. /// </summary>
  1075. public bool XlsxGroupOnSeparateSheet
  1076. {
  1077. get { return xlsxGroupOnSeparateSheet; }
  1078. set { xlsxGroupOnSeparateSheet = value; }
  1079. }
  1080. #endregion Excel2007 format
  1081. #region PowerPoint2007 format
  1082. /// <summary>
  1083. ///
  1084. /// </summary>
  1085. public bool ShowPowerPoint2007Export
  1086. {
  1087. get { return fShowPowerPoint2007Export; }
  1088. set { fShowPowerPoint2007Export = value; }
  1089. }
  1090. /// <summary>
  1091. ///
  1092. /// </summary>
  1093. public PptImageFormat PptxImageFormat
  1094. {
  1095. get { return fPptxImageFormat; }
  1096. set { fPptxImageFormat = value; }
  1097. }
  1098. #endregion PowerPoint2007 format
  1099. #region XML format
  1100. /// <summary>
  1101. ///
  1102. /// </summary>
  1103. public bool ShowXmlExcelExport
  1104. {
  1105. get { return fShowXmlExcelExport; }
  1106. set { fShowXmlExcelExport = value; }
  1107. }
  1108. /// <summary>
  1109. ///
  1110. /// </summary>
  1111. public bool XmlExcelPageBreaks
  1112. {
  1113. get { return fXmlExcelPageBreaks; }
  1114. set { fXmlExcelPageBreaks = value; }
  1115. }
  1116. /// <summary>
  1117. ///
  1118. /// </summary>
  1119. public bool XmlExcelWysiwyg
  1120. {
  1121. get { return fXmlExcelWysiwyg; }
  1122. set { fXmlExcelWysiwyg = value; }
  1123. }
  1124. /// <summary>
  1125. ///
  1126. /// </summary>
  1127. public bool XmlExcelDataOnly
  1128. {
  1129. get { return fXmlExcelDataOnly; }
  1130. set { fXmlExcelDataOnly = value; }
  1131. }
  1132. #endregion XML format
  1133. #region PDF format
  1134. /// <summary>
  1135. ///
  1136. /// </summary>
  1137. public bool ShowPdfExport
  1138. {
  1139. get { return showPdfExport; }
  1140. set { showPdfExport = value; }
  1141. }
  1142. /// <summary>
  1143. ///
  1144. /// </summary>
  1145. public bool PdfInteractiveForms
  1146. {
  1147. get { return pdfInteractiveForms; }
  1148. set { pdfInteractiveForms = value; }
  1149. }
  1150. /// <summary>
  1151. ///
  1152. /// </summary>
  1153. public bool PdfEmbeddingFonts
  1154. {
  1155. get { return pdfEmbeddingFonts; }
  1156. set { pdfEmbeddingFonts = value; }
  1157. }
  1158. /// <summary>
  1159. ///
  1160. /// </summary>
  1161. public bool PdfTextInCurves
  1162. {
  1163. get { return pdfTextInCurves; }
  1164. set { pdfTextInCurves = value; }
  1165. }
  1166. /// <summary>
  1167. ///
  1168. /// </summary>
  1169. public bool PdfBackground
  1170. {
  1171. get { return pdfBackground; }
  1172. set { pdfBackground = value; }
  1173. }
  1174. /// <summary>
  1175. ///
  1176. /// </summary>
  1177. public bool PdfPrintOptimized
  1178. {
  1179. get { return pdfPrintOptimized; }
  1180. set { pdfPrintOptimized = value; }
  1181. }
  1182. /// <summary>
  1183. ///
  1184. /// </summary>
  1185. public bool PdfOutline
  1186. {
  1187. get { return pdfOutline; }
  1188. set { pdfOutline = value; }
  1189. }
  1190. /// <summary>
  1191. ///
  1192. /// </summary>
  1193. public bool PdfDisplayDocTitle
  1194. {
  1195. get { return pdfDisplayDocTitle; }
  1196. set { pdfDisplayDocTitle = value; }
  1197. }
  1198. /// <summary>
  1199. ///
  1200. /// </summary>
  1201. public bool PdfHideToolbar
  1202. {
  1203. get { return pdfHideToolbar; }
  1204. set { pdfHideToolbar = value; }
  1205. }
  1206. /// <summary>
  1207. ///
  1208. /// </summary>
  1209. public bool PdfHideMenubar
  1210. {
  1211. get { return pdfHideMenubar; }
  1212. set { pdfHideMenubar = value; }
  1213. }
  1214. /// <summary>
  1215. ///
  1216. /// </summary>
  1217. public bool PdfHideWindowUI
  1218. {
  1219. get { return pdfHideWindowUI; }
  1220. set { pdfHideWindowUI = value; }
  1221. }
  1222. /// <summary>
  1223. ///
  1224. /// </summary>
  1225. public bool PdfFitWindow
  1226. {
  1227. get { return pdfFitWindow; }
  1228. set { pdfFitWindow = value; }
  1229. }
  1230. /// <summary>
  1231. ///
  1232. /// </summary>
  1233. public bool PdfCenterWindow
  1234. {
  1235. get { return pdfCenterWindow; }
  1236. set { pdfCenterWindow = value; }
  1237. }
  1238. /// <summary>
  1239. ///
  1240. /// </summary>
  1241. public bool PdfPrintScaling
  1242. {
  1243. get { return pdfPrintScaling; }
  1244. set { pdfPrintScaling = value; }
  1245. }
  1246. /// <summary>
  1247. ///
  1248. /// </summary>
  1249. public string PdfTitle
  1250. {
  1251. get { return pdfTitle; }
  1252. set { pdfTitle = value; }
  1253. }
  1254. /// <summary>
  1255. ///
  1256. /// </summary>
  1257. public string PdfAuthor
  1258. {
  1259. get { return pdfAuthor; }
  1260. set { pdfAuthor = value; }
  1261. }
  1262. /// <summary>
  1263. ///
  1264. /// </summary>
  1265. public string PdfSubject
  1266. {
  1267. get { return pdfSubject; }
  1268. set { pdfSubject = value; }
  1269. }
  1270. /// <summary>
  1271. ///
  1272. /// </summary>
  1273. public string PdfKeywords
  1274. {
  1275. get { return pdfKeywords; }
  1276. set { pdfKeywords = value; }
  1277. }
  1278. /// <summary>
  1279. ///
  1280. /// </summary>
  1281. public string PdfCreator
  1282. {
  1283. get { return pdfCreator; }
  1284. set { pdfCreator = value; }
  1285. }
  1286. /// <summary>
  1287. ///
  1288. /// </summary>
  1289. public string PdfProducer
  1290. {
  1291. get { return pdfProducer; }
  1292. set { pdfProducer = value; }
  1293. }
  1294. /// <summary>
  1295. ///
  1296. /// </summary>
  1297. public string PdfUserPassword
  1298. {
  1299. get { return pdfUserPassword; }
  1300. set { pdfUserPassword = value; }
  1301. }
  1302. /// <summary>
  1303. ///
  1304. /// </summary>
  1305. public string PdfOwnerPassword
  1306. {
  1307. get { return pdfOwnerPassword; }
  1308. set { pdfOwnerPassword = value; }
  1309. }
  1310. /// <summary>
  1311. ///
  1312. /// </summary>
  1313. public bool PdfAllowPrint
  1314. {
  1315. get { return pdfAllowPrint; }
  1316. set { pdfAllowPrint = value; }
  1317. }
  1318. /// <summary>
  1319. ///
  1320. /// </summary>
  1321. public bool PdfAllowModify
  1322. {
  1323. get { return pdfAllowModify; }
  1324. set { pdfAllowModify = value; }
  1325. }
  1326. /// <summary>
  1327. ///
  1328. /// </summary>
  1329. public bool PdfAllowCopy
  1330. {
  1331. get { return pdfAllowCopy; }
  1332. set { pdfAllowCopy = value; }
  1333. }
  1334. /// <summary>
  1335. ///
  1336. /// </summary>
  1337. public bool PdfAllowAnnotate
  1338. {
  1339. get { return pdfAllowAnnotate; }
  1340. set { pdfAllowAnnotate = value; }
  1341. }
  1342. /// <summary>
  1343. ///
  1344. /// </summary>
  1345. public bool PdfA
  1346. {
  1347. get { return pdfA; }
  1348. set { pdfA = value; }
  1349. }
  1350. /// <summary>
  1351. /// Enable or disable showing of Print Dialog
  1352. /// </summary>
  1353. public bool PdfShowPrintDialog
  1354. {
  1355. get { return pdfShowPrintDialog; }
  1356. set { pdfShowPrintDialog = value; }
  1357. }
  1358. /// <summary>
  1359. ///
  1360. /// </summary>
  1361. public bool PdfImagesOriginalResolution
  1362. {
  1363. get { return pdfImagesOriginalResolution; }
  1364. set { pdfImagesOriginalResolution = value; }
  1365. }
  1366. /// <summary>
  1367. ///
  1368. /// </summary>
  1369. public bool PdfJpegCompression
  1370. {
  1371. get { return pdfJpegCompression; }
  1372. set { pdfJpegCompression = value; }
  1373. }
  1374. /// <summary>
  1375. ///
  1376. /// </summary>
  1377. public PDFExport.PdfColorSpace PdfColorSpace
  1378. {
  1379. get { return pdfColorSpace; }
  1380. set { pdfColorSpace = value; }
  1381. }
  1382. #endregion PDF format
  1383. #region CSV format
  1384. /// <summary>
  1385. ///
  1386. /// </summary>
  1387. public bool ShowCsvExport
  1388. {
  1389. get { return fShowCsvExport; }
  1390. set { fShowCsvExport = value; }
  1391. }
  1392. /// <summary>
  1393. ///
  1394. /// </summary>
  1395. public string CsvSeparator
  1396. {
  1397. get { return fCsvSeparator; }
  1398. set { fCsvSeparator = value; }
  1399. }
  1400. /// <summary>
  1401. ///
  1402. /// </summary>
  1403. public bool CsvDataOnly
  1404. {
  1405. get { return fCsvDataOnly; }
  1406. set { fCsvDataOnly = value; }
  1407. }
  1408. #endregion CSV format
  1409. #region Prepared format
  1410. /// <summary>
  1411. ///
  1412. /// </summary>
  1413. public bool ShowPreparedReport
  1414. {
  1415. get { return fShowPreparedReport; }
  1416. set { fShowPreparedReport = value; }
  1417. }
  1418. #endregion Prepared format
  1419. #region Text format
  1420. /// <summary>
  1421. ///
  1422. /// </summary>
  1423. public bool ShowTextExport
  1424. {
  1425. get { return fShowTextExport; }
  1426. set { fShowTextExport = value; }
  1427. }
  1428. /// <summary>
  1429. ///
  1430. /// </summary>
  1431. public bool TextDataOnly
  1432. {
  1433. get { return fTextDataOnly; }
  1434. set { fTextDataOnly = value; }
  1435. }
  1436. /// <summary>
  1437. ///
  1438. /// </summary>
  1439. public bool TextPageBreaks
  1440. {
  1441. get { return fTextPageBreaks; }
  1442. set { fTextPageBreaks = value; }
  1443. }
  1444. /// <summary>
  1445. ///
  1446. /// </summary>
  1447. public bool TextAllowFrames
  1448. {
  1449. get { return fTextAllowFrames; }
  1450. set { fTextAllowFrames = value; }
  1451. }
  1452. /// <summary>
  1453. ///
  1454. /// </summary>
  1455. public bool TextSimpleFrames
  1456. {
  1457. get { return fTextSimpleFrames; }
  1458. set { fTextSimpleFrames = value; }
  1459. }
  1460. /// <summary>
  1461. ///
  1462. /// </summary>
  1463. public bool TextEmptyLines
  1464. {
  1465. get { return fTextEmptyLines; }
  1466. set { fTextEmptyLines = value; }
  1467. }
  1468. #endregion Text format
  1469. #region Print
  1470. /// <summary>
  1471. ///
  1472. /// </summary>
  1473. public bool PrintInPdf
  1474. {
  1475. get { return fPrintInPdf; }
  1476. set { fPrintInPdf = value; }
  1477. }
  1478. /// <summary>
  1479. ///
  1480. /// </summary>
  1481. public bool PrintInBrowser
  1482. {
  1483. get { return fPrintInBrowser; }
  1484. set { fPrintInBrowser = value; }
  1485. }
  1486. /// <summary>
  1487. ///
  1488. /// </summary>
  1489. public string PrintWindowWidth
  1490. {
  1491. get { return fPrintWindowWidth; }
  1492. set { fPrintWindowWidth = value; }
  1493. }
  1494. /// <summary>
  1495. ///
  1496. /// </summary>
  1497. public string PrintWindowHeight
  1498. {
  1499. get { return fPrintWindowHeight; }
  1500. set { fPrintWindowHeight = value; }
  1501. }
  1502. #endregion Print
  1503. #region Hidden Properties
  1504. /// <summary>
  1505. ///
  1506. /// </summary>
  1507. public bool ControlVisible
  1508. {
  1509. get { return fControlVisible; }
  1510. set { fControlVisible = value; }
  1511. }
  1512. /// <summary>
  1513. ///
  1514. /// </summary>
  1515. public bool ReportDone
  1516. {
  1517. get { return State == ReportState.Done; }
  1518. set { State = value ? ReportState.Done : ReportState.Empty; }
  1519. }
  1520. /// <summary>
  1521. ///
  1522. /// </summary>
  1523. public int TotalPages
  1524. {
  1525. get { return fTotalPages; }
  1526. set { fTotalPages = value; }
  1527. }
  1528. /// <summary>
  1529. ///
  1530. /// </summary>
  1531. public string LogFile
  1532. {
  1533. get { return fLogFile; }
  1534. set { fLogFile = value; }
  1535. }
  1536. /// <summary>
  1537. ///
  1538. /// </summary>
  1539. public WebHeaderCollection RequestHeaders
  1540. {
  1541. get { return fRequestHeaders; }
  1542. set { fRequestHeaders = value; }
  1543. }
  1544. /// <summary>
  1545. ///
  1546. /// </summary>
  1547. public WebHeaderCollection ResponseHeaders
  1548. {
  1549. get { return fResponseHeaders; }
  1550. set { fResponseHeaders = value; }
  1551. }
  1552. internal ReportState State
  1553. {
  1554. get { return fReportState; }
  1555. set { fReportState = value; }
  1556. }
  1557. internal int CurrentForm
  1558. {
  1559. get { return fCurrentForm; }
  1560. set { fCurrentForm = value; }
  1561. }
  1562. /// <summary>
  1563. ///
  1564. /// </summary>
  1565. public int CurrentPage
  1566. {
  1567. get { return fCurrentPage; }
  1568. set { fCurrentPage = value; }
  1569. }
  1570. /// <summary>
  1571. ///
  1572. /// </summary>
  1573. internal float CurrentWidth
  1574. {
  1575. get { return fCurrentWidth; }
  1576. set { fCurrentWidth = value; }
  1577. }
  1578. /// <summary>
  1579. ///
  1580. /// </summary>
  1581. internal float CurrentHeight
  1582. {
  1583. get { return fCurrentHeight; }
  1584. set { fCurrentHeight = value; }
  1585. }
  1586. /// <summary>
  1587. ///
  1588. /// </summary>
  1589. internal int ToolbarHeight
  1590. {
  1591. get { return toolbarHeight; }
  1592. }
  1593. /// <summary>
  1594. ///
  1595. /// </summary>
  1596. internal string ControlID
  1597. {
  1598. get { return fControlID; }
  1599. set { fControlID = value; }
  1600. }
  1601. /// <summary>
  1602. ///
  1603. /// </summary>
  1604. internal string HandlerURL
  1605. {
  1606. get { return handlerUrl; }
  1607. set { handlerUrl = value; }
  1608. }
  1609. internal int PreviousTab
  1610. {
  1611. get { return fPreviousTab; }
  1612. set { fPreviousTab = value; }
  1613. }
  1614. #endregion Hidden Properties
  1615. #region Extra
  1616. /// <summary>
  1617. ///
  1618. /// </summary>
  1619. public string DateTimePickerFormat
  1620. {
  1621. get { return dateTimePickerFormat; }
  1622. set { dateTimePickerFormat = value; }
  1623. }
  1624. #endregion Extra
  1625. #endregion Public properties
  1626. /// <summary>
  1627. /// Assigns another object values.
  1628. /// </summary>
  1629. /// <param name="properties"></param>
  1630. public void Assign(WebReportProperties properties)
  1631. {
  1632. TabPosition = properties.TabPosition;
  1633. ShowTabCloseButton = properties.ShowTabCloseButton;
  1634. ToolbarStyle = properties.ToolbarStyle;
  1635. ShowBottomToolbar = properties.ShowBottomToolbar;
  1636. ShowToolbar = properties.ShowToolbar;
  1637. ToolbarBackgroundStyle = properties.ToolbarBackgroundStyle;
  1638. ToolbarColor = properties.ToolbarColor;
  1639. ToolbarIconsStyle = properties.ToolbarIconsStyle;
  1640. ToolbarStyle = properties.ToolbarStyle;
  1641. ButtonsPath = properties.ButtonsPath;
  1642. SinglePage = properties.SinglePage;
  1643. LocalizationFile = properties.LocalizationFile;
  1644. Zoom = properties.Zoom;
  1645. ZoomMode = properties.ZoomMode;
  1646. CacheDelay = properties.CacheDelay;
  1647. CloudEnvironmet = properties.CloudEnvironmet;
  1648. EmbedPictures = properties.EmbedPictures;
  1649. ShowCsvExport = properties.ShowCsvExport;
  1650. ShowDbfExport = properties.ShowDbfExport;
  1651. ShowExcel2007Export = properties.ShowExcel2007Export;
  1652. ShowExports = properties.ShowExports;
  1653. ShowFirstButton = properties.ShowFirstButton;
  1654. ShowLastButton = properties.ShowLastButton;
  1655. ShowMhtExport = properties.ShowMhtExport;
  1656. ShowNextButton = properties.ShowNextButton;
  1657. ShowOdsExport = properties.ShowOdsExport;
  1658. ShowOdtExport = properties.ShowOdtExport;
  1659. ShowPageNumber = properties.ShowPageNumber;
  1660. ShowPdfExport = properties.ShowPdfExport;
  1661. ShowPowerPoint2007Export = properties.ShowPowerPoint2007Export;
  1662. ShowPreparedReport = properties.ShowPreparedReport;
  1663. ShowPrevButton = properties.ShowPrevButton;
  1664. ShowPrint = properties.ShowPrint;
  1665. ShowRefreshButton = properties.ShowRefreshButton;
  1666. ShowRtfExport = properties.ShowRtfExport;
  1667. ShowTextExport = properties.ShowTextExport;
  1668. ShowWord2007Export = properties.ShowWord2007Export;
  1669. ShowXmlExcelExport = properties.ShowXmlExcelExport;
  1670. ShowXpsExport = properties.ShowXpsExport;
  1671. ShowZoomButton = properties.ShowZoomButton;
  1672. ShowBackButton = properties.ShowBackButton;
  1673. PrintInBrowser = properties.PrintInBrowser;
  1674. PrintInPdf = properties.PrintInPdf;
  1675. ReportPath = properties.ReportPath;
  1676. LogFile = properties.LogFile;
  1677. EnableMargins = properties.EnableMargins;
  1678. UnlimitedHeight = properties.UnlimitedHeight;
  1679. UnlimitedWidth = properties.UnlimitedWidth;
  1680. fDialogs = properties.Dialogs;
  1681. fRequestHeaders = properties.RequestHeaders;
  1682. fResponseHeaders = properties.ResponseHeaders;
  1683. fDesignerConfig = properties.DesignerConfig;
  1684. fDocxMatrixBased = properties.DocxMatrixBased;
  1685. fDocxParagraphBased = properties.DocxParagraphBased;
  1686. fDocxRowHeightIs = properties.DocxRowHeightIs;
  1687. fDocxWysiwyg = properties.DocxWysiwyg;
  1688. xlsxDataOnly = properties.XlsxDataOnly;
  1689. xlsxPageBreaks = properties.XlsxPageBreaks;
  1690. xlsxSeamless = properties.XlsxSeamless;
  1691. xlsxWysiwyg = properties.XlsxWysiwyg;
  1692. dateTimePickerFormat = properties.DateTimePickerFormat;
  1693. HeightString = properties.HeightString;
  1694. WidthString = properties.WidthString;
  1695. }
  1696. }
  1697. }