IDML Coordinate Spaces != DOM coordinate spaces?

Given IDML for a rectangle,
<Rectangle Self="ucf" StoryTitle="$ID/" ContentType="GraphicType" FillColor="Color/Black" GradientFillStart="0 0" GradientFillLength="0" GradientFillAngle="0" GradientStrokeStart="0 0"   GradientStrokeLength="0" GradientStrokeAngle="0" ItemLayer="ub6" Locked="false" GradientFillHiliteLength="0" GradientFillHiliteAngle="0" GradientStrokeHiliteLength="0"   GradientStrokeHiliteAngle="0" AppliedObjectStyle="ObjectStyle/$ID/[None]" ItemTransform="1 0 0 1 -369.9 -77">
  <Properties>
    <PathGeometry>
      <GeometryPathType PathOpen="false">
        <PathPointArray>
          <PathPointType Anchor="99.9 -283" LeftDirection="99.9 -283" RightDirection="99.9 -283"/>
          <PathPointType Anchor="99.9 -175" LeftDirection="99.9 -175" RightDirection="99.9 -175"/>
          <PathPointType Anchor="171.9 -175" LeftDirection="171.9 -175" RightDirection="171.9 -175"/>
          <PathPointType Anchor="171.9 -283" LeftDirection="171.9 -283" RightDirection="171.9 -283"/>
        </PathPointArray>
      </GeometryPathType>
    </PathGeometry>
   </Properties>
</Rectangle>
One would expect that:
doc.rectangles[0].paths[0].pathPoints[0].anchor would be [99.9, -283]
But it's not, and I can't figure out why.
What I'm seeing instead is an anchor array of number: [36,36]
Is the IDML measuring from a different origin point? If so, how might I go about fetching the same values IDML shows when I query my document via javascript (doc.rectangles[0], etc etc) -- Am I even looking at the correct properties? Please help. Thanks!

How good are you with math?
IDML follows the measurement system in the SDK (more or less) as explained in section 10.3.3 of the IDML spec...
Good luck...
Harbs

Similar Messages

  • Coordinate Units in User Space for Java 2D

    According to the Java 2D documentation, from several sources, User Space defines one inch as 72 coordinate units. So, if I draw a rectangle using Java 2D that is 144 units wide and 72 units tall, and I execute this program, I should see a rectangle on my screen that is 2 inches wide and 1 inch tall. Not the case. The rectangle measures about 5/8 inch tall. So the scaling from User Space to Device Space does not seem to be correct. I should not have to take my screen resolution into account. So what is going on? Thanks.

    The same advice Toolkit.getDefaultToolkit().getScreenResolution();
    Actually the value returned by the function is 96 for all windows apps and 72 for linux. From my experience. It's not related to the real screen resolution.
    In my apps I calculate sizes like this actualSize=size*Toolkit.getDefaultToolkit().getScreenResolution()/72;

  • Convert screen coordinate to map coordinate

    Hi
    I have a question if there is any method in MapViewer that convert screen
    coordinates to map coordinates.
    Fredrik

    getUserPoint(int x, int y)
    Gets the user space point corresponding to the mouse click.
    getUserPoint in Java API converts from screen to user space ( lat/lon or whatever coordinate system you are using)

  • Download stopped due to lack of space.  Later space available-download doesn't work!

    Made App store purchase of Mavericks,
    Download stopped due to lack of space.  Later space available-download doesn't work!
    Tried to download mavericks and got a message that there was insufficent space.  I made space and went back to the app store, "purchases" clicked on download button on the mavericks line and nothing happened.  I searched my hard drive but could not find any dmg file for it.  I can't download a new iphoto till I have mavericks. help!
    thanks and regards
    vats3

    Rentals are a one-time only download from the store. If you can't free up enough space on your phone for it then you can try the 'report a problem' link to contact iTunes Support and see if they grant you a redownload for your Mac : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Problem integrating BPM Process Spaces with Webcenter Spaces PS5

    Good Day!
    I have currently installed a fresh build of Webcenter 11.1.1.6 stack in a single domain which contains:
    1.)     UCM
    2.)     Spaces
    3.)     SOA with BPM
    After configuring process-portal-install.properties, I have run the ant –f install.xml command which will integrate Process Spaces into Webcenter Spaces.
    The problem currently I am facing is that after seeing the process spaces link in Webcenter Spaces, I am also being redirected to internal problem and seeing the logs, I have something like:
    [2012-06-11T16:28:43.918-07:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp.internal.view.webapp] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 81caeefafba8cb1a:-15b44550:137ddb9ada0:-8000-000000000000022e,0] [APP: webcenter#11.1.1.4.0] [[
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
    at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
    at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1387)
    at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:474)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:392)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:241)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
    Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/processApplicationsTaskflow.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
    ... 92 more
    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/processApplicationsTaskflow.xml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1331)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3200)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1190)
    at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:218)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
    ... 98 more
    I would like to ask if there is a support link or solution to this problem I am facing such that I may able to see BPM Process Spaces in Webcenter Spaces.

    Hi Jeff,
    Its looking that BPM was not correctly configured for some reason, exact root cause could not be pinpointed. You can try following two things:-
    1. Run the following ant command and restart the Admin and managed servers
    ant -f install.xml post-install -DpiArgs -importGSOnly
    2. If Oracle BPM and WebCenter have been configured in different domains, configure Trusted Domain Credentials in both the Oracle BPM and WebCenter domains.
    http://docs.oracle.com/cd/E23943_01/web.1111/e13707/domain.htm#SECMG404
    If issue is still there, you can open the SR with Oracle and also have a look on following bug that is released on 24-May-2012.
    Bug 13894890 : [SUP] ERROR NO METADATA FOUND FOR METADATA OBJECT "/WEB-INF/PROCESSAPPLICATIONST
    Regards,
    Imran

  • The Property Inspector is missing the V Space and H Space fields in DW6 - where did they go?

    I just downloaded DW6.  The Property Inspector is missing the V Space and H Space fields, therefore I am unable to add space around my images.  Suggestions?

    It is no longer available because the problem with that was that it applied spaces around the image rather than where the user actually wanted them.  You now need to use CSS and apply margins and paddings and target exactly where you want them by using something like this:
    img {
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        margin-top: 0;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 0;
    img {
         border: 0;
         padding: 0;
    The second style is generic to set margin and padding for all four sides.
    Good luck.

  • Space Allocated and Space used for Table.

    Hi,
    Is there any way, we can find Space Allocated and Space used for Table wise.
    I know USER_TABLESPACES help use to find table space wise. But I would like to know, the space utilized by each table in the specific table space.

    Check this link from Tom Kyte about it.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:2092735390859556::::P11_QUESTION_ID:231414051079

  • Making a thin space a breaking space

    I routinely surround em dashes with thin spaces. Is there a way that I can make the thin space a breaking thin space so when a line end with an em dash + thin space, the thin space can be the last char. on the line. As a nonbreaking space, the thin space causes unsightly h&j.
    Thanks
    Jon

    Peter,
    No, that is "Discretionary Line Break" -- a Zero Width Space (the correct Unicode designation). Since it's a "space", InDesign is allowed to break. Since it's "zero width", you won't see it when it's not active.
    A non-joiner is a character which also has no width, but in addition "does nothing" per specification. Its main use is to prevent a ligature: http://en.wikipedia.org/wiki/Zero-width_non-joiner
    (Trying to find an example ... hold on. ... An English word that ends with an eff ... drawing a blank and the clock is ticking, I'm going to use a Dutch example.)
    In a compound word such as "hofleverancier" ("hof-leverancier", lit. "court supplier"), you would not want an automatic "fl" ligature because you might read "hofle-verancier" instead. Inserting a ZWNJ between the "f" and "l" makes the OpenType engine of InDesign (which processes characters into ligatures) not "see" the exact sequence "f-then-l", since the ZWNJ is a valid Unicode character in its own right.

  • Insufficient disk space or heap space on server

    Has anyone face this problem before - what is the proposed solution or work-around.
    ==========================
    " The server is running low on virtual memory. This could happen due to insufficient disk space or heap space on the server."

    Hi
    The message means exactly what it says. You are getting low on memory and Discoverer is paging to disk. This will cause severe performance issues.
    On average you need to allot 85 Mb per Discoverer Plus workbook and 15 Mb per Viewer workbook that can be open concurrently. To this you can add the memory for the operating system and middle tier. After you have done the maths this number should not exceed 85% of your server's available memory. Of course, if you have other applications running on the server as well as Discoverer this will also have to be taken into account and is something I strongly discourage.
    Can you work these out and report back how much memory you have on the server?
    We may also need to increase the allotted disk space but first of all can you check the physical memory?
    Best wishes
    Michael

  • I followed the instructions in the article on password protecting an encrypted space but the space is not password protected.  What am I missing?

    I followed the instructions in the artickle about how to create a password protected encrypted space, but the space just opens and the password I set up in Disk Utility does not protect it.  What am I missing? I am running Lion.

    This article?
    http://www.macworld.com/article/1154559/password_protect_folders.html

  • Relationship from Pooled Space to Rental space

    What table is the heirchy relationship between the pooled space and the rental space store in.

    Hi,
    U can look into the table VIBDROOCC pass the rental space in rental object field (SMENR) and u can gets its pooled space in Pooled space field (PSNO)
    Hope this is what u were looking at...
    Regards,
    Deepak

  • Create a new space in webcenter space, no document option

    when I create a new space according to User Guide for WebCenter Space
    Step 1: Create a Space
    ■ Step 2: Add the Logo to the El Piju Space
    ■ Step 3: Make the Documents Page Available
    ■ Step 4: Upload the Banner Image
    ■ Step 5: Create Subspaces
    ■ Step 6: Add the El Piju Logo to the Subspace
    in step3 , I can not see the checkbox for Document, how to solve this issue, any help will be appreciated greatly!
    Assuming the Documents service is enabled for your WebCenter installation, you c
    make it available to your Space. By default, the Documents page is not shown, so le
    do that now. Once the page is available, you can upload content in the form of
    documents, folders, and wiki pages. You can also share this content with users who
    authorized to view and/or edit content in your Space.
    To make the Documents system page available to the El Piju Space:
    1. While in El Piju - Settings, click the Pages tab.
    2. Under Available Pages, select the Show Page checkbox for Documents.Figure 3–6 Documents - Show Page
    Edited by: 869616 on 2011-7-6 上午3:20
    Edited by: 869616 on 2011-7-6 上午3:41

    Maybe I do not discribe this issue correctly
    Please refer to Oracle® Fusion Middleware Tutorial for Oracle WebCenter Spaces Users 11g Release 1 (11.1.1.4.0) E10277-03
    Step 3: Make the Documents Page Available
    please take a look for Figure 3–6 Documents - Show Page
    Name Reorder Show Page
    Documents checkbox
    I can not see this option for ducuments.(There is not it in my page at all)

  • How to find out the used space and free space in the DB for attachments

    Hi,
    In CRM 5.2 web UI, we can save a transaction by saving attachments like work documents or text files.
    Could someone help me find out the used space, free space, maximum capacity on the CRM DB for these attachments.
    Thanks & Best Regards,
    Ramesh.

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • Map coordinate to screen coordinate algorithm

    I am working on a simple 2d RPG, but I ran into a problem while working in NPCs.
    Currently the player is fixed at the center of a panel and the map scrolls below him. The panel the character and map are drawn on is only 1000 by 520 pixels and the map image can be any size (currently testing with a 3000x1565 BufferedImage)
    I tried drawing the NPC's sprite on to the BufferedImage, and quickly realized that wasn't going to work for any kind of smooth animation (you would have to redraw the BufferedImage off screen each time the NPCs AI thread told him to move, which means the BufferedImage may or may not be complete when the panel was repainted by the player's animation thread) . I need to determine weather NPCs are on the screen and then translate or transform their map coordinate to screen (or panel) coordinates.
    I did a search on the forum, but couldn't find a quick answer if someone could help me out I'd appreciate it.

    kevinaworkman wrote:
    I guess I'm still trying to make sense of how you're trying to draw the NPCs that could be causing so much trouble. Is there any way you could provide some pseudocode, or better yet, an SSCCE ?Well, its kind of complex and probably set up all wrong so let me just explain as best I can whats going on.
    First of all Like I said i am trying to make a 2d rpg, but I may want to make it an online multiplayer thing later if I even finish the game. So its a java applet and so far it has two GUI components. What I call the Map an extension of Panel that is in charge of drawing the world that the player moves around on. The other GUI component isn't really important right now its just the console for the game (a text field and a text area you can type in).
    The map class contains a bunch of other stuff the most important things are, an array of Characters for keeping track of NPCs, as well as possible other players, a PlayerCharacter, and most import is the zone. The zone is a Class I created for storing the map itself, and the constructor reads form a text file to create the map. The text contains stuff like the type of tile (grass, sand w/e) to fill the map with, size of the map, and points of interest like where to draw building, zone lines to other zones, and also where all the npcs start at or spawn at.
    the Map classes paint function looks like this:
    public void paint (Graphics g)
            //draw map
            g.drawImage(zone.getMapImage(), 0, 0, getWidth(), getHeight(),
                player.mapX - getWidth()/2, player.mapY - getHeight()/2 ,
                player.mapX + getWidth()/2, player.mapY + getHeight()/2 , this);
            //draw player
            g.drawImage(player.getAvatar(), player.x, player.y, this);
            //draw UI
            g.setColor(Color.darkGray);
            g.fillRect(0, 0, 150, 50);
            g.setColor(Color.blue);
            g.drawString("Player", 5, 5);
            if (player.getTarget() != null)
                g.setColor(Color.darkGray);
                g.fillRect(155, 0, 150, 50);
                g.setColor(Color.blue);
                g.drawString(player.getTarget().name, 160, 5);
            for (int i = 0; i < npcs.length; i++)
                if (npcs.isDraw())
    g.drawImage(npcs[i].getAvatar(), npcs[i].x, npcs[i].y, this);
    }//end paint()
    The Character class controls the animation for the sprites with these method  (now don't laugh, lol, this was my first attempt at making a full game and animating sprites so =P)public void move(String com)
    int zoneW = inZone.getWidth();
    int zoneH = inZone.getHeight();
    int avatW = avat[avatIndex].getWidth();
    int avatH = avat[avatIndex].getHeight();
    if ( com.equalsIgnoreCase("up") )
    mapY= mapY - 5;
    if (direction != 6)
    time = 0;
    direction = 6;
    if (mapY < 0)
    mapY = 0;
    else if ( com.equalsIgnoreCase("right") )
    mapX = mapX + 5;
    if (direction != 9)
    time = 0;
    direction = 9;
    if (mapX + avatW > zoneW)
    mapX = zoneW - avatW;
    else if ( com.equalsIgnoreCase("down") )
    mapY = mapY + 5;
    if (direction != 0)
    time = 0;
    direction = 0;
    //System.out.println("y: " + mapY);
    //System.out.println("y + avat height: "+ (mapY +avat[avatIndex].getHeight()));
    if (mapY + avatH > zoneH)
    mapY = zoneH - avatH;
    else if ( com.equalsIgnoreCase("left") )
    mapX = mapX - 5;
    if (direction != 3)
    time = 0;
    direction = 3;
    if (mapX < 0)
    mapX =0;
    startAnimate();
    * @see java.lang.Runnable#run()
    public void run() {
    // lower ThreadPriority
    Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
    while (/*true */isAnimate)
    if (time == 0)
    avatIndex = direction;
    else if ( time == 3 )
    avatIndex = direction + 1;
    else if (time == 6)
    avatIndex = direction;
    else if (time == 9)
    avatIndex = direction + 2;
    else if (time > 12)
    time = -1;
    time++;
    try
    // Stop thread for 10 milliseconds
    Thread.sleep(animationDelay);
    catch (InterruptedException e)
    e.printStackTrace();
    // set ThreadPriority to maximum value
    Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
    } //end isAnimate loop
    tFinished = true;
    }//end run()
    public void startAnimate()
    isAnimate = true;
    if (animate == null || tFinished)
    animate = new Thread(this);
    if (!animate.isAlive())
    tFinished = false;
    animate.start();
    else
    public void stopAnimate()
    isAnimate = false;
    avatIndex = direction;
    What you don't see is that "avatIndex" is used by the following method to return the correct sprite image for the animation.public Image getAvatar()
    return avat[avatIndex];
    //return sheet;
    Its not giving me too much trouble to draw the NPCs, when I had problems with drawing NPCs to the map image I just figured it would be best to drawing on the screen and not the map.  But I couldn't figure out how to translate the two coordinate systems.
    This post may confuse readers a lot lol,  so possibly just forget you asked.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Space key gives double spaces or no spaces

    The space key on my keyboard is getting flaky: sometimes it works fine, sometimes it puts in two spaces, sometimes I have to hit it a few times to get a space. Any suggested cures other than a new keyboard?

    Well there are some instances where a crumb or fragment lodges under the spacebar. My Mom used to use her clamshell as a placemat for meals.
    You can try inverting the keyboard. If you unlatch the security tabs and give the keyboard a good shaking - without damaging the bus (cable) that runs to the logic board.
    Does your space bar still ave good recoil action when tapped??

Maybe you are looking for

  • Unable to bring up ASM on 2nd node of a 2-node Cluster

    Having a very wierd problem on a 2-node cluster. I can only bring up on ASM instance at a time. If i bring up the second, it hangs. This is what the second (hung) instance puts in the alert log: Starting ORACLE instance (normal) LICENSE_MAX_SESSION =

  • Line Item settlement of Internal Order through Investment Measure

    Dear friends Can we do the line item settlement of Internal order. The Internal order is created through IO as Investment Measure. Thank You

  • The date update from TFS online are not visible on Project pro

    Hi everyone, I updated the start date and the finish date from TFS online, i saved and refresh the page. Then On the Project pro i clicked on refresh.  The update are not visible on project pro. I don't no why because when i change the title of the t

  • File browsing dialog

    hi, i have an app that i want to extend with a functionality for the user to browse for a file. could someone please explain/direct me how to code this. many thanks, marcus

  • Help on Java question (IO stream)

    To all Java programmers: Hi there! Currently, I am using DataOuputStream and FileOutputStream to write to a file. May I know how to keep on adding the contents of the file without deleting it or overriding it. E.g. Supposing the file I am writing to