# US 2012/0254730 A1 · Techniques to create structured document templates using enhanced content controls

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254730 A1
- Document ID: US20120254730A1
- Status: Published application
- Kind: A1
- Application number: 13/240,722
- Filed: 2011-09-22
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Microsoft Corporation
- Inventors: Mark Sunderland; Tristan Davis
- Web page: https://patentgrep.com/patent/US20120254730A1

## CPC

- G06F 40/186: Templates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques to create structured documents and document templates using enhanced content controls are described. An apparatus may comprise an application to generate a document from a document template. The application may comprise a document template component operative to retrieve a document template comprising multiple document parts. The application may further comprise a content control component operative to manage a content control embedded in a document part of the document template. The content control may be associated with a data source arranged to store richly formatted content presented by the content control without necessarily requiring the data storage to be written in any particular way. The content control component may synchronize any changes to the formatted content between the content control and the data store. Other embodiments are described and claimed.

## Claims

### Claim 1

An apparatus, comprising:
a logic device; and
an application operative on the logic device to generate a document from a document template, the application comprising:
a document template component operative to retrieve the document template, the document template comprising multiple document parts;
a content control component operative to manage a content control embedded in a document part of the document template, the content control associated with a data source arranged to store formatted content presented by the content control, the content control component operative to synchronize changes to the formatted content between the content control and the data store; and
a document generator component operative to generate the document from the document template with the content control.

### Claim 2 (depends on 1)

The apparatus of claim 1, the content control component operative to receive control directives to modify the formatted content, the control directives comprising instructions to modify a formatting option or a style option for the formatted content.

### Claim 3 (depends on 1)

The apparatus of claim 1, the content control component operative to receive control directives to modify the formatted content, the control directives comprising instructions to modify a font, a font style, a font size, a font color, an underline style, an underline color, an effect, a text effect, a text fill, a text outline, an outline style, a text shadow, a text reflection, a text glow, a text edge, or a text three dimensional format.

### Claim 4 (depends on 1)

The apparatus of claim 1, the content control component operative to receive control directives to modify the formatted content presented by the content control, present the modified formatted content in a presentation field of the content control, and send the modified formatted content to the data store.

### Claim 5 (depends on 1)

The apparatus of claim 1, the content control component operative to detect the formatted content stored in the data store has been modified, and send the modified formatted content to the content control for presentation in a presentation field of the content control.

### Claim 6 (depends on 1)

The apparatus of claim 1, the content control component operative to communicate the modified formatted content using a data schema different from a data schema of the formatted content stored in the data store.

### Claim 7 (depends on 1)

The apparatus of claim 1, the data store arranged to store the formatted content according to an extensible markup language (XML) data schema.

### Claim 8 (depends on 1)

The apparatus of claim 1, the content control component operative to serialize extensible markup language (XML) elements of the formatted content to form a string of XML elements, remove reserved XML characters from the string of XML elements, and store any remaining text from the XML elements in the data store.

### Claim 9

A method, comprising:
presenting a document template with a content control having formatted content in a presentation field of the content control;
receiving control directives to modify the formatted content; and
synchronizing the modified formatted content between the content control and a data store associated with the content control.

### Claim 10 (depends on 9)

The method of claim 9, comprising receiving control directives to modify the formatted content presented by the content control or stored in the data store.

### Claim 11 (depends on 9)

The method of claim 9, comprising:
receiving control directives to modify formatted content presented by the content control;
presenting the modified formatted content in the presentation field of the content control; and
sending the modified formatted content to the data store.

### Claim 12 (depends on 9)

The method of claim 9, comprising:
receiving control directives to modify formatted content stored in the data store;
sending the modified formatted content to the content control; and
presenting the modified formatted content in the presentation field of the content control.

### Claim 13 (depends on 9)

The method of claim 9, comprising communicating the modified formatted content between the content control and the data store using a data schema different from a data schema of the formatted content stored in the data store.

### Claim 14 (depends on 9)

The method of claim 9, comprising:
serializing extensible markup language (XML) elements of the formatted content to form a string of XML elements;
removing reserved XML characters from the string of XML elements; and
storing any remaining text from the XML elements in the data store.

### Claim 15

An article of manufacture comprising a storage medium containing instructions that when executed cause a system to:
present a content control with formatted content in a document;
receive control directives to modify the formatted content; and
synchronize changes to the formatted content between the content control and a custom extensible markup language (XML) part associated with the document.

### Claim 16 (depends on 15)

The article of manufacture of claim 15, further comprising instructions that when executed cause the system to receive control directives to modify the formatted content presented by the content control or stored in the XML part.

### Claim 17 (depends on 15)

The article of manufacture of claim 15, further comprising instructions that when executed cause the system to:
receive control directives to modify formatted content presented by the content control;
present the modified formatted content by the content control; and
send the modified formatted content to the XML part.

### Claim 18 (depends on 15)

The article of manufacture of claim 15, further comprising instructions that when executed cause the system to:
receive control directives to modify formatted content stored in the XML part;
send the modified formatted content to the content control; and
present the modified formatted content by the content control.

### Claim 19 (depends on 15)

The article of manufacture of claim 15, further comprising instructions that when executed cause the system to send the modified formatted content to the XML part using a data schema different from a data schema of the formatted content stored in the XML part.

### Claim 20 (depends on 15)

The article of manufacture of claim 15, further comprising instructions that when executed cause the system to:
serialize XML elements of the formatted content to form a string of XML elements;
remove reserved XML characters from the string of XML elements; and
store text from the XML elements in the XML part.
