TX Text Control Blog

Meet Text Control at DevIntersection in Las Vegas, NV

Björn Meyer

Blogged by Björn Meyer on September 27, 2016 and tagged with conference, reportingcloud.


Meet Text Control at DevIntersection in Las Vegas, NV

DevIntersection is back in Las Vegas, NV in the week from October 25-28 2016. Just by looking at the speaker line-up, you can see that this is one of the most important conferences with the most influential speakers and industry exhibitors: Scott Hanselman (@shanselman), Scott Guthrie (@scottgu), Steve Guggenheimer (@stevenguggs), Billy Hollis (@billyhollis), Scott Hunter (@coolcsh), John Papa (@John_Papa) and many more.

The conference is divided into sub-conferences covering ASP.NET, Visual Studio, Azure, SQL, SharePoint and open source (<anglebrackets/>) with loads of workshops and sessions to choose from.

We will exhibit at the conference in the expo hall presenting our latest products (ReportingCloud) and new beta versions of TX Text Control X14. Traditionally, we will unveil our roadmap of upcoming versions at this conference.

If you are attending this show, stop by our demo counters to get an overview of what we achieved over the last months.

See you in Vegas!

ReportingCloud Web API supports now Cross Origin Resource Sharing (CORS)

Björn Meyer

Blogged by Björn Meyer on September 26, 2016 and tagged with conference, cors.


The ReportingCloud API supports Cross Origin Resource Sharing (CORS) for AJAX requests from any origin. You can learn more about the CORS W3C recommendation here:

https://www.w3.org/TR/cors/

Traditionally, AJAX requests have been restricted by the Same Origin Policy that only allowed them to make request to resources within the same domain. Since HTML5, this restriction is gone and allows for AJAX requests to be made across domains.

The following is a sample CURL request from a browser hitting http://example.com:

This enables client-side languages such as JavaScript or jQuery to make ReportingCloud Web API calls. With CORS supported by ReportingCloud, you can make AJAX requests like any other AJAX call. The following sample calls the Account/Settings endpoint using jQuery:

Happy coding!

Impressions from BASTA! 2016 in Mainz, Germany

Björn Meyer

Blogged by Björn Meyer on September 23, 2016 and tagged with conference, reportingcloud.


This week, we exhibited at BASTA! 2016 in Mainz - one of the largest, independent .NET conferences in Germany. The 5-day event offers workshops, sessions, special days and the BASTA! Labs with hands-on development.

At our demo counters, we presented our latest versions and products including ReportingCloud, the Web API REST service to create documents in the cloud.

We handed out loads of stickers, Frisbees, post-it notes and raffled off two XBox-One packages.

Find below some impressions of our booth area:

We are changing the way you look at reporting
Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016Text Control at BASTA! 2016

See you next year!

MailMerge: Starting each merge block on a new page

Björn Meyer

Blogged by Björn Meyer on September 9, 2016 and tagged with reporting, mailmerge, tutorial, reportingcloud.


A merge block is repeated based on the number of matching data rows in the hierarchical data object. The complete merge block is cloned and inserted under the original location in the template. But thanks to the flexibility of the "flow type layout reporting" approach, a merge block may contain everything: A table row, a complete table, text frames and paragraphs including all paragraph settings.

And these paragraph settings can be used to realize sophisticated layouts. The property ParagraphFormat.PageBreakBefore defines whether or not a paragraph is always rendered at the top of a page. If you apply this paragraph setting to the first paragraph of a merge block, the whole merge block begins at the top of a new page:

MailMerge: Starting each merge block on a new page

In the merged document, each of these block rows start at the top of a new page:

MailMerge: Starting each merge block on a new page

If the merge block should break after the first block and the new block should be rendered on a new section, a section break can be included into the merge block. Therefore, simply set the input position to the end of the block and select Breaks -> Next Page from the Page Setup group in the Page Layout ribbon tab.

MailMerge: Starting each merge block on a new page

This can be done with page breaks, continuous section breaks or column breaks to realize different layouts.

ReportingCloud: New endpoint to find and replace text

Björn Meyer

Blogged by Björn Meyer on September 7, 2016 and tagged with reportingcloud, release.


We just released a new endpoint to the ReportingCloud Web API:

POST https://api.reporting.cloud/v1/document/findandreplace

This new endpoint can be used to find any text in any text part of a document including the main text, headers and footers and text frames. The endpoint POST method accepts an array of string arrays with pair values to find and replace strings in a template.

The following code, that uses the ReportingCloud .NET wrapper, finds and replaces the string Invoice with ReplacedText and Invoice2 with ReplacedText2 in the complete document.

For mail merge purposes, usually merge fields are used and those templates are merged using the endpoint document/merge. But in several scenarios or templates from legacy applications, simple find and replace processes are very useful.

Start today with ReportingCloud and sign up for a free trial account.

Happy coding!

Older blog entries

 
 
Call us: +1 704-544-7445 (United States)
 
 

Products

Support

Downloads

Corporate

Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner