Portal smart text and privileges

Situation in Portal r2
I created a page template with navigation page in Shared objects page group. Navigation page contains Portal Smart Text such as Current User and Current Date. Then I created a new page group from page template. So then I wanted other user to use the root page of the new page group as his homepage, therefore I granted this user privilege to view the root page, page tamplate and navigation page (without publishing them to public). If a user has only privilege to view the root page this message appeared instead Current User and Current Date: "Error: ORA-06503: PL/SQL: Function returned without value". Only way how to avoid this situation I found is to grant the user at least Mange with approval.
Mila

The "display name" colour needed changing.

Similar Messages

  • How to reduce the font size - "Portal Smart Text - CURRENT USER"

    Hi Gurus,
    I am showing the user name on the top left corner of our portal page. The default font size is little big(16 point size). How can I reduce the size to probably 10. I am using the "Built-In Navigation Item Types - Portal Smart Text - CURRENT USER" which shows the name of the current user. Please post a reply if you have any idea about this.
    Thanks
    Raj
    --------

    Put the item in its own region, assign a different style to the region, and set the font size for the Display Name attribute in the region's style.
    Or, you can use a PL/SQL item with this code:
    begin
    htp.p('<font size="-3">
    || portal.wwctx_api.get_user
    || '</font>');
    end;
    Regards,
    Jerry
    PortalPM

  • Portal smart text colour

    I'm using portal 10.1.2 and I have added some portal smart text to a page.
    I have changed the style for the item region to change the background colour and the colour of the text. The background changes but the colour of the text stays black.
    How do I change the color of the text?
    Thanks in advance.

    The "display name" colour needed changing.

  • Date format in current date (portal smart text)

    Where can I edit colour, format of current date (portal smart text)?

    Hi,
    This might be a caching issue .. What version of portal are you using..
    Can you also change the caching properties for the page so that its never cached..
    Thanks,
    Anu

  • How can i create a simple netweaver portal page that shows text and images?

    Hi,
    i have a simple question or maybe it's not so simple.
    I am completly new to SAP Netweaver 2004s Portal. At the moment i'm trying to understand the struture of the whole thing. I already know how to create roles, worksets and pages and i know how to combine the different elements so a user can acces them.
    And now i want to create a simple portal page that shows text and images. Is it possible to create such a simple page with the portal content studio? What iView do i have to use?
    (I just want to create a start page with a welcome text on it.)

    Marc
    Considering that you would any ways go ahead with complex development from this simple start page I recommend create a Web dynpro Iview for your start page (include the Iview in your page).
    For putting the contents use Netweaver Developer studio to build a simple start page application and put your static text on that Iview.
    Please go through the following log after your NWDS development is over - This will make you comfortable for further challenging work.
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/ca934257a5c96ae10000000a155106/frameset.htm
    Do reward points if this helps and let me know of you want anything more.

  • Search for texts and logos in smart forms

    Hi there,
    Does anyone know if there is a function module that can search for specific texts and logos in smart forms?
    Any response would be really appreciated.
    Thanks
    HW

    Hi
    I really doubt if there is any FM like that. But, you can always search the existing logos in the Appln Server, the tcode is SE78.
    Regards,
    Vishwa.

  • SRM Portal - Hover descriptions for the text and buttons

    Hi,
    In the SRM Portal (5.0), the standard hover description for text and text fields is "Area for Input Fields".
    Hover descriptions are those little boxes that appear when you mouse over fields, offering additional info about the fields.
    In the HTML templates, there is no perceivable way to edit these fields. I have tried to edit the tooltip for these fields in the screen painter for these screens (SE51 Layout), but that doesn't work.
    Has anyone been able to accomplish this? Can anyone offer any advice?
    Thanks in advance!

    Thanks.
    The function 'BBPSC_TD_FIELD' gives no parameters for changes to the hover descriptions:
    `function BBPSC_TD_FIELD_DEFINE(FieldName_p,
                                    Label_p,
                                    TD_p = "X",
                                    maxLength_p = "40",
                                    size_p = "40",
                                    ValueExt_p = "",
                                    Mandatory_p = "",
                                    Lines_p = "" );`
    Like you said, I might need to create my own function here. I can't change the standard function, since it's called from almost every template, so creating my own would be best.
    It's hard to understand what to change exactly. From where are the input parameter (FieldName_p, maxLength_p) values pulled/callled? Hmm. How do I name mine and what else ...

  • Adding pages and Text Frames to emulate the behaviour of "Smart Text Reflow"

    I am creating a large number of tables in a document.  If I have Smart Text reflow turned on, my script does not work properly.  I have the start of the processing:
    1. Add a new table
    2. If the last page text frame overflows then Add a new page
    With smartTextReflow turned off, I want to ensure that new text frames that match the primary text frames from the master page.  It has to be able to handle getting the parameters from the left/right page text frame.

    I have been able to solve my problem.  I was really overthinking things!!!
    Since I have designated the text frames on the master pages as primary text frames, when creating a new page, a text frame is created automatically. So the problem is then just link the previous text frame to the text frame that was created when adding the page.
    TableAutomation.prototype.AddPage = function() {
         var previousTextFrame = app.activeDocument.pages[-2].textFrames[0];
         var np = app.activeDocument.pages.add();
         var textFrame = np.textFrames[0];
         previousTextFrame.nextTextFrame = textFrame;
    The cost of the above code was about 5 hours of banging my head against the wall

  • Subsitution Tag instead of Smart Text (2 issues)

    In Oracle Portal:
    1. I want to use the Current Date feature (available as a Smart text) but since I am using an HTML template, would like to use a Substitution tag for it. But couldn't find #CURRENTDATE# !
    I have used Oracle PL/SQL code to overcome this issue, but since our site is translated to multiple languages, I am hoping the Current Date does a better job of Internationalizing the date translations.
    2. When I use the Substituion Tag for Edit within an HTML template and make a Page use this, the Edit tag appears on the page irrespective of whether the user has permissions to edit the page or not. Although clicking on Edit does not allow unauthorized users to edit any region of the page, it is still annoying that it should exist.
    If I were to initially use a Portal Template for the page and make it use the HTML template as a Skin, the Edit tag disappears correctly.
    Is this a bug in Oracle Portal.
    We are using 10.1.2 with all patches that upgrage it to 10.1.4.
    Any help in this regard would be greatly appreciated.

    I think I might have the answer to #2 for you. According to Oracle Metalink "Note:368720.1 - When ILS is Enabled the Edit Smartlink is visible to Users that are not entitled to see it", that is the expected behavior whether you are using the "edit" substitution tags or the "edit" smartlink on a page when the page has item-level access enabled. I can understand why that is the behavior since an end user may have access to manage/edit just one item on a page or just one tabbed region on a page but not the entire page and they'll need a way to put the page into edit mode in order to edit their item(s). If a user has nothing to edit on a page, then they won't be able to do anything in edit mode anyway.

  • Purchase order smart forms and scripts

    i need to create a smart form and script in simple purchase order there is no requirements has given to me, can any one tell me in detail how i need to do and what are the procedures i need to follow, example code will be usefull and steps to build it.

    Hi,
    Go through the links mentioned below.
    http://www.****************/Tutorials/Smartforms/SFMain.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    http://www.sapmaterial.com/smartform_example.html
    Re: Hands on SAP Smart Forms
    smartforms
    A Simple Smartform Tutorial
    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Additional Fonts for your SMARTFORMS
    You can create additional fonts and style with transaction SMARTSTYLES
    This can then be define in the paragraph and character formats, which you can then be assign to texts and fields in the Smart Form.
    The character formats includes effects such as superscript, subscript, barcode and font attributes.
    Also, you can refer to the below link for the explanation:
    http://help.sap.com/saphelp_46c/helpdata/en/4b/83fb42df8f11d3969700a0c930660b/frameset.htm
    Reward if helpful.
    Regards,
    Harini.S

  • My iPhone 5 won't display smart text options.

    My iPhone 5 won't display smart text. It did when I initially downloaded the new OS, now those options don't appear at all. Did I click something to make them disappear?
    I went into Settings to see if there was a component of it within Messages. I don't see anything.
    Thoughts please.....
    Thanks much
    Ginger

    Awwww......that's it....the dash! I tapped it. Tried to drag it up/down and it didn't move. Now I swiped and it's back!
    So I need to remember to drag up/down and now swipe.....
    Thanks much!
    Ginger

  • Smart quotes and em-dashes in epub file

    When I create an epub file from my InDesign book file, I find that sometimes (not always, thought!) my smart quotes and em-dashes revert to gibberish.
    For example, when I open the epub file, the em-dash is fine, but in chapter 2, it changes to —.
    Does anyone know how I might correct this?
    Thanks so much!

    It sounds like somethings wrong with the chapter's character encoding.  The character encoding is declared in the header of the ePub HTML. From ID it's:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    This test has UTF-8 declared in the first line of its source code:
    http://www.zenodesign.com/forum/encodetest/UTF8.html
    And this has no encoding
    http://www.zenodesign.com/forum/encodetest/None.html
    Most browsers let you override or choose the character set, so in Safari if you set the character set to View>Text Encoding>default, you'll see a difference between the above links, but if you set it to Unicode (UTF-8) they both display correctly. In FireFox it's View>Character Encoding.
    You can check and edit the contents of the .epub file by changing the extension from .epub to .zip, and then extracting the contents.

  • Convert smart quotes and other high ascii characters to HTML

    I'd like to set up Dreamweaver CS4 Mac to automatically convert smart quotes and other high ASCII characters (m-dashes, accent marks, etc.) pasted from MS Word into HTML code. Dreamweaver 8 used to do this by default, but I can't find a way to set up a similar auto-conversion in CS 4.  Is this possible?  If not, it really should be a preference option. I code a lot of HTML emails and it is very time consuming to convert every curly quote and dash.
    Thanks,
    Robert
    Digital Arts

    I too am having a related problem with Dreamweaver CS5 (running under Windows XP), having just upgraded from CS4 (which works fine for me) this week.
    In my case, I like to convert to typographic quotes etc. in my text editor, where I can use macros I've written to speed the conversion process. So my preferred method is to key in typographic letters & symbols by hand (using ALT + ASCII key codes typed in on the numeric keypad) in my text editor, and then I copy and paste my *plain* ASCII text (no formatting other than line feeds & carriage returns) into DW's DESIGN view. DW displays my high-ASCII characters just fine in DESIGN view, and writes the proper HTML code for the character into the source code (which is where I mostly work in DW).
    I've been doing it this way for years (first with GoLive, and then with DW CS4) and never encountered any problems until this week, when I upgraded to DW CS5.
    But the problem I'm having may be somewhat different than what others have complained of here.
    In my case, some high-ASCII (above 128) characters convert to HTML just fine, while others do not.
    E.g., en and em dashes in my cut-and-paste text show as such in DESIGN mode, and the right entries
        &ndash;
        &mdash;
    turn up in the source code. Same is true for the ampersand
        &amp;
    and the copyright symbol
        &copy;
    and for such foreign letters as the e with acute accent (ALT+0233)
        &eacute;
    What does NOT display or code correctly are the typographic quotes. E.g., when I paste in (or special paste; it doesn't seem to make any difference which I use for this) text with typographic double quotes (ALT+0147 for open quote mark and ALT+0148 for close quote mark), which should appear in source code as
        &ldquo;[...]&rdquo;
    DW strips out the ASCII encoding, displaying the inch marks in DESIGN mode, and putting this
        &quot;[...]&quot;
    in my source code.
    The typographic apostrophe (ALT+0146) is treated differently still. The text I copy & paste into DW should appear as
        [...]&rsquo;[...]
    in the source code, but instead I get the foot mark (both in DESIGN and CODE views):
    I've tried adjusting the various DW settings for "encoding"
        MODIFY > PAGE PROPERTIES > TITLE/ENCODING > Encoding:
    and for fonts
        EDIT > PREFERENCES > FONTS
    but switching from "Unicode (UTF-8)" to "Western European" hasn't solved the problem (probably because in my case many of the higher ASCII characters convert just fine). So I don't think it's the encoding scheme I use that's the problem.
    Whatever the problem is, it's caused me enough headaches and time lost troubleshooting that I'm planning to revert to CS4 as soon as I post this.
    Deborah

  • Pasting smart quotes and apostrophes in code view.

    Sine upgrading to Dreamweaver CS5, I haven't been able to copy/paste smart quotes and apostrophes into code view without them automatically being converted to straight quotes.
    For example, the following sentence (notice the curly quotes):
    John’s new song is called “DW Blues”
    would get pasted into Code View as:
    John's new song is called "DW Blues"
    Notice the smart quotes and apostrophe are replaced with single and double ticks, or "straight quotes."  While this seems like a minor detail, it's extremely important to our writers and editors to have them appear on the website exactly as typed.
    If I do the same copy/paste in Design View (doc type is XHTML Transitional), it appears as:
    John's new song is called &quot;DW Blues&quot;
    The characters are still replaced, and the straight quotes are then entity encoded (as expected).
    This doesn't happen with other valid UTF-8 characters like ™, ®, —, etc., or with any other code editors I've used, including DW CS3.
    Is there a hidden preference somewhere to disable this "feature," or is it just a bug?
    Please help!

    It's now 4 years since jsparacio posted this, and I just wanted to let everyone know that I had -- and am still having -- the exact same problem with Dreamweaver CS5 (running first under Windows XP, then Windows 7, and now again with Windows 8.1). So it's not just Macs that are affected.
    FWIW, I have set my DW CS5 Paste preferences to the 3rd of 4 options available
        1 - Text Only
        2 - Text With Structure
        3 - Text With Structure Plus Basic Formatting
        4 - Text With Structure Plus Full Formatting
    in the EDIT > PREFERENCES > Copy/Paste Preferences dialog box.
    But the Paste Special command ignores this setting, giving me only the first 2 options from which to choose, with option 2 the default selection for Paste Special operations (options 3 and 4 are grayed out, and can't be selected).
    According to David Sawyer McFarland's _Dreamweaver CS5: The Missing Manual_ (O'Reilly Media, 2010), the reason these are grayed out is because I am pasting unformatted ASCII text which I generated in a program editor called "UltraEdit":
        "... Choose EDIT > PASTE SPECIAL to open the Paste Special window. Here, you can choose which of the four techniques you wish to use ... sort of. You're limited to what Dreamweaver can paste. For non-Microsoft Office products, you can use only the first two options--the others are grayed out--whereas you can choose from any of the four with text copied from Word or Excel." (McFarland, p. 81)
    Regardless of such restrictions, standard copy-and-paste (CTRL+C followed by CTRL+V) works just fine for me using Dreamweaver CS4 (i.e., I have never needed to use the Paste Special command), but with DW CS5, neither Paste command (CONTROL+V or CTRL+SHIFT+V) works properly with typographic/curly/smart quotes.
    All typographic quotes -- ASCII-0146 and ASCII-0147 (double quote marks); plus ASCII-0145 and ASCII-0146 (single quote marks, for quotes within a quote) -- are converted to inch (&quot; is entered in the code) and foot (' is entered in the code) marks when I copy-and-paste text with these characters into Dreamweaver's Design View.
    When I copy this same plain ASCII text directly into the code (rather than using Design View), typographic double open & close quotes are converted to the inch (") mark, and typographic single open & close quotes are converted to the foot (') mark.
    The beginning of this week, I installed Dreamweaver CS5, ver. 11.0, Build 4909 under Windows 8.1 OS on my new Ultrabook. I was hoping that under Windows 8.1, DW CS5's handling of typographic quotes might improve so that I can actually use this program that I purchased 4 years ago. Alas, no such luck: I continue to have the same problem I had when I first upgraded to Dreamweaver CS5 back in August 2010 (then running under Windows XP on my desktop computer).
    Back in August 2020, when I first asked about fixes, I was told to change the Title/Encoding setting of Page Properties to "Western European" -- which I tried, but it didn't work then, and it doesn't work now ... and even if it did, it wouldn't be a proper fix for the problem as I have plenty of good reasons for wanting my HTML page Title/Encoding set to Unicode (UTF-8), not Western European ("charset=iso-8859-1").
    The ability to copy-and-paste typographic quotes is such a big deal for me that I chose back in August 2010 to revert to Dreamweaver CS4, which I've been using ever since.
    It is *very* frustrating that, 4 years later, I still can't use this program, and shall be reverting to DW CS4, yet again.
    I continue to be completely flummoxed by this. Every other program with which I am familiar converts non-typographic quotes to typographic/curly/smart quotes ... never have I seen the process automated in reverse!

  • CS5 hangs with smart text reflow during scripting

    Hello,
    I have a batch script that opens each input file in a folder one after another and saves them as indd and pdf.
    Now I have run across a problem.
    The script opens the input document (a special xml format for our plugin, this opens one InDesign template and places some content into a specific text frame), then run preflight to check if there are overflows etc. and then saves the content to indd and pdf.
    The input template has smart text reflow enabled, with adding new pages at the end of the document and deleting empty pages because I do not know how much content will be placed.
    I have some strange issues:
    In ID CS4, the script runs fine, but some times I got preflight errors for some documents (different ones on each run). If I open the documents afterwards, it seems the smart text reflow did not run before the script saved the indd (and so preflight found an text overflow).
    However in CS5, InDesign hangs at some time during the script - windows task manager says it is not responding. This happens at a random file (not the same each time), the first ones before came out as expected.
    Because of the preflight issues in CS4 I have made a test and created a new template with disabled smart text reflow and already added the maximum number of pages for my content. Now the script runs fine in CS5 (without hanging). But this way I have emtpy pages I do not want.
    My assumption is, that the smart text reflow does run some sort of asyncronous and gets in the way of saving/exporting to pdf the file. A "$.sleep(5000);" after opening/placing does not help either.
    Is there any way in scripting to force the smart text reflow or to wait for it until it is finished?
    Below is the relevant part of the script.
    Has anybody a solution or workaround?
    Best regards,
    Ingo
    // process documents
    for(var i = 0; i < alldocs.length; i++ ){
      try{
        // Opens document
        // this is a format that triggers our plugin which opens a specific indt-template and places the content
        var currentDocument = app.open( alldocs[i],true);
        // try to force document to be really ready - TODO: is there a better/working way? Some way to wait for smart text reflow?
        currentDocument.recompose();
        //$.sleep(5000); //Fallback - sleep for a reasonable time to let the document be opened - does not help either
        // process the document with the selected profile
        var process = app.preflightProcesses.add(currentDocument, Settings.preflightProfile);
        process.waitForProcess();
        // get the results
        var preflightResults = process.aggregatedResults;
        // each report is in the [2]-Array. First condition prevents NullPointer-Errors
        if((preflightResults.length > 0) && (preflightResults[2].length>0)){
          logLine(alldocs[i].name + ': Preflight problems');
        // save as InDesign
        var indesignFile = new File(Settings.outputDir.fullName+'/'+alldocs[i].name.replace(RegExp( '\.[^\.]{1,4}$' ), '.indd' ));
        currentDocument.save( indesignFile );
        // Export as PDF
        var pdfFile = new File(Settings.outputDir.fullName+ '/'+alldocs[i].name.replace(RegExp( '\.[^\.]{1,4}$' ), '.pdf' ));
        currentDocument.exportFile(ExportFormat.pdfType, pdfFile , false);
        currentDocument.close();
      catch(err){
        // if there was a problem, note filename to display later
        logLine( alldocs[i].name + ': Errormessage was "' + err.description + '"');

    Well.. it works. It's a ugly cludge, but at least it works. I'm posting a snippet of code, because i'we seen a lot of threads on the same subject, and maby someone else will find it usefull.
    // save old recompose and set new one
          var myOldSmartText = app.activeDocument.textPreferences.smartTextReflow;
          app.activeDocument.textPreferences.smartTextReflow = true;
          app.activeDocument.textPreferences.addPages = AddPageOptions.END_OF_STORY;
          app.activeDocument.textPreferences.deleteEmptyPages = true;
          //find docType headers and apply keep
          app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
          app.findTextPreferences.findWhat = "<docType:TaggedRTF>";
          app.changeTextPreferences.startParagraph = StartParagraph.NEXT_ODD_PAGE;
          myStory.changeText();
          //fix tables
          if (myStory.tables.length) {
    /* long code to process tables, not interesting
         //process style rules
    /* long code to preformat text, add/remove space after headings, lists, blocks etc.
          // save old preflight options, add new ones
          var oldPreflight = app.activeDocument.preflightOptions.properties;
          app.activeDocument.preflightOptions.preflightOff = false;
         // wait a maximum of 40 second for the preflight process. Before it runs, the (not so)Smart  Text Reflow should kick into action.
          app.activeDocument.activeProcess.waitForProcess(40);
          //stop preflight for a bit more performance?
          app.activeDocument.preflightOptions.preflightOff = true;
          //now check if story overflows? (maby you have a very large cell in a table? some wierd keep options? bad things happen
    Can i mark my own answer as correct?

Maybe you are looking for

  • Only two speakers working with Terratec Aureon 7.1 Universe soundcard!

    When playing a CD only the two front speaker produce sound. However, with the test program from my soundcard all speakers seem to work. I've set the advanced speaker setting in the "Sound and Audio Devices" (Control Panel) to "7.1 home theater speake

  • Jbo Custom Validation Rules

    I am having some difficulty in getting the UI component of a custom jbo validation rule to work correctly in JDeveloper. What I have so far is a working validation rule. I also have created a Java bean customizer class with a JPanel layout for the co

  • Changing font to a custom font - styleddocument

    hello i've been trying to change the font in a styleddocument to a custom one that is not registered on the pc (i'm trying to make an application that holds the fonts in a folder, so that they can be dynamically loaded when needed) until now nothing

  • Development of a add-on

    Hi. Could me explain how to create a form for a UDO using the SBO SDK and Visual C# 2008 Express? Or at least the main points in the development of a add-on Thanks

  • Error 1418 - Is there a fix or we all doomed?

    Hi, When trying to reset my iPod using the latest version of iTunes I consistently get a 1418 error. Apparently this is a common fault but I have not been able to find an effective fix. Any ideas? Paul 20GB Wheel iPod Photo   Mac OS X (10.4.8)