Skip to content

Instantly share code, notes, and snippets.

View thomerow's full-sized avatar

Thorsten thomerow

  • Bremen, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am thomerow on github.
  • I am thomerow (https://keybase.io/thomerow) on keybase.
  • I have a public key ASB22grwZTco-cLJ_pvWY9EdUravP6jxCWrj-Y6yVfTHBAo

To claim this, I am signing this object:

#!/usr/bin/env ruby
require "txtextcontrol/reportingcloud"
reporting_cloud = TXTextControl::ReportingCloud::ReportingCloud.new("username", "password")
font_names = reporting_cloud.list_fonts
i = 0
while i < 5 do
Aharoni
Aldhabi
Andalus
Angsana New
AngsanaUPC
sample_invoice.tx
15
«Person_Contact.LastName»
Sales_SalesOrderDetail
#!/usr/bin/env ruby
require "txtextcontrol/reportingcloud"
reporting_cloud = TXTextControl::ReportingCloud::ReportingCloud.new("username", "password")
template_info = reporting_cloud.get_template_info("sample_invoice.tx")
puts template_info.template_name
puts template_info.merge_fields.length
#!/usr/bin/env ruby
require "txtextcontrol/reportingcloud"
require "base64"
reporting_cloud = TXTextControl::ReportingCloud::ReportingCloud.new("username", "password")
find_and_replace_data = [["Invoice", "ReplacedText"]]
find_and_replace_body = TXTextControl::ReportingCloud::FindAndReplaceBody.new(find_and_replace_data)
Aharoni
Aldhabi
Andalus
Angsana New
AngsanaUPC
import com.textcontrol.reportingcloud.ReportingCloud;
import java.io.IOException;
import java.util.List;
public class ReportingCloudSample {
public static void main(String[] args) throws IOException {
ReportingCloud r = new ReportingCloud("username", "password");
List<String> fontNames = r.listFonts();
for (int i = 0; i < 5; ++i) System.out.println(fontNames.get(i));