Стили являются одной из основных возможностей в Stimulsoft Reports. Почему? Потому что каждый элемент отчета имеет стиль. Определить стиль можно двумя способами. Стиль можно определить, как набор заранее определенных команд форматирования сохраненных в стиль, которые можно применять повторно во всех отчетах своего приложения. Скажем, каждый заголовок отчета должен быть по центру, прописными буквами, жирным шрифтом и немного больше размера основного шрифта в отчете. Во-первых, это можно выполнить, каждый раз применяя форматирование заголовка, проходя через весь процесс создания стиля, чтобы получить текст как вы хотите. Во-вторых, если команды форматирования сохранены в стиль, можно просто применить этот стиль в любое время, без необходимости переформатирования.

Стили могут использоваться как для "метки" компонента, так и для выделения части отчета. Примером этого является текст данных типа Numeric, String, DateTime, или выражения. Также, стили могут быть созданы и для сложных элемента управления таких как Диаграммы и Кросс-таблица. Все эти примеры стилей есть в Stimulsoft Reports

Если вы обеспокоены о том, стоит ли изучать стили, мы скажем просто: нужно. Стили позволяют быстро изменять форматирование на протяжении всего отчета и могут быть привязаны к колонкам, или даже конкретным значениям данных, это все сделает работу с условным форматированием гораздо проще.

Есть несколько причин для использования стилей в отчете:
a) Постоянство - при использовании стилей в форматировании отчетов, каждый раздел форматируется, обеспечивая профессиональный, чистый вид отчета. Кроме того, эти стили могут быть определены общими для всех отчетов в приложении, т.е. единого стиль для каждого отчета.
b) Легче видоизменять - Если вы используете стили в отчете последовательно, то следует обновить данный стиль один раз, чтобы изменить характеристики любого текста, отформатированного в данном стиле.
c) Эффективность - можно создать стиль один раз, а затем применить его к любому отчету, без необходимости отформатирования каждого отчета в отдельности.

Шаги создания и применения стиля:


1. Создать стиль в Ribbon GUI
2. Установить стиль для отчета в Ribbon GUI
3. Создать стиль в Standard UI
4. Установить стиль для отчета в Standard UI
5. Применить стиль к заголовку отчета


1. Создание стиля Ribbon GUI

  • Щелкните по значку Дизайнер стилей на Главной ленте;
  • В дизайнере стилей, нажмите Добавить стиль и выберете Компонент;
  • Введите имя как заголовок отчета;
  • Введите описание, как этот стиль будет применятся ко всем заголовкам отчета;
  • Выберете любой цвет кисти текста, на усмотрение пользователя;
  • Выберите кисть фона и текста, на ваш выбор, я выбрал Glass;
  • Установите границы, если необходимо;
  • Установите шрифт и размер;
  • Установите горизонтальное и вертикальное выравнивание;
  • Обратите внимание, что есть предварительный просмотр изменений стиля;
  • Нажмите кнопку Save, чтобы сохранить этот стиль, который также будет использоваться в других отчетах.

Create a style in Ribbon GUI
Create a style in Ribbon GUI
Create a style in Ribbon GUI
Create a style in Ribbon GUI
Create a style in Ribbon GUI
Create a style in Ribbon GUI

2. Установление стиля для отчета в Ribbon GUI

  • Стили отчета хранятся с расширением .sts;
  • Откройте дизайнер стилей;
  • Щелкните Открыть стиль;
  • Перейдите к папке, где ваш отчет стиль сохранен и выберите его;
  • Теперь дизайнер отчетов загрузит определенный отчет.

Set a style for a report in Ribbon GUI
Set a style for a report in Ribbon GUI
Set a style for a report in Ribbon GUI

3. Создание стиля Standard UI

  • Убедитесь, что у вас отображена панель стилей, выбрав View -> Toolbars -> Style;
  • Если панель стилей отображается щелкните по значку Дизайнер стилей;
  • В дизайнере стилей щелкните Добавить стиль и выберете Компонент;
  • Введите имя Заголовка отчета;
  • Введите описание, как этот стиль будет применен ко всем заголовкам отчета;
  • Выберите любой цвет кисти текста, на усмотрение пользователя;
  • Выберите кисть фона и текста, на ваш выбор, я выбрал Glass;
  • Установите границы если необходимо;
  • Установите шрифт и размер;
  • Установите горизонтальное и вертикальное выравнивание;
  • Обратите внимание, что есть предварительный просмотр изменинй стиля;
  • Нажмите кнопку Save, чтобы сохранить этот стиль, который также будет использоваться в других отчетах.

Create a style in Standard UI
Create a style in Standard UI
Create a style in Standard UI

4. Установка стиля для отчета в Standard UI

  • Стили отчета хранятся с расширением .sts;
  • Откройте дизайнер стилей;
  • Щелкните по Открыть стиль;
  • Перейдите к папке, где ваш отчет стиль сохранен и выберите его;
  • Теперь дизайнер отчетов Stimulsoft загрузит определенный отчет.

Set a style for a report in Standard UI
Set a style for a report in Standard UI
Set a style for a report in Standard UI

5. Применение стиля к заголовку отчета

  • Добавьте заголовок отчета в свой отчет;
  • Добавьте в заголовок отчета текстовый компонент;
  • Измените тескт на Sales Report и увеличьте ширину отчета;
  • Перейти на вкладку свойства компонента и выбрать стили;
  • Выберите Заголовок отчета;
  • Теперь мы обнаружим, что заголовок отчета был отформатирован, согласно нашим указаниям.

Apply Style to report header
Apply Style to report header
Apply Style to report header
Apply Style to report header
1. Steps required for uploading the final version of the product (with Stimulsoft Reports.WinRT assemblies) into the AppStore.

To design and display a variety of reports, different icons are used (indicators, interactions, etc.). Since there is a problem with adding them directly to the assembly (dll), we will store them on the hard drive in a folder given optionally and load them automatically when running the application. The folder will be called StimulsoftWinRT. It is done in order not to increase the size of the final assembly, because there can be problems when testing the final application through the WACK (WindowsAppCertificationKit). Initially the application will search these resources in the folder My Images (our installation will copy them into). The path can be changed optionally by setting the value for the property when loading the application: Stimulsoft.Helper.RT.ResourceLoader.StiResourceLoaderOptions.ResourcesStorageFolder.

When the AppStore will be available for public use, and you will finish your application and be ready for placing it in the store, then, when creating the installation, you will need to add these resources into it, and set in the application the StiResourceLoaderOptions.ResourcesStorageFolder property to Windows.Storage.ApplicationData.Current.TemporaryFolder. Then, when running the installed application, it will seek resources from the folder where the product AppStore is installed.

2. Loading our resources with your application when running.

When loading your application you must load the resources used by our components. To do this, when loading, execute the following code. For the viewer: await StiReportImagesStore.InitStoreAsync(); await StiIndicatorsImagesStore.InitStoreAsync();

For example, you can see any sample (delivered in the installation pack) from the folder Samples. See the sample Demo.RT. In all test samples, we have implemented the application splash screen (Splash\StiSplashControl.xaml), which loads and all the necessary resources. Speaking of splash screens, they are needed in all applications, or you will simply not pass the test through WACK and will not be able to put your application in the AppStore.

3. Additional features of our control.

The pages of Metro application support the AppBar panels which are placed top and bottom of the page. Details can be found here at http://msdn.microsoft.com/en-US/library/windows/apps/hh761499. We use the panels optionally, in order to please all users. Placing our control (StiViewerControl) you can enable or disable integration using the IntegrateToTheTopAppBar and IntegrateToTheBottomAppBar properties. By default, these properties are set to false and integration does not occur, because the user can use them for his/her own needs. Please see the sample IntegrationOfTheAppBarViewerOnTheUserPage delivered with the product installation.
Do you need a reporting tool that meets all your requirements and relevant to recent developments in the world of reporting? If you are reading this article, then you are on the right way in solving the problem. Reporting tools from Stimulsoft Company are exactly what you need! And it is not our point of view; this is the point of view of thousands of our customers.

If you are already collaborating with our company, then you will not have problems with a choice of interesting products. But what if you first approached Stimulsoft? Which product is right for you? After all, you have to choose the product not out of two or three ones but ELEVEN! Do not be afraid and do not despair! It's very simple! Perhaps, on the other web-sites of other vendors you have to:

1) Re-read the documentation for each product, looking for the necessary items matching your needs with current capabilities. It's not bad if you have a lot of time and you like reading, but ...

2) Go deeper into the vendor’s forum. In this section of the web-site you can find everything about the product. Throw away all the extra questions, and after a few days to make a choice! Dubious pleasure, isn’t it?

3) Technical support service will help you! Send a mail describing all the necessary items and features are waiting, waiting, waiting and again waiting for a response. This option is not good too.

In fact you really have to go through all these steps, if you are not acquainted with us.

Stimulsoft Company is known for its approach to work: make the client feel most comfortable. And where else we need help then on first steps of acquaintance with the software? Let's go back to the beginning of this article.

Do you need a reporting tool that meets all your requirements and relevant to recent developments in the world of reporting? And we have something to offer. In order not to spend too much time looking for the necessary information through the web-site you will find very attractive wizard "Help me choose product". Here's what you need! With it easy mouse click you run it and choose the points with the specified characteristics of reporting tools. At the end you get the name of a right product. It's really easy and, believe me, this is only the first pleasant surprise to work with us!

How to find the wizard?

Just go http://www.stimulsoft.com/Purchase.aspx. On the bottom of page you will find a range of images. Click the icon “Choose Your Product” and enjoy!

wizard 1
wizard
Wind of changes - what could be better, and what could be worse? Indeed, all the new causes fear, because typically, it is not clear "how to use it all." But this is not about Stimulsoft. Innovation from our company is a polished style, improved functionality and, thus, complete absence of incomprehensibility of our users.

What's new?
Complete graphic and functional transformation in the website design. It is like your new modern custom-made suit a tailor sewed: gloss, elegant, and no discomfort in your movements. We have tried to find a happy medium in which all the familiar and comfortable aspects remained in their places, and all the rest stuff made easier, supplied with new elements and returned to you for the joy. On the home page of our website we have added a few items which answer the questions about our company. We have minimized the list of products by combining them in specific logical groups. Many of the items of the "old" menu have been moved down the page. Our web-designers completely redesigned appearance of each page. Of course, changing of the website design does not stop for a minute. We are also pleased to present a new design of our products and the new DEMO application that became more pleasant and convenient. Everything is done in a style of refined minimalism. Every line, every curve is calibrated up to the pixel accuracy.

What caused these changes?
Time passes and everything changes. We did not think it's time to get rid of the vestiges of the past; just the time has come for changes to be made. The main ideas of the new design are beauty and simplicity. Since the user's attention is not infinite, we have decided to polish the appearance by removing all the "white noise". At the same time, it was necessary to preserve the individuality of the product design concept and we think we’ve managed with this.

Good luck in designing your reports!
5) We have what you need.

One of the main demands of the modern world is ability to choose! Yes, yes, you are hearing it right, it is choice. It is very good when you have wide a range of products to be chosen, when it is possible to pick up an object or area in which you will be most comfortable with.

Stimulsoft Company offers you reporting tools for various technologies. Thanks to this, you can choose yourself the optimal technology, the most suitable according to the conditions of your capabilities and desires!

Consider the products offered by Stimulsoft to their customers. You may choose between: Reports.Ultimate, Reports.Net, Reports.Silverlight, Reports.Wpf, Reports.Web, Reports Designer.Silverlight, Reports Designer.Web, Reports.Fx for Flex, Reports.Fx for PHP and Reports.Fx for Java. You are right "for now" - we have a lot of other platforms support, although there are already plenty to choose from. Well let’s get started.

Stimulsoft Reports.Ultimate. This is the perfect solution for those who do not know what to choose, or for those who want everything in one solution. With this “all-inclusive” solution you can build reports for the .NET Framework. This product contains a complete set of tools for creating reports in the WinForms, ASP.NET, Silverlight, and WPF. Also you get a few report designers that can be run at design time and runtime, Web. Also you have viewers to show reports. Perfectly adjusted system to export reports supports a wide range of different file types.

Stimulsoft Reports.Net. This product is likely fashioned to users’ tastes who like simplicity, comfort and elegance. Everything is explained by the fact that the interface of the designer is made the most user-friendly to the user, the most conveniently and skillfully. One of the pleasant aspects is that you can use the report designer both at design time and runtime. Created reports can be used not only in Windows Forms, but also in ASP.NET. Also, at your service, is a wide range of available exports.

Stimulsoft Reports.Silverlight. For fans animation, vector graphics and Microsoft Silverlight technology is dedicated. It is clear from the title that this reporting tool is designed specifically for the Silverlight platform. The product consists of three easy-to-use parts. The first part is a set of ASP.NET components using what you can edit and view the report directly from the browser window. Since the construction of the report is on the server and all interaction with them goes on the client side, using all possibilities of the Silverlight technology, it's extremely convenient. The second part is a full-featured report generator for designing, editing, printing and exporting reports. The third kit of this package is a standalone report designer for the WinForms platform, designed to create reports and their further use with other components.

Stimulsoft Reports.Wpf. If you need a reporting tool for Windows Presentation Foundation, this is the option for you! It offers: a clear structure of the report, a huge selection of different components, a unique set of properties and parameters. Huge opportunities to build, view, print and export reports based on the WPF technology. Just a few lines of code will help you execute a lot of complex actions with reports.

Stimulsoft Reports.Web. This product is especially good to those who have little understanding of his life and work without the huge spaces of the Internet as you can design and build your report directly in Web. This product may do different operations with reports: creating, displaying, printing, exporting. There is no need to install .NET Framework, ActiveX, and other special plug-ins. You are working in the web browser only. All you need is a Flash Player 10.2 and higher.

Stimulsoft Reports Designer.Web. This report designer is not only unique in its structure but also the first that allows you editing reports completely in the Web. Handy modern interface and advanced functionality of Stimulsoft Reports Designer.Web speed up work with reports. Everything you need for work is a Web browser and the Flash player, and there is no need to install the client .NET Framework, ActiveX components or other plug-ins.

Stimulsoft Reports Designer.Silverlight. This is an extension of the Silverlight designer in Stimulsoft. Stimulsoft Reports Designer.Silverlight is convenient and handy because you can change the report directly from the web browser as it is a web-based report generator. Naturally, Stimulsoft Reports Designer.Silverlight has a high download speed and performance, user-friendly interface and advanced functionality. When working with the report generator, the developer does not need to configure the components or write complex lines of code. Everything is very simple - the server you are using is the ASP.NET component and the client is working with a Silverlight component.

Stimulsoft Reports.Fx for Flex. If you are using Rich Internet Applications and wish to expand its boundaries, then you have only one way - Stimulsoft Reports.Fx for Flex. This report generator is used in the Rich Internet Applications. It was developed using advanced technology Adobe Flex. This reporting tool is a handy tool for creating reports. It is equally clear and comfortable in work for all developers and users.

Stimulsoft Reports.Fx for PHP. With the help of this report generator you can design not only your own reports, but place reports in the Internet using a client-server technology. Stimulsoft Reports.Fx for PHP combines two technologies at once: PHP script and Adobe Flash technology. PHP script works on the server side, managing building reports. Adobe Flash technology works with the client, providing a unique and universal mechanism for generating reports.

Stimulsoft Reports.Fx for Java is an excellent reporting tool that works with Java applications. Using Stimulsoft Reports.Fx for Java, you can forget about the problems of different platforms, operating systems and their hardware. Your report generator will be available to work anywhere.

And the most important is that all this variety of tool, you can get here! Now! It is only with us!

6) Future with us

One of the important factors by which it is worth to look closer into the Stimulsoft Reports is a constant prospect of further development. In addition to the continuous improvement of older versions, Stimulsoft Company pleases its customers with new products.

This is actually like an expectation of the Christmas holidays. After all, everyone knows that a lot of nice gifts are waiting for him/her. You wake up and, despite the age, go to see what surprises have been prepared to your by those who love you.

What does the future bring you?

You will find Java version of the report generator that will be compatible with our other products in all formats of reports. The new product will be another brick into the foundation of our great fortress and protection of clients from problems. We believe that this year you will be able to contemplate it your own eyes.

We work hard on the development of the report server which will be based on the most advanced technologies and achievements. Like all our products, it will have a high stability.

We are also preparing big surprises to our customers. These surprises are associated with the technologies of HTML5, operating systems Android and iOS, the Multi-Touch technology but you will see this later.