Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Mount Prospect, Illinois
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Formatted Text vs Properties and Bookmarks (97-2003)

    I need to store information in properties, knowing that the text will also have superscripts, greek letters, etc.
    So the only way to do this is to bookmark it, and link the prop to the bookmark (hate it, too fragile, wish there was some way to mark it as "undeletable"), so it can be used throughout the document (e.g. a product name followed by TM).

    But to make the doc more reliable, I want to have the entry of those things in a dialog, or some controlled environment where they can't accidentally nuke the bookmarks.
    1) Ordinary text boxes just won't cut it
    2) The rich text box is marked as unsafe for Word 2002+
    Why not make the stuff I'm entering a Word form? Because it needs to go in the header, for one, and because too much of the rest of the doc is free-form.

    Any other suggestions? I was thinking about opening a dummy doc that's a form, with buttons to make it look like a dialog.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Formatted Text vs Properties and Bookmarks (97-2003)

    Just to make sure I understand this: The user enters some kind of formatted text; you mark it with a Bookmark; you store the name of the bookmark in a Custom Document Property; when you want to cross-reference the original formatted text, you look in the document property to get the name of the Bookmark? Wow. That is going to create support issues for ordinary users. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    This is going to sound cheesy, but... in my early days I created "forms" by setting up a data entry section, followed by the document body section. In the data entry section, there was a table, left cell description, right cell data, each data cell with a unique style name. In the document, I used STYLEREF fields to copy the contents of the data table. Users need some training on how to (1) update fields, and (2) use Page Setup with multiple sections (if you target is not plain paper), so there is a little bit of ramp-up you have to do. But it's quick to edit, you can embed fields within fields in your data table by using STYLEREF fields to import previous data entries, and you can make the document final and presentable by unlinking all fields in the document and deleting the first section.

    Now, this obviously isn't for everyone, but for a quick in-house solution, I think it's worth trying. When fields are inserted, by default they include the MERGEFORMAT switch, which in theory will coerce any superscript formattting back to the default for the paragraph in which it is being inserted. However, even without the switch, the STYLEREF fields seems to do that. (See attached demo.) Oh well... I guess you could try bookmarks and REF fields instead...
    Attached Files Attached Files

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatted Text vs Properties and Bookmarks (97-2003)

    Hi Joel:
    I like Jefferson's idea, but if the text that you wish to place in Properties is defined & limited to a reasonable number, you could make each one an Autotext entry formatted in a single custom style & then use the AutoTextList field to pick your entry. I guess you'd still have to bookmark it & use REF fields, so this may not be any better than what you're doing.

  4. #4
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Mount Prospect, Illinois
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatted Text vs Properties and Bookmarks (97-2003)

    I think I must have been unclear in my original post.
    Here's the steps:
    1) New doc from template, I need formatted text for superscripts, symbols, etc. in the title, product name, etc.
    2) I want that info in properties, so they're created linked to a bookmark
    3) The info may be used elsewhere in the document so the bookmarks will be REF-ed. There's no need to create more properties to know what bookmarks (whew)

    The idea of a data entry section just won't work: the format of the docs just doesn't support it well, especially as some of the data is in the header.

    The STYLEREF sounds like a good idea, though. I may use that instead of the ordinary REF, to reduce the fragility of the document. That does proliferate the number of styles in the doc, though.

    Thanks

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Formatted Text vs Properties and Bookmarks (97-2003)

    It's #2 I didn't understand. I never noticed that you could create document properties "linked to" bookmarked text in the document. Interesting (although I can't think of any way I would use it...).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •