byte to pdf c# : Create bookmark in pdf automatically control SDK system web page wpf azure console dmstudioguide63-part1608

607
Appendix C
Sample XML used in Examples
Below find the XML transaction record used for purposes of the examples in this 
guide.
Extract File - 77-875747
<?xml version="1.0" encoding="UTF-8"?>
<TRAININGCOMPANY>
<HEADER>
<KEY1>TRAINCO</KEY1>
<KEY2>LA</KEY2>
<KEYID>77-875747</KEYID>
<RUNDATE>20201231</RUNDATE>
<BUSINESSTYPE>03</BUSINESSTYPE>
<PRODUCT>Foundation Medical</PRODUCT>
</HEADER>
<DATA>
<POLICYNUMBER>998238A</POLICYNUMBER>
<FORM>CGA-1319-IN</FORM>
<IND3>A</IND3>
<INSURED>
<INSUREDFNAME>Cablevision</INSUREDFNAME>
<INSUREDADDRESS1>2120 Peachtree Industrial</INSUREDADDRESS1>
<INSUREDCITY>Atlanta</INSUREDCITY>
<INSUREDSTATE>GA</INSUREDSTATE>
<INSUREDZIP>30348</INSUREDZIP>
</INSURED>
<AGENT>
<AGENTPREFIX>Mr.</AGENTPREFIX>
<AGENTFNAME>John</AGENTFNAME>
<AGENTLNAME>Doe</AGENTLNAME>
<AGENTADDRESS1>100 Main Street</AGENTADDRESS1>
<AGENTCITY>Dallas</AGENTCITY>
<AGENTSTATE>TX</AGENTSTATE>
<AGENTZIP>76206</AGENTZIP>
<AGENTEMAIL>jdoe@trainco.com</AGENTEMAIL>
<AGENTPHONE>2148582200</AGENTPHONE>
<AGENTNUMBER>N12345</AGENTNUMBER>
<CUSTSERVPHONE>8882637436</CUSTSERVPHONE>
<CUSTSERVOPENTIME>8:00</CUSTSERVOPENTIME>
<CUSTSERVCLOSETIME>5:00</CUSTSERVCLOSETIME>
<CUSTSERVTIMEZONE>eastern</CUSTSERVTIMEZONE>
</AGENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
<DETAIL_QUESTION>Question 6i:</DETAIL_QUESTION>
Create bookmark in pdf automatically - add, remove, update PDF bookmarks in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Empower Your C# Project with Rapid PDF Internal Navigation Via Bookmark and Outline
convert excel to pdf with bookmarks; convert word to pdf with bookmarks
Create bookmark in pdf automatically - VB.NET PDF bookmark library: add, remove, update PDF bookmarks in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Empower Your VB.NET Project with Rapid PDF Internal Navigation Via Bookmark and Outline
pdf create bookmarks; excel hyperlink to pdf bookmark
Appendix C – Sample XML used in Examples
608
<DETAIL_ANSWER>Extremities; In 2003 or 2004 had nail removed from 
foot, it was fine.  Had a complete and full recovery; Dr. Call, 634 
Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
<DETAIL_QUESTION>Question 7j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Fair; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>  
<DETAIL_QUESTION>Question 11b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; Routine physical 3 years ago with lab work 
and EKG; no adverse findings; Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD> 
<DETAIL_QUESTION>Question 21d:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Had x_rays following the ankle surgery; Dr. 
H. A. Rose, 634 Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 41z:</DETAIL_QUESTION>
<DETAIL_ANSWER>Electrocardiogram; See answer to question 11b.</
DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
<DETAIL_QUESTION>Question 5e:</DETAIL_QUESTION>
<DETAIL_ANSWER>Extra mole; On neck, behind right ear, removed 
fragment of skin, it was benign. Had a complete and full recovery; Dr. 
H. A. Rosane, 634 Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 8j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
<DETAIL_QUESTION>Question 19b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; Routine physical 2 years ago with lab work 
and EKG; no adverse findings; Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Had x_rays following the surgery; Dr. H. A. 
Rosane, 634 Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 17d:</DETAIL_QUESTION>
<DETAIL_ANSWER>Diogram; See answer to question 11b.</
DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6i:</DETAIL_QUESTION>
C# PDF Form Data fill-in Library: auto fill-in PDF form data in C#
project. On this C# tutorial, you will learn how to fill-in field data to PDF automatically in your C#.NET application. Following
pdf bookmark; add bookmarks to pdf reader
VB.NET PDF Form Data fill-in library: auto fill-in PDF form data
NET Annotate PDF in WPF, C#.NET PDF Create, C#.NET search text in PDF, C#.NET edit PDF bookmark, C#.NET how to fill-in field data to PDF automatically in your
export bookmarks from pdf to excel; pdf bookmark editor
609
<DETAIL_ANSWER>Neck type; In 2008 a neck wrap was used for support. 
Had a complete and full recovery; Dr. H. A. Rosane, 634 Beech St., 
Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 4j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Neck; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; Routine physical 1 year ago with lab work 
and EKG; no adverse findings; Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 16d:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Had x_rays showing no further check.  A. 
Rosane, 634 Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>Card; See answer to question 11b.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6i:</DETAIL_QUESTION>
<DETAIL_ANSWER>Extra check; In 2009 pink eye in left and right eye. 
Contacts were removed for a complete and full recovery; Dr. H. A. 
Rosane, 634 Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Eye; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; Routine physical 6 months with lab work 
and EKG; no adverse findings; Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Had x_rays followed; Dr. H. A. Rosane, 634 
Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>Electrocardiogram; See answer to question 11b.</
DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6i:</DETAIL_QUESTION>
<DETAIL_ANSWER>Extremities; In 2006 or 2007 had arm checked for 
cause of pain. Had a complete and full recovery; Dr. H. A. Rosane, 634 
Beech St., Terre Haute, IN.</DETAIL_ANSWER>
C# PDF Print Library: Print PDF documents in C#.net, ASP.NET
Annotate PDF in WPF, C#.NET PDF Create, C#.NET text in PDF, C#.NET edit PDF bookmark, C#.NET library control SDK for automatically printing PDF document online
bookmark pdf reader; bookmark page in pdf
C# HTML5 PDF Viewer SDK deployment on Visual Studio .NET
C#.NET Annotate PDF in WPF, C#.NET PDF Create, C#.NET search text in PDF, C#.NET edit PDF bookmark, C#.NET XDoc.PDF.HTML5 Viewer Demo or XDoc.PDF.HTML5 Editor
export pdf bookmarks to text file; add bookmarks pdf
Appendix C – Sample XML used in Examples
610
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Cysts; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; Routine physical 3 years ago with lab work 
and EKG; no adverse findings; Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Dr. H. A. Rosane, 634 Beech St., Terre Haute, 
IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>Text testing OFF; See answer to question 11b.</
DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6i:</DETAIL_QUESTION>
<DETAIL_ANSWER>Extremities; Had a complete and full recovery; Dr. 
H. A. Rosane, 634 Beech St., Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Cysts; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Checkup; Routine physical 3 years ago with lab work 
and EKG; no adverse findings; Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
<DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Had x_rays as part of the test. No surgery 
needed at this time. Terre Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 11d:</DETAIL_QUESTION>
<DETAIL_ANSWER>Electrocardiogram; See answer to question 11b.</
DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 6i:</DETAIL_QUESTION>
<DETAIL_ANSWER>Extremities; Frost of skin caused rash. Had a 
complete and full recovery; Dr. H. A. Rosane, 634 Beech St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
VB.NET PDF - Deploy VB.NET HTML5 PDF Viewer on Visual Studio.NET
C#.NET Annotate PDF in WPF, C#.NET PDF Create, C#.NET C#.NET search text in PDF, C#.NET edit PDF bookmark, C#.NET to How to Build Online VB.NET PDF Viewer in
create bookmarks in pdf from excel; excel pdf bookmarks
VB.NET PDF - Acquire or Save PDF Image to File
NET Annotate PDF in WPF, C#.NET PDF Create, C#.NET search text in PDF, C#.NET edit PDF bookmark, C#.NET NET TWAIN Scanning DLLs: Scan Many Pages into One PDF.
auto bookmark pdf; copy pdf bookmarks to another pdf
611
 <DETAIL_QUESTION>Question 6j:</DETAIL_QUESTION>
<DETAIL_ANSWER>Frost; See answer to question 6i.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 8b:</DETAIL_QUESTION>
<DETAIL_ANSWER>Next Checkup; Routine physical in 1 year, will 
include lab work and samples Dr. Lenyo, 2100 N. Center St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Question 50k:</DETAIL_QUESTION>
<DETAIL_ANSWER>X_ray; Had x_rays H. A. Rosane, 634 Beech St., Terre 
Haute, IN.</DETAIL_ANSWER>
</TREATMENT>
<TREATMENT>
<RECORD>TREATMENT</RECORD>
 <DETAIL_QUESTION>Last Record</DETAIL_QUESTION>
<DETAIL_ANSWER></DETAIL_ANSWER>
</TREATMENT>
</DATA>
</TRAININGCOMPANY>
C# PDF - Acquire or Save PDF Image to File
scanners and digital cameras) automatically and saving the images to file in C#.NET application. C#.NET TWAIN Scanning DLLs: Scan Many Pages into One PDF.
editing bookmarks in pdf; how to create bookmark in pdf automatically
C#: How to Add HTML5 Document Viewer Control to Your Web Page
this file Default.aspx and Visual Studio will automatically create a code take RE default var _userCmdDemoPdf = new UserCommand("pdf"); _userCmdDemoPdf.addCSS
copy pdf bookmarks; add bookmark pdf
Appendix C – Sample XML used in Examples
612
VB Imaging - VB ISBN Barcode Tutorial
use .NET solution that is designed to create ISBN barcode Automatically compute and add check digit for ISBN barcode document files in VB.NET like PDF & Word.
export excel to pdf with bookmarks; bookmarks in pdf files
C# Imaging - Scan Linear ISSN in C#.NET
Detect orientation of scanned ISSN barcode automatically from image files using C#. Integrated with PDF controlling library to scan ISSN barcode from PDF
create pdf bookmark; bookmark a pdf file
613
Appendix D
Using Subforms
Studio lets you include forms within forms. The embedded forms are called 
subforms. Using subforms eliminate the need to use the SetRecipFromImage rule 
which simplifies triggering and populating data on sections when you are processing 
repeating patterns of hierarchical or nested data. 
Subforms have begin and end sections and trigger the same as any other group. The 
difference is that if the subform is triggered, the section triggers for the specified 
form are run, and they are run for each time the subform is triggered.
When processing non-XML input files with subforms triggered by a counter search 
mask, the triggered sections are processed against a subset of the extract file. The 
subset is based on the search mask and the occurrence of the triggered subform.
You create the form referenced by the subform group just like you create any other 
form and it can be used just like any other form.
This appendix covers these topics:
• Adding a Subform on page 614
• Accessing Data on page 615
Note
Subforms are stored as version 11.x FOR resource files and are only supported in a 
version 11.3 or higher runtime configured to run with Documaker Studio model 
resources. In addition, to use subforms, you must also use the RunTrigger rule. This rule 
replaces the RunSetRcpTbl and LoadRcpTbl rules. If your AFGJOB.JDT file includes 
the RunSetRcpTbl and LoadRcpTbl rules, you must modify it before you can use 
subforms.
Appendix D – Using Subforms
614
A
DDING
A
S
UBFORM
To add a subform when working with forms, right click and select the Add Subform 
option:
The Open File window appears. Select a form on this window or click New to create 
a subform.
Right click and then choose 
the Add Subform option
Accessing Data
615
A
CCESSING
D
ATA
With flat file extract data
If a subform is triggered using a counter type search mask, the subsequent section’s 
trigger and data mappings are run against a subset of the file. For example, with the 
following extract file:
Header 123456768
Level 1 : 1
Level 2 : 1:1
Level 3 : 1:1:1
Level 3 : 1:1:2
Level 3 : 1:1:3
Level 3 : 1:1:4
Level 3 : 1:1:5
Level 2 : 1:2
Level 3 : 1:2:1
Level 3 : 1:2:2
Level 1 : 2
Level 2 : 2:1
Level 3 : 2:1:1
Level 3 : 2:1:2
Level 3 : 2:1:3
Level 2 : 2:2
Level 3 : 2:2:1
Level 3 : 2:2:2
Level 3 : 2:2:3
Level 3 : 2:2:4
Level 2 : 2:3
Level 3 : 2:3:1
Level 3 : 2:3:2
Assume you have a subform level 1 triggered by a search mask of 1,Level and form 
level 1 and a subform level 2. The extract file for all of the sections triggered under 
the first occurrence of subform level 1 would appear as follows:
Level 1 : 1
Level 2 : 1:1
Level 3 : 1:1:1
Level 3 : 1:1:2
Level 3 : 1:1:3
Level 3 : 1:1:4
Level 3 : 1:1:5
Level 2 : 1:2
Level 3 : 1:2:1
Level 3 : 1:2:2
For the sections triggered under the first occurrence of level 2, the extract would 
appear as:
Level 2 : 1:1
Level 3 : 1:1:1
Level 3 : 1:1:2
Level 3 : 1:1:3
Level 3 : 1:1:4
Level 3 : 1:1:5
If you assume the subform level 2 triggers a section (level 3) for each occurrence of 
the search mask 1,Level 3, the first occurrence of subform level 2 triggers five level 
3 sections. If you mapped a field in the level three section as shown here:
Appendix D – Using Subforms
616
The file data returned for each section would be as shown here:
1:1:1
1:1:2
1:1:3
1:1:4
1:1:5
The search mask 1,Level 3 specifies the data record (value of Level 3 at an offset of 
one). Source offset specifies the offset to use within the selected data record and the 
length specifies the length of the data to return. 
The overflow symbol specifies the occurrence of the data record. In this case, select 
Section, which tells Studio to give you the section occurrence number of this section 
within the form or, in this case the subform, if the section was triggered as part of a 
subform.
With XML extract data
Given the following extract file:
<SubForm>
<begin>04-08-2006</begin> <end>04-14-2006</end>
<SubForm_1>
<Item>1</Item>
<SubForm_2>
<Item>1</Item>
<SubForm_3>
<Item>1</Item>
<Item>2</Item>
<Item>3</Item>
<Item>4</Item>
<Item>5</Item>
</SubForm_3>
</SubForm_2>
<SubForm_2>
<Item>2</Item>
<SubForm_3>
<Item>1</Item>
<Item>2</Item>
<Item>3</Item>
</SubForm_3>
</SubForm_2>
</SubForm_1>
<SubForm_1>
<Item>2</Item>
Documents you may be interested
Documents you may be interested