[scribus] Scribus file format info

Stefano Danzi s.danzi at hawai.it
Thu Nov 26 16:58:44 CET 2009


gXpos and XPOS are different.
Example above:

YPOS="3165.62"
gYpos="2.16301e-113"

I can't understand how convert from XPOS to gXpos.
I'm writing a script that do conversion from A4 document to A3 booklet 
and is easiest do this
working directly on sla file. Using a document generated by scribus-ng 
1.3.5svn on ubuntu script
work fine. Using a document generated by scribus 1.3.5.1 all objects are 
paced on the top of first page.

Unique differenc fom two files is gYpos ecc ecc. on scribus-ng are 
always set to 0.
I tryed to force they to 0 but they are always placed on top of first page.


<PAGEOBJECT OwnPage="5" PTYPE="2" XPOS="584.115" YPOS="3165.62" 
WIDTH="56.6826" HEIGHT="56.6826" RADRECT="0" FRTYPE="0" CLIPEDIT="0" 
PWIDTH="0.5" PCOLOR="None" PCOLOR2="Black" TXTFILL="Black" 
TXTSTROKE="Black" TXTSTRSH="100" TXTFILLSH="100" TXTSCALE="100" 
TXTSCALEV="100" TXTBASE="0" TXTSHX="5" TXTSHY="-5" TXTOUT="1" 
TXTULP="-0.1" TXTULW="-0.1" TXTSTP="-0.1" TXTSTW="-0.1" TXTKERN="0" 
COLUMNS="1" COLGAP="14.4" NAMEDLST="" SHADE="100" SHADE2="100" GRTYP="0" 
ROT="0" PLINEART="1" PLINEEND="32" PLINEJOIN="128" LINESP="14.4" 
LINESPMode="0" LOCALSCX="0.0277992" LOCALSCY="0.0277992" LOCALX="0" 
LOCALY="0" PICART="1" PLTSHOW="0" BASEOF="0" textPathType="0" 
textPathFlipped="0" FLIPPEDH="0" FLIPPEDV="0" IFONT="Times New Roman 
Regular" ISIZE="12" SCALETYPE="1" RATIO="0" PRINTABLE="1" ANNOTATION="0" 
ANNAME="" TEXTFLOWMODE="0" TEXTFLOW="0" TEXTFLOW2="0" TEXTFLOW3="0" 
AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" FLOP="0" 
PFILE="../../../../../Foto/Sicurezza/Top Light/RP121-NERO.jpg" PFILE2="" 
PFILE3="" PRFILE="Euroscale Coated v2" EPROF="" IRENDER="1" EMBEDDED="0" 
LOCK="0" LOCKR="0" REVERS="0" TransValue="0" TransValueS="0" 
TransBlend="0" TransBlendS="0" isTableItem="0" TopLine="0" LeftLine="0" 
RightLine="0" BottomLine="0" isGroupControl="0" NUMDASH="0" DASHS="" 
DASHOFF="0" NUMPO="16" POCOOR="0 0 0 0 56.6826 0 56.6826 0 56.6826 0 
56.6826 0 56.6826 56.6826 56.6826 56.6826 56.6826 56.6826 56.6826 
56.6826 0 56.6826 0 56.6826 0 56.6826 0 56.6826 0 0 0 0 " NUMCO="16" 
COCOOR="0 0 0 0 56.6826 0 56.6826 0 56.6826 0 56.6826 0 56.6826 56.6826 
56.6826 56.6826 56.6826 56.6826 56.6826 56.6826 0 56.6826 0 56.6826 0 
56.6826 0 56.6826 0 0 0 0 " NUMGROUP="0" GROUPS="" startArrowIndex="0" 
endArrowIndex="0" OnMasterPage="" ImageClip="" ImageRes="1" 
Pagenumber="0" isInline="0" fillRule="1" doOverprint="0" 
gXpos="-3.93074e-144" gYpos="2.16301e-113" gWidth="-1.8896e-257" 
gHeight="-3.93074e-144" ALIGN="0" LAYER="2" BOOKMARK="0" NEXTITEM="-1" 
BACKITEM="-1">
            <para/>
            <PageItemAttributes/>
        </PAGEOBJECT>

Gregory Pittman ha scritto:
> On 11/26/2009 09:04 AM, Stefano Danzi wrote:
>> Gregory Pittman ha scritto:
>>> These are attributes of objects, such as text, image, etc frames, 
>>> not for the Document as a whole.
>>>
>>> This may help even if it's not quite applicable to your version:
>>>
>>> http://wiki.scribus.net/index.php/File_Format_Specification_for_Scribus_1.4 
>>>
>>>
>>> Greg
>>>
>> I already seen this page... but difference are not explained :(
>>
> Well, I guess you need to explain what the "difference" is that is 
> perplexing you...
>
> If you go to the X,Y,Z tab of Properties, you see values for XPos, 
> etc.....gXPos = XPos...
>
> Greg
>
> _______________________________________________
> scribus mailing list
> scribus at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus
>




More information about the scribus mailing list