Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default SmartField request

    I am using Xara Designer Pro X (18.5.0.62892 DL x64 Aug 11 2021)

    I'd like to suggest adding the following to the SmartField list:
    1. CurrentPageNumber
    2. LastPageNumber
    3. CurrentDate


    For CurrentDate, possibly have options for the date format.

    Regards, John

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    40,446

    Default Re: SmartField request

    Good suggestions John. Happy New Year.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook






  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    15,068

    Default Re: SmartField request

    @John, in concept SmartFields are not designed to vary across pages so CurrentPageNumber will not fly.
    What is wrong with Insert > Page number?

    You can currently easily set up LastPageNumber as a Personal SmartField.

    CurrentDate is as problematic. It would have to be coded in.
    Here is an example of Xara's current coding for SmartField links:
    Code:
    <span class="xr_tl Normal_text xr_s0" style="top: 0px;">
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)">T</a>
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)">h</a>
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)">i</a>
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)">s</a>
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)"> </a>
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)">i</a>
    <a href="<Xara_configurared_name>:website:link" target="_self" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)">s</a>
    </span>
    The link is the text "This is" but Xara has codes every glyph to have the same link detail.
    The _self part cannot be altered to _target so you go to a fresh Tab.
    You can only format the entire phrase.

    It would be cleaner to just insert a JavaScript Placeholder for the Date/Time as all of the above disappears.

    I have moved the ask to the Dear Xara Forum.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  4. #4
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: SmartField request

    I overlooked Insert > Page Number . . . (embarrassing).

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    15,068

    Lightbulb Re: SmartField request

    Quote Originally Posted by jclements View Post
    I overlooked Insert > Page Number . . . (embarrassing).
    Never! Every Post should be taken as a learning experience, otherwise TG would be sterile.

    The debate for Xara should be on Page Numbering, as in where are the Book / Article / Section / Chapter / Annex / Appendix / Page (Left / Right / Double) / Paragraph (& Sub) / Heading / Table / Figure / List numbering concepts necessary for a proper DTP capability?
    Dare I say, lost in the Master Page delivery?

    Acorn


    In passing, I use CSS Counters.
    So for Page Numbering, create a ClassName, pageno, and apply to a Text Box with a space.
    In Website > Head or Body (code), put:
    Code:
    <style>
    body {
      counter-reset: pgno;
    }
    .pageno::after {
      counter-increment: pgno;
      content: "Variant " counter(pgno, lower-greek) "[" counter(pgno, armenian) "]";
    }
    </style>
    This (clearly) only works for Transition and Scrolling websites.

    The downside, it all turns to smoke in PDFs.

    All Greek to me.xar
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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