{"id":3984,"date":"2011-10-17T19:59:04","date_gmt":"2011-10-18T02:59:04","guid":{"rendered":"http:\/\/www.rorohiko.com\/wordpress\/?page_id=3984"},"modified":"2011-10-17T19:59:04","modified_gmt":"2011-10-18T02:59:04","slug":"stylepainter-example","status":"publish","type":"page","link":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/","title":{"rendered":"StylePainter Example"},"content":{"rendered":"<p style=\"text-align: left;\">Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign and open the document.<\/p>\n<ol style=\"text-align: left;\">\n<li>Create a character style to your liking (e.g. it could be called <em>AllNumbers<\/em> or so and it could use a specific font with nice digits).<\/li>\n<li>Create a text frame on the left hand pasteboard of the first page of the document.<\/li>\n<li>In this frame, type a line with the following 3 characters<br \/>\n<span style=\"font-family: 'Courier New'; \"> \\d+<\/span><\/li>\n<li>This is a GREP expression that matches all numeric strings of one or more digits.<\/li>\n<li>Now the magic bit: select the GREP expression (i.e. <span style=\"font-family: 'Courier New', Courier, Monaco, monospace;\">\\d+<\/span>) and format it with the desired <em>AllNumbers<\/em> character style. The trick is that we link our desired formatting and style to a GREP expression by formatting the GREP expression\u00a0<em>itself<\/em>.<\/li>\n<li>Select the <em>API &#8211; StylePainter &#8211; Paint Document<\/em> menu item<\/li>\n<\/ol>\n<p style=\"text-align: left;\">If all goes well, all strings of one or more digits in your document will now have the <em>AllNumbers<\/em> character style applied to them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign and open the document. Create a character style to your liking (e.g. it could &hellip; <a href=\"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":141,"featured_media":0,"parent":3698,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-3984","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>StylePainter Example - Rorohiko Workflow Resources<\/title>\n<meta name=\"description\" content=\"Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"StylePainter Example - Rorohiko Workflow Resources\" \/>\n<meta property=\"og:description\" content=\"Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Rorohiko Workflow Resources\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/manuals\\\/stylepainter-example\\\/\",\"url\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/manuals\\\/stylepainter-example\\\/\",\"name\":\"StylePainter Example - Rorohiko Workflow Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#website\"},\"datePublished\":\"2011-10-18T02:59:04+00:00\",\"description\":\"Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/manuals\\\/stylepainter-example\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/manuals\\\/stylepainter-example\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/manuals\\\/stylepainter-example\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manuals\",\"item\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/manuals\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"StylePainter Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/\",\"name\":\"Rorohiko Workflow Resources\",\"description\":\"Custom InDesign Development\",\"publisher\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#organization\",\"name\":\"Rorohiko Ltd.\",\"url\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rorohiko.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/roro-logo-3d-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.rorohiko.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/roro-logo-3d-v2.png\",\"width\":207,\"height\":200,\"caption\":\"Rorohiko Ltd.\"},\"image\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/zwettemaan\",\"https:\\\/\\\/www.instagram.com\\\/kriscoppieters\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/kristiaan\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"StylePainter Example - Rorohiko Workflow Resources","description":"Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/","og_locale":"en_US","og_type":"article","og_title":"StylePainter Example - Rorohiko Workflow Resources","og_description":"Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign","og_url":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/","og_site_name":"Rorohiko Workflow Resources","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/","url":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/","name":"StylePainter Example - Rorohiko Workflow Resources","isPartOf":{"@id":"https:\/\/rorohiko.com\/wordpress\/#website"},"datePublished":"2011-10-18T02:59:04+00:00","description":"Imagine you would like to assign a character style to all numbers that occur throughout a document. Install the software first, and then fire up InDesign","breadcrumb":{"@id":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rorohiko.com\/wordpress\/manuals\/stylepainter-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rorohiko.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Manuals","item":"https:\/\/rorohiko.com\/wordpress\/manuals\/"},{"@type":"ListItem","position":3,"name":"StylePainter Example"}]},{"@type":"WebSite","@id":"https:\/\/rorohiko.com\/wordpress\/#website","url":"https:\/\/rorohiko.com\/wordpress\/","name":"Rorohiko Workflow Resources","description":"Custom InDesign Development","publisher":{"@id":"https:\/\/rorohiko.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rorohiko.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/rorohiko.com\/wordpress\/#organization","name":"Rorohiko Ltd.","url":"https:\/\/rorohiko.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rorohiko.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2018\/03\/roro-logo-3d-v2.png","contentUrl":"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2018\/03\/roro-logo-3d-v2.png","width":207,"height":200,"caption":"Rorohiko Ltd."},"image":{"@id":"https:\/\/rorohiko.com\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/zwettemaan","https:\/\/www.instagram.com\/kriscoppieters\/","https:\/\/www.linkedin.com\/in\/kristiaan"]}]}},"_links":{"self":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/3984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/users\/141"}],"replies":[{"embeddable":true,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3984"}],"version-history":[{"count":2,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/3984\/revisions"}],"predecessor-version":[{"id":3986,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/3984\/revisions\/3986"}],"up":[{"embeddable":true,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/3698"}],"wp:attachment":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}