Jump to content

JoyceKeller

Members
  • Posts

    48
  • Joined

About JoyceKeller

  • Birthday 03/19/1961

Converted

  • Location
    North Carolina

Converted

  • Occupation
    eSolutions Mgr, Web Development & Design

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.26

Converted

  • OS
    Windows 10

Converted

  • Acrobat Version
    Acrobat DC
  • User Title
    Community Member

JoyceKeller's Achievements

Contributor

Contributor (5/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. That is unfortunate, but makes sense as far as what could be displayed in the RTE. But what about color? Is there a way to tie in the colors attached to the template, and be able to select from those in the RTE? This would solve many issues about the clunkiness of having to select a color for an entire field, and allow the user to select sections of text within the RTE to emphasize with color, not just bold, italic, or underlined. I know we could write some JavaScript to make any bolded, italicized, or underlined text a color as well, but that doesn't work if the user doesn't want all of their bolded, italicized, or underlined text to be the same color. What are your thoughts about this?
  2. A tab stop dictionary style only exists in one PDF at a time. Here are the steps that must be taken to use a style in another PDF: Open a PDF that has the tab stop dictionary style I want to use Open the PDF where I want to apply those tab stops Load the tab style into the new PDF Close the original PDF Save the style again for the new PDF (otherwise, the style will not be saved with the new PDF, and I'm alerted on composition there are no saved tab stop styles) Is there any other way to use a saved tab stop style with more than one PDF without repeating this process each time?
  3. Hi Dan, thanks, but removing the checkmark from "treat returned strings as tagged text" did not result in copyfitting the paragraph. Instead, the tags displayed within the previewed text. I moved the post from "The JavaScript Library > Formatting Text" to "MarcomCentral > Manager Specific Discussion"
  4. I have a text frame that contains multiple fields, one of which contains a text area which will accomodate a maximum of 8 lines of text. Only the text area needs to copyfit (horizontal scale only). I tried using CopyfitLine and multiplying the width of the text frame by the max number of lines of text. Here is the CopyfitLine rule I applied. Frame width is 216 (times 8 lines=1728) return CopyfitLine("", Field("Paragraph1"), "Arial", 10, 1728, 4, true); Works like a dream in Acrobat but fails in the MarcomCentral template Any ideas as to why this failed in MCC and what I need to do to correct it? Thanks in advance. Not sure where to post this, since it is ultimately a MCC issue, but deals with text formatting, so I'll start here...
  5. Is there any way to change the gallery image background color or other means to enable the visual display of a white logo in the gallery?
  6. The only way I was able to get the watermark to work with a graphic was to replace "return Resource("Proof");" with "return FusionProResource("Proof");"
  7. Hi Dan, We upload to MarcomCentral and it makes perfect sense that I need to account for generated tagged markup. I've learned something new about calling TaggedTextFromRaw or TaggedDataField. Other than what you have taught me today, the only other reference I can find for TaggedTextFromRaw in the FusionPro RulesSystemGuide.pdf on page 81 and in the UserGuide on page 140. I'll keep reading, though. Thank you for being generous with your time and knowledge. Your solution is a perfect fit.
  8. This may or may not have something to do with a JavaScript Rule in my text field. As long as I enter text in the RTE without breaks or other formatting, the result returns expected results: As soon as I enter a line break and refresh the preview, the following is displayed: Does anyone know why this happens so I can fix it? The rule in my text field is this: [color=seagreen]//code credit: Dan Korn[/color] [color=seagreen]//first sentence color is replaced[/color] [color=blue]var[/color] [color=black]s = [color=dimgray]TaggedTextFromRaw[/color]([color=dimgray]Field[/color]([color=#8b0000]"maintxt"[/color]));[/color] [color=blue]return[/color] [color=black]s.replace([color=magenta]/([^\.\?\!]+.)/[/color],[color=olive]'<color name="purple">$&</color>'[/color]);[/color] see 12797 about making the first sentence of body text change color
  9. thanks for y'all's help. And Step... happy 30th anniversary to your company I was getting hung up on a notation to represent the matched substring, and not paying enough attention to the substring itself. Thanks Dan, also for the bit of regex guidance. I've bookmarked the links as well. Now I have another problem after uploading the template to MCC and try to use the Rich Text Editor... it works until I add a line break... but I will post that in the MCC Forum.
  10. I figured out most of my answer. But instead of changing the color of the first sentence, I change the color of the body text after the first sentence, found by looking for the first instance in the body text of a ".", "!", or "?". The only problem I am having now is the punctuation which ends the first sentence disappears. Is anybody out there good with regex? return TaggedTextFromRaw(Field("maintxt")).replace(/([.!?]|<p[^>]*>)(\s| |<br\s*\/?>)([^\.])*/,'<color name="Black-66">');
  11. Nope, that's not it. I pasted the wrong code. I was working with a thread from OLEOOO who had a similar situation at this link. Here is the code I meant to copy and paste: return TaggedTextFromRaw(Field("body")).replace(/([.!?]|<p[^>]*>)(\s| |<br\s*\/?>)*/,'<color name="CHS-4014">????</color>'); sorry about that
  12. I need to change text color within body text, specifically, need the first sentence of body text to be a different color. Using regular expression to find first sentence. return TaggedTextFromRaw(Field("body text")).replace(/(\&lt\(\S+)(\&gt\;)/g, '<color name="purple">????</color>'); I don't know what to write between the color tags (represented by question marks). The code validates, and shows (in the validation window) the first sentence separated from the rest of the paragraph by the color tag, but I don't know where to take it from here. Should end up looking something like this: The quick brown fox jumps over the lazy dog. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus.
  13. I see how to add stroke with Advanced Text Effects, but how do I create a rule to add stroke to only a single line in the FP text frame?
  14. I would do this: In FusionPro, assign the same graphic field to each graphic frame being used in the document. Then there is only one graphic field in the form to upload to, and all graphic frames assigned with that graphic field will be populated with the single uploaded image. Does this help?
  15. I need to give credit where it is due.... Jeff Stehman helped me with this. It was Jeff that said, "Basically the issue occurred because the fields were referenced in a rule and weren’t directly associated to the frame. Since the number of copyholes and the dimensions can vary depending on how many images you want to display, when you upload image it defaults to 1" x 1". Essentially the system is saying it doesn't know how big the copyhole is so it just uses 1" x 1" as a default value since it has to display something." So, thanks Jeff, as always
×
×
  • Create New...