Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Research brief with footnotes

Keep a claim and its supporting note together in a document that colleagues can edit. The sample separates observations, recommendations and research limits.

Start with
Research observations and source notes
Generate
DOCX + PDF
Generated Word example: Research brief with footnotes
Page 1 · Generated by the example below

How it works

  1. Write the finding

    Add each observation as a paragraph with the count and context needed to interpret it.

  2. Attach the evidence

    Call AddFootNote on the claim paragraph. The note becomes part of the DOCX footnote structure, rather than a manually numbered paragraph.

  3. State the decision and limits

    Add a recommendation, follow-up actions and a clear explanation of what the small sample cannot establish.

The C# source

This is the complete example file used to generate the download. The walkthrough runner creates the output directory and produces the additional previews.

using OfficeIMO.Word;

namespace OfficeIMO.Examples.Showcase.Workflows;

/// <summary>Builds a research brief with editable footnotes that retain the evidence behind each claim.</summary>
internal static class ResearchBrief {
    internal static void Create(string folder) {
        using WordDocument document = WordDocument.Create(Path.Combine(folder, "example.docx"));
        document.Settings.FontFamily = "Carlito";
        document.Settings.FontSize = 11;
        document.BuiltinDocumentProperties.Title = "Customer research brief";
        document.AddParagraph("Customer research brief").Style = WordParagraphStyles.Heading1;
        document.AddParagraph("NORTHWIND / REQUEST PORTAL / SYNTHETIC RESEARCH DATA");
        document.AddParagraph("Question: where do people lose confidence after submitting a request?");
        document.AddParagraph("What we observed").Style = WordParagraphStyles.Heading2;
        document.AddParagraph("Seven of ten participants looked for an acknowledgement before leaving the portal.")
            .AddFootNote("Illustrative moderated study, ten participants, task 2. Counts describe this sample only.");
        document.AddParagraph("Four participants reopened their request because the next step was unclear.")
            .AddFootNote("Illustrative observation log: sessions 02, 04, 07 and 09. Reopening is not a measure of task failure.");
        document.AddParagraph("Recommendation").Style = WordParagraphStyles.Heading2;
        document.AddParagraph("Show the request identifier, owning team and next expected update immediately after submission.");
        WordList actions = document.AddList(WordListStyle.Bulleted);
        actions.AddItem("Prototype a confirmation panel with a visible request identifier.");
        actions.AddItem("Test whether participants can explain what happens next.");
        actions.AddItem("Measure repeat contact separately from page revisits.");
        document.AddParagraph("Limits and next study").Style = WordParagraphStyles.Heading2;
        document.AddParagraph("These are invented observations for the example. A small moderated sample can reveal usability problems; it does not establish population-wide rates.");
        foreach (var paragraph in document.Paragraphs) {
            paragraph.FontFamily = "Carlito";
            paragraph.FontSize = paragraph.Style == WordParagraphStyles.Heading1 ? 26 : paragraph.Style == WordParagraphStyles.Heading2 ? 15 : 11;
            paragraph.LineSpacingAfterPoints = 9;
        }
        document.Save();
    }
}
Open the C# source file

Run it from the source checkout

Clone the OfficeIMO repository and run this command from its root with the .NET 10 SDK. The first run restores the example project's dependencies.

dotnet run --project OfficeIMO.Examples -f net10.0 -- --showcase-workflows --showcase-example word-research-brief

The files are written to OfficeIMO.Examples/bin/Debug/net10.0/Documents/Workflows/word-research-brief/. To use the example in your application, start with the Word guide and its package setup.

Downloads and scope

What the preview shows

The linked C# example generates this file. The runner reopens and validates the DOCX, exports a PDF, and renders every PDF page for review.

What to keep in mind

The observations are synthetic. DOCX footnote structure and the generated PDF are checked; behavior in a desktop Word editor is not part of this preview.

Word API reference · Artifact hashes and provenance

Continue with another example

Example source

Download source