Keep the old container of the columnCount and columnGap properties

Hello

I have a textFlow where I put in place property columnCount and columnGap.
Now for some reason, I have to remove the old container with:

textFlow.flowComposer.removeAllControllers ();

and use a new container to update his height and width;

But I don't get the columnCount and columnGap even if I reassign with ContainerFormat after you add the controller to textFlow.

Please suggest.

Thank you
Rajesh

Hi Renon,

Use of that setCompositionSize is the best way to do it - it is intended for resizing.

In your original code (door to 370) you could have done that.

Before the removeAllControllers:
var format: ITextLayoutFormat = textFlow.flowComposer.getContainerControllerAt (0) .textLayoutFormat;

And then after the creation of _container
_container.textLayoutFormat.textLayoutFormat = format;

In any case what you are doing now are much better for resizing.

Richard

Tags: Adobe Open Source

Similar Questions

  • I'm trying to download the demo version of creative cloud - can I still keep the CS5 and CS3 as well as Bridge CS5 on my computer that I don't want to uninstall these

    I'm trying to download the demo version of creative cloud - can I still keep the CS5 and CS3 as well as Bridge CS5 on my computer that I don't want to uninstall these?

    You can install the creative Cloud Desktop application as well as other creative applications Cloud while leaving the old programs installed.

    You can download the Adobe Creative Cloud Desktop App from here:
    Creative cloud help | Creative cloud desktop.

    After installing the desktop creative cloud application, you will need to sign in with a login password and Adobe. Then you can install applications. This link provides more information and step by step instructions, if you need: CC help | Download, install, update or uninstall applications

    Guinot

  • How can I keep the dock and menu bar in the window

    How can I keep the dock and menu bar in the window

    First of all, go to System Preferences and select general:

    Under the dark menu and dock option, uncheck "hide and show the menu bar automatically".

    Go back and select Dock Prefs system:

    Make sure that "automatically hide / show the dock" is not checked.

  • What is the best way to resize an image, but keep the height and width of the same original size or format?

    What is the best way to resize an image, but keep the height and width of the same original size or format?

    I tried to use the function of the size of the Image, but when I changed the size of the image, the width has not changed with it.

    Thanks for the tips!

    Hi Landon.Luu,

    You want to keep the relationship between the width and height to be the same?

    Click the constraint between width and height to keep the ratio intact.

    Kind regards

    Claes

  • How to open the sounds and audio properties by using Labview

    Hi all

    How to open the sounds and audio properties of the control panel using the exe from system Labview vi.

    Y at - it all dll also open this property.

    If there is some dll which is which and how to program the dll to achieve my goal.

    Wow, you followed after a few...

    Open the command window is because to open the Control Panel, you need to execute it in the context of a shell, and it's what is done with the "cmd /c mmsys.cpl. To open the applet without using cmd you use RunDll32.exe, like this:

  • How to keep the titles and names of events when importing from iPhoto?

    I have 17,000 photos and you want to migrate from iPhoto to LR. Some of them have titles I assigned in iPhoto. Other events, which I'd love to keep the names. This information is really important for me, because it contains a lot of travel since the origins of the photos.

    I already tried import with the CAP, folders and albums are perfectly converted to collections.

    Is not that someone has an idea what to do, maybe before hand in iPhoto to keep information?

    Any hint is appreciated!

    I had assumed that iPhoto metadata has been imported as with info opening panel that corresponds to the IPTC data fields. The link below gives more information.

    https://helpx.Adobe.com/Lightroom/KB/aperture-import-plug-in-Lightroom-FAQ.html

  • clear cookies while keeping the usernames and passwords

    Firefox 21, if I clear cookies will be all my usernames and passwords are deleted? If so is there a way to prevent it? Terry

    If you disable cookies sites can't remember more and you need to connect once more.

    You will always have the passwords in the Profile Manager if you saved it.

    • Tools > Options > Security: passwords: "saved passwords" > "show passwords".

    Websites to remember you and automatically log you in are stored in a cookie.

    • Create a cookie exception allow to keep these cookies, especially for secure websites and when the cookies expire when Firefox is closed.
    • Tools > Options > privacy > Firefox will be: "Use the custom settings for history" > Cookies: Exceptions

    You can leave the cookies expire when you close Firefox. Then you continue with an exception allow cookies. If you disable the cookies manually then all specified cookies are deleted, including cookies with an exception to allow.

  • don't keep the login and password for a site - time my browser and Explorer have no problem, so it is not blocked on the appearently site?

    See above

    Do you hear the names and passwords in the password manager or do you mean that you are connected is no longer on to (remember to) Web sites after the closing and restarting Firefox?

    • Websites to remember you and automatically log you in are stored in a cookie.
    • You need a cookie exception allow (Firefox > Preferences > privacy > Cookies: Exceptions) to keep this cookie, especially for secure Web sites and if we let the cookies expire when Firefox closes
    • Make sure that you do not remove the navigation, search and download history on Firefox to clear 'Cookies' and 'Site preferences.
    • Make sure that you do not run Firefox in private - browsing using Firefox without saving the story mode (permanent)
  • How can I keep the laptop and find only the external monitor when I close the lid?

    Original title: external monitor

    I want to use an external monitor with my laptop Vaio Windows 8, but when I close the lid, both screens will disappear.  How to keep your computer on and display only the extgernal monitor when I close the lid?

    I want to use an external monitor with my laptop Vaio Windows 8, but when I close the lid, both screens will disappear.  How to keep your computer on and display only the extgernal monitor when I close the lid?

    Hello

    Perform the following steps.

    1. press the Windows key + X to display the System menu.

    2. Select Control Panel.

    3. Select the Power Options.

    4. in the left menu, select Choose closing the cover .

    5. look in the section of power and sleep buttons and lid settings .

    6. use the drop-down menus of the section when I close the lid , and then select do nothing for both options.

    I hope this helps.

    Concerning

  • BlackBerry Q10 clear previous Messages - remove only emails, keep the texts and call logs

    Please indicate how I can delete all previous emails (without highlighting each e-mail message) and not to delete all my SMS and phone logs at the same time?

    Thank you

    Go to your Hub. Click on the left icon below, everything what he could be and select the icon associated with your e-mail account which you want to remove these previous emails. At the top, just under the name of your e-mail account, will be a date. This will be the last date for which you received emails. Hold the date and in the context menu, select delete prior (it's the icon of the trash downstairs). This will remove every email since that date and the older but will not affect the logs of your SMS or phone.

    I hope that helps you.

  • How to keep the username and password in the site

    I use DW 8 and the site whenever I use DW to download something for me, I have to enter the username and password. It is very annoying. I always click on the "SAVE" button, and it never saves.

    Any suggestions?

    Thank you in advance for your help!

    Chaz

    It was a known issue on DW8.0.

    Install the 8.0.2 updater that fixes it

    http://www.Adobe.com/support/Dreamweaver/downloads_updaters.html#DW8

  • 'Volume' in 'the taskbar and StartMenu' properties is greyed

    In "Windows Vista Home Premium" how re - install the volume control in the "Notification area" when the

    "Volume" in the properties of the 'taskbar and StartMenu' is grayedout?

    Hello

    As method 1 is not available for you, try Method 3 in the link:

    "How to activate or disable the Notification area system icons in Vista"

    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

    You can also try a system restore to before that was the problem:

    «How to make a Vista system restore»

    http://bertk.MVPs.org/html/restoresysv.html

    See you soon.

  • Result of the search and common properties

    In a logic model I would change the rule of removal for a large number of entities (+ 100)

    I did a search in advanced by using a regular expression mode. Seaching for all relationships with the DELETE CASCADE rule.

    Using the properties button I can change the rule for all of them, but not a selection of the result of the search.

    Is there a way I can select a subset of the search results to edit common properties for?

    There is no simple way to improve the filter and filter entities that should not be changed.

    It is not a way to select only the relationship sought and then right-click to see a common properties dialog box?

    This way I can prevent a lot of repetitive actions...

    BTW I don't see not a way to change the parameter 'delete rule' for relationships in the logic model through research - common properties

    Hello

    I did a search in advanced by using a regular expression mode. Seaching for all relationships with the rule CASCADE.

    ....

    BTW I don't see a way to change the "delete rule' defining relationships I

    I also wonder how did you research on 'delete rule' property?

    Don't you know that you can combine the search on several properties with AND clause expressions? Then probably you can filter the best what to include in the result.

    If not for property 'rule of deletion' appearing in the search, you must edit the file Relations.xml in the directory datamodeler\datamodeler\xmlmetadata of your installation of DM-

    You must add the search of the = "true" attribute in the definition of the deleteRule property and restart Data Modeler

    Philippe

  • ASD ask an element of the catalog and custom properties

    Just curious if anyone else encountered problems with properties custom when you use ASD and demand action from point of catalog.  For example we are defining the name of business group in a custom using {custom.vCAC.BusinessGroup.Name} as the value of a custom property property.  Weventually hen requesting a plan detailed in the traditional way, it is calculated and the name of group in this area.  But when you ask the same through the ASD action plan, it is not evaluated.  I get "{custom.vCAC.BusinessGroup.Name} ' as text in the field."  Someone at - he found a solution to this?  Thank you


    Mike

    Custom properties are not sent by default with ASD... you get 5 "global variables"...

    _asd_tenantRef

    _asd_subtenantRef

    _asd_catalogRequestId

    _asd_requestedFor

    _asd_requestedBy

    _asd_subtenantRef is the id of the business group...

    You could catch the name like that...

    var vCACCAFEBusinessGroupId is System.getContext () .getParameter ('__asd_subtenantRef');.

    var vCACCAFEBusinessGroupObject = vCACCAFEEntitiesFinder.getBusinessGroup (vCACCAFEHost, vCACCAFEBusinessGroupId);

    var businessGroupName = vCACCAFEBusinessGroupObject.name;

    L System.log (businessGroupName)

    To get to the back of the custom properties, you could do that

    customProperties var = new Properties ();

    customProperties = vCACCAFEBusinessGroupObkect.getCustomProperties ();

    This property returns an array of properties...

    You can then loop through each object properties in the table and get the key/value

    Hope that helps somehow!

  • How to see the VSwitch and PortGroup properties in the managed object browser

    Hello

    We have a laboratory infrastructure VI3, with a VC and some ESX servers running.

    In the managed object browser, I'd like to see the properties of certain objects,

    especially the VSwitches and exchanges.

    How do I see VSwitch and exchanges from the CROWD. Here's my data:

    ESX IP address: 192.188.0.228

    VSwitch name: vSwitch0

    The port group name: VM_PG

    I know that we can see these properties of Client VI, but I really want to see values

    returned for each of the attributes defined in the WSDL file and the CROWD precisely

    allows me to do. This will help me to do a bit on our end of modeling.

    I tried, but I couldn't really vSwitch. Grateful if someone can give inputs.

    Thank you

    Try this:

    https://A.B.C.D/mob/?moid=ha-host&doPath=config.network
    

    and more precisely which lists out them the portgroup and vSwitches

    https://A.B.C.D/mob/?moid=ha-host&doPath=config.network
    

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    http://Twitter.com/lamw

Maybe you are looking for

  • where is the function to stop smoking?

    At the opening of the Twitter links these links open in Firefox. To allow quick access back on that I used to be able to click left in the options menu. It would take me right back to Twitter. So the next time I opened a link it will open in Firefox.

  • HP pavilion 15-n241tx n. b.

    East Pavilion 15-n241tx nb touchscreen?

  • Windows 2008R2 x 64 System Recovery on NEC Express 5800 R120e - 2 M

    Hello I need to perform a complete system on our UAT server recovery test. The current Configurations: NEC EXpress 5800 R120e - 2M Hard drives: 3 disks (C:, D: and there by car) I tried yesterday but did not succeed. Steps. I made an image of complet

  • Restoring files from backup

    I have Windows XP and the difficulty to restore the backup files. I tried using "Backup Restore Wizard. It will not access the file 'backup '. I'm trying to restore my system to an earlier date. It will only allow me to come back two days. I tried to

  • Formatted in NTFS drive is not recognized as install NTFS for VISTA ULTIMATE

    I reformatted a second hard drive to NTFS to install VISTA ULTIMATE... the "control panel" it lists as "NEW VOLUME (d :))"...) " 596 GB free of 596 GB (list of properties to NTFS) ' DISK MANAGEMENT it lists as "NEW VOLUME (D :)...) 596 GB shows to NT