Create Placeholders
Creates a one-page slip-sheet PDF for each file, such as "Document produced in native format" with the file name, in a folder structure that mirrors the input.
Create Placeholders makes a simple one-page PDF for every file in the input. The page carries centred lines of text from a template, which can include the file's name, path, size and modified date. The placeholders are written to the run's files folder in the same folder structure as the input, and the input files themselves are not read for content or changed.
Placeholders are built the same way every time, with no dates or random values inside the PDF, so the same input and settings always give byte-identical files and the same MD5 hashes. Names are reserved in folder order, so clashes are numbered the same way on every run.
Use it when
- Spreadsheets, audio, video or other files are being produced in native format and the image or PDF set needs a slip sheet in their place.
- Documents withheld or produced separately need a placeholder page in a PDF production or court book.
- You need a quick PDF stand-in for files that cannot be converted.
How to run it
- Choose the folder of files that need placeholders as Input, and an Output folder outside it.
- Use extensions to limit the run to the native file types (for example
.xlsx, .mp4). Empty means every file. - Edit the template if the default wording is not right.
- Choose Font size (pt) and page-size.
- Turn on Name by full file name if files differ only by extension.
- Click Run, read the notes, then click Open report to see which placeholder belongs to which file.
Settings
Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help create-placeholders lists them.
Settings
| Setting | What it does | Type and default |
|---|---|---|
Template--template |
Text on the slip sheet, one line per line. Placeholders: {FileName} {Stem} {Extension} {RelativePath} {Size} {Modified}. \n also starts a new line. Each line of the template is a line on the page; typing \n also starts a new line. Tokens are not case-sensitive: {FileName} (with extension), {Stem} (without), {Extension}, {RelativePath} (path below the input folder), {Size} (in bytes) and {Modified} (last modified date and time in UTC). A file name that happens to contain a token, such as {Size}.docx, is shown exactly as it is. |
text (lines)Document produced in native format
{FileName} |
Name by full file name--name-by-full-name |
Name each placeholder after the full file name (report.docx.pdf) so report.docx and report.xlsx don't collide. Off (default): report.pdf, with _(1), _(2)... for collisions. Off: report.docx gives report.pdf, and a second report in the same folder gives report_(1).pdf. On: report.docx.pdf and report.xlsx.pdf, which makes the link to the native file obvious. |
yes/nofalse |
Font size (pt)--font-size |
Text size in points. Long lines are wrapped; if the text is then too tall for the page it is made smaller (down to 6 pt). Between 4 and 72 points. Long lines wrap, preferably after a space, slash, underscore or hyphen. If the text is still too tall for the page it is made smaller, down to 6 pt. If it does not fit even then, what fits is kept, the last line ends in ..., and a note names the file. |
number16 |
Page size--page-size |
Slip-sheet page size. Match the page size of the rest of the production: A4 for Australian matters, Letter for US. |
choice: A4, LetterA4 |
Common settings
| Setting | What it does | Type and default |
|---|---|---|
Input required--input |
Folder (or single file) to read. It is opened read-only and never modified. | folder empty |
Output required--output |
Folder for reports. Must not be inside the input folder. Each run gets its own sub-folder. | folder empty |
Recurse--recurse |
Include sub-folders. | yes/notrue |
Extensions--extensions |
Only process these extensions (e.g. .pdf, .docx). Empty means the tool's default set. | list empty |
Parallelism--parallelism |
Files processed at once. Use 1-2 for spinning disks or network shares. | number4 |
What you get
Each run creates its own folder inside the output folder, with the report create-placeholders.csv, errors.csv and manifest.json (see Run folders and manifests).
files\…\report.pdf …: One placeholder PDF per input file, in the same folder structure as the input.create-placeholders.csv: One row per file: RelativePath, FileName, Placeholder (the path of its slip sheet), MD5 and SourcePath.errors.csv: Files for which a placeholder could not be written, with the reason.
Report columns
RelativePathFileNamePlaceholderMD5SourcePath
Check the result
- Read the notes. They say when text was cut short, and when characters could not be shown.
- Open a few placeholders, including one with a long name, and check the wording.
- Use the report to match each placeholder to its native file, particularly where
_(1)numbering was added.
- Placeholders are ordinary PDFs, so they can be Bates stamped and included in a court book with the rest of the production.
- Run the tool on the folder of natives only, or use extensions, so documents that are being imaged do not also get slip sheets.
- The text uses the built-in Helvetica font, which only covers Western European characters. Other characters (for example Chinese or Arabic file names) appear as
?on the page; a note says so, and the report has the exact names. - Create Placeholders is a Pro tool. The free edition creates up to 25 placeholders per run.
From the command line
The command line is part of LitTechKit Pro. See Command line.
ltk run create-placeholders --input "D:\Matter\Production 1\Natives" --output "D:\Matter\Production 1\Slip sheets" --name-by-full-name --page-size A4
Related tools
- Bates Stamp: Stamps sequential Bates numbers and an optional legend (e.g. CONFIDENTIAL) on every PDF page, correctly placed on rotated and cropped pages, writing stamped copies with a Beg/End Bates report.
- Court Book: Builds a court book from PDFs and an optional Excel/CSV index: a hyperlinked index, consecutive page numbers on every page, and bookmarks for each section and document. Every link and page number is checked.
- Convert To PDF: Converts Word, Excel, PowerPoint, RTF, text, email (.eml, .msg) and image files (including multi-page TIFFs) to PDF using the Microsoft Office on this PC, from read-only working copies with macros and external links disabled, keeping saved values and showing hidden content, and reports the page count of each PDF. AutoCAD drawings (.dwg, .dxf, R14 and later) are converted without AutoCAD, one page per layout.
- Create Load File: Creates a Concordance DAT and Opticon OPT load file for a production folder, grouping natives, images and text by Bates number.